YuxinJiang
commited on
Commit
•
ee3c88c
1
Parent(s):
24aba6b
Update README.md
Browse files
README.md
CHANGED
@@ -35,8 +35,6 @@ We have released our supervised and unsupervised models on huggingface, which ac
|
|
35 |
|
36 |
If you have any questions, feel free to raise an issue.
|
37 |
|
38 |
-
[//]: <## Architecture>
|
39 |
-
[//]: <We add multi-layer trainable dense vectors as soft prompts to the input sequence, which means the input embeddings as well as each layer's hidden embeddings of prompts are optimized (the orange blocks). Note that all parameters of the pre-trained model are frozen (the blue blocks), thus reducing the number of tunable parameters to around **0.1\%**. The [CLS] token embedding of the last layer is selected as the sentence representation. The contrastive framework is the same as SimCSE.>
|
40 |
|
41 |
|
42 |
## Setups
|
@@ -183,7 +181,7 @@ All our experiments are conducted on Nvidia 3090 GPUs.
|
|
183 |
|
184 |
|
185 |
## Usage
|
186 |
-
We provide [tool.py](https://github.com/YJiangcm/PromCSE/blob/master/tool.py) which contains the following functions
|
187 |
|
188 |
**(1) encode sentences into embedding vectors;
|
189 |
(2) compute cosine simiarities between sentences;
|
|
|
35 |
|
36 |
If you have any questions, feel free to raise an issue.
|
37 |
|
|
|
|
|
38 |
|
39 |
|
40 |
## Setups
|
|
|
181 |
|
182 |
|
183 |
## Usage
|
184 |
+
We provide [tool.py](https://github.com/YJiangcm/PromCSE/blob/master/tool.py) which contains the following functions:
|
185 |
|
186 |
**(1) encode sentences into embedding vectors;
|
187 |
(2) compute cosine simiarities between sentences;
|