VoVanPhuc commited on
Commit
2765523
1 Parent(s): c6557e1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -15
README.md CHANGED
@@ -3,12 +3,12 @@
3
  1. [Introduction](#introduction)
4
  2. [Pretrain model](#models)
5
  3. [Using SimeCSE_Vietnamese with `sentences-transformers`](#sentences-transformers)
6
- \t- [Installation](#install1)
7
- \t- [Example usage](#usage1)
8
  4. [Using SimeCSE_Vietnamese with `transformers`](#transformers)
9
- \t- [Installation](#install2)
 
10
 
11
- \t- [Example usage](#usage2)
12
  # <a name="introduction"></a> SimeCSE_Vietnamese: Simple Contrastive Learning of Sentence Embeddings with Vietnamese
13
 
14
  Pre-trained SimeCSE_Vietnamese models are the state-of-the-art of Sentence Embeddings with Vietnamese :
@@ -20,7 +20,7 @@ Pre-trained SimeCSE_Vietnamese models are the state-of-the-art of Sentence Embed
20
  ## Pre-trained models <a name="models"></a>
21
 
22
 
23
- Model | #params | Arch.\t
24
  ---|---|---
25
  [`VoVanPhuc/sup-SimCSE-VietNamese-phobert-base`](https://huggingface.co/VoVanPhuc/sup-SimCSE-VietNamese-phobert-base) | 135M | base
26
  [`VoVanPhuc/unsup-SimCSE-VietNamese-phobert-base`](https://huggingface.co/VoVanPhuc/unsup-SimCSE-VietNamese-phobert-base) | 135M | base
@@ -31,8 +31,8 @@ Model | #params | Arch.\t
31
 
32
  ### Installation <a name="install1"></a>
33
  - Install `sentence-transformers`:
34
- \t- `pip install -U sentence-transformers`
35
- \t
36
 
37
  ### Example usage <a name="usage1"></a>
38
 
@@ -59,8 +59,8 @@ embeddings = model.encode(sentences)
59
 
60
  ### Installation <a name="install2"></a>
61
  - Install `transformers`:
62
- \t- `pip install -U transformers`
63
- \t
64
 
65
  ### Example usage <a name="usage2"></a>
66
 
@@ -94,12 +94,12 @@ with torch.no_grad():
94
  ## Citation
95
 
96
 
97
- \t@article{gao2021simcse,
98
- \t title={{SimCSE}: Simple Contrastive Learning of Sentence Embeddings},
99
- \t author={Gao, Tianyu and Yao, Xingcheng and Chen, Danqi},
100
- \t journal={arXiv preprint arXiv:2104.08821},
101
- \t year={2021}
102
- \t}
103
 
104
  @inproceedings{phobert,
105
  title = {{PhoBERT: Pre-trained language models for Vietnamese}},
 
3
  1. [Introduction](#introduction)
4
  2. [Pretrain model](#models)
5
  3. [Using SimeCSE_Vietnamese with `sentences-transformers`](#sentences-transformers)
6
+ \\t- [Installation](#install1)
7
+ \\t- [Example usage](#usage1)
8
  4. [Using SimeCSE_Vietnamese with `transformers`](#transformers)
9
+ \\t- [Installation](#install2)
10
+ \\t- [Example usage](#usage2)
11
 
 
12
  # <a name="introduction"></a> SimeCSE_Vietnamese: Simple Contrastive Learning of Sentence Embeddings with Vietnamese
13
 
14
  Pre-trained SimeCSE_Vietnamese models are the state-of-the-art of Sentence Embeddings with Vietnamese :
 
20
  ## Pre-trained models <a name="models"></a>
21
 
22
 
23
+ Model | #params | Arch.\\t
24
  ---|---|---
25
  [`VoVanPhuc/sup-SimCSE-VietNamese-phobert-base`](https://huggingface.co/VoVanPhuc/sup-SimCSE-VietNamese-phobert-base) | 135M | base
26
  [`VoVanPhuc/unsup-SimCSE-VietNamese-phobert-base`](https://huggingface.co/VoVanPhuc/unsup-SimCSE-VietNamese-phobert-base) | 135M | base
 
31
 
32
  ### Installation <a name="install1"></a>
33
  - Install `sentence-transformers`:
34
+ \\t- `pip install -U sentence-transformers`
35
+ \\t
36
 
37
  ### Example usage <a name="usage1"></a>
38
 
 
59
 
60
  ### Installation <a name="install2"></a>
61
  - Install `transformers`:
62
+ \\t- `pip install -U transformers`
63
+ \\t
64
 
65
  ### Example usage <a name="usage2"></a>
66
 
 
94
  ## Citation
95
 
96
 
97
+ \\t@article{gao2021simcse,
98
+ \\t title={{SimCSE}: Simple Contrastive Learning of Sentence Embeddings},
99
+ \\t author={Gao, Tianyu and Yao, Xingcheng and Chen, Danqi},
100
+ \\t journal={arXiv preprint arXiv:2104.08821},
101
+ \\t year={2021}
102
+ \\t}
103
 
104
  @inproceedings{phobert,
105
  title = {{PhoBERT: Pre-trained language models for Vietnamese}},