Table of contents 1. Introduction 2. Pretrain model 3. Using SimeCSE Vietnamese with sentences transformers Installation Example usage 4. Using SimeCSE Vietnamese with transformers Installation Example usage SimeCSE Vietnamese: Simple Contrastive Learning of Sentence Embeddings with Vietnamese Pre trained SimeCSE Vietnamese models are the state of the art of Sentence Embeddings with Vietnamese : SimeCSE Vietnamese pre training approach is based on SimCSE which optimizes the SimeCSE Vietnamese pre training procedure for more robust performance. SimeCSE Vietnamese encode input sentences using a pre trained language model such as PhoBert SimeCSE Vietnamese works with both unlabeled and labeled data. Pre trained models Model params Arch. VoVanPhuc/sup SimCSE VietNamese phobert base 135M base VoVanPhuc/unsup SimCSE VietNamese phobert base 135M base Using SimeCSE Vietnamese with sentences transformers Installation Install sentence transformers : pip install U sentence transformers Install pyvi to word segment: pip install pyvi Example usage Using SimeCSE Vietnamese with transformers Installation Install transformers : pip install U transformers Install pyvi to word segment: pip install p…
We use cookies for essential functionality and analytics. You can accept or reject analytics cookies.Cookie policy