Muennighoff
commited on
Commit
·
a7fdac3
1
Parent(s):
328c780
Update README.md
Browse files
README.md
CHANGED
@@ -6,40 +6,17 @@ tags:
|
|
6 |
- sentence-similarity
|
7 |
---
|
8 |
|
9 |
-
#
|
10 |
|
11 |
** Trained from scratch only on NLI with reinitialized GPT-Neo weights **
|
12 |
|
13 |
-
|
14 |
-
|
15 |
-
<!--- Describe your model here -->
|
16 |
-
|
17 |
-
## Usage (Sentence-Transformers)
|
18 |
-
|
19 |
-
Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:
|
20 |
-
|
21 |
-
```
|
22 |
-
pip install -U sentence-transformers
|
23 |
-
```
|
24 |
-
|
25 |
-
Then you can use the model like this:
|
26 |
-
|
27 |
-
```python
|
28 |
-
from sentence_transformers import SentenceTransformer
|
29 |
-
sentences = ["This is an example sentence", "Each sentence is converted"]
|
30 |
-
|
31 |
-
model = SentenceTransformer('{MODEL_NAME}')
|
32 |
-
embeddings = model.encode(sentences)
|
33 |
-
print(embeddings)
|
34 |
-
```
|
35 |
-
|
36 |
|
|
|
37 |
|
38 |
## Evaluation Results
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name={MODEL_NAME})
|
43 |
|
44 |
|
45 |
## Training
|
@@ -88,4 +65,12 @@ SentenceTransformer(
|
|
88 |
|
89 |
## Citing & Authors
|
90 |
|
91 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
- sentence-similarity
|
7 |
---
|
8 |
|
9 |
+
# SGPT-125M-scratchmean-nli
|
10 |
|
11 |
** Trained from scratch only on NLI with reinitialized GPT-Neo weights **
|
12 |
|
13 |
+
## Usage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
+
For usage instructions, refer to our codebase: https://github.com/Muennighoff/sgpt
|
16 |
|
17 |
## Evaluation Results
|
18 |
|
19 |
+
For eval results, refer to our paper: https://arxiv.org/abs/2202.08904
|
|
|
|
|
20 |
|
21 |
|
22 |
## Training
|
|
|
65 |
|
66 |
## Citing & Authors
|
67 |
|
68 |
+
```bibtex
|
69 |
+
@article{muennighoff2022sgpt,
|
70 |
+
title={SGPT: GPT Sentence Embeddings for Semantic Search},
|
71 |
+
author={Muennighoff, Niklas},
|
72 |
+
journal={arXiv preprint arXiv:2202.08904},
|
73 |
+
year={2022}
|
74 |
+
}
|
75 |
+
```
|
76 |
+
|