Update README.md
Browse files
README.md
CHANGED
@@ -20,7 +20,6 @@ sentences = ["At 8pm protesters gathered on the main square and shouted 'end fos
|
|
20 |
model = SentenceTransformer('{MODEL_NAME}')
|
21 |
embeddings = model.encode(sentences)
|
22 |
|
23 |
-
|
24 |
# Sentences we want sentence embeddings for
|
25 |
sentences = ["At 8pm protesters gathered on the main square and shouted 'end fossil fuels'", "The German government demonstrated composure in its reaction to social media posts"]
|
26 |
|
@@ -30,6 +29,7 @@ model = AutoModel.from_pretrained('shaunss/protestforms_mpnet-base-v2')
|
|
30 |
|
31 |
# Tokenize sentences
|
32 |
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
|
|
|
33 |
|
34 |
<!--- Describe how your model was evaluated -->
|
35 |
|
|
|
20 |
model = SentenceTransformer('{MODEL_NAME}')
|
21 |
embeddings = model.encode(sentences)
|
22 |
|
|
|
23 |
# Sentences we want sentence embeddings for
|
24 |
sentences = ["At 8pm protesters gathered on the main square and shouted 'end fossil fuels'", "The German government demonstrated composure in its reaction to social media posts"]
|
25 |
|
|
|
29 |
|
30 |
# Tokenize sentences
|
31 |
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
|
32 |
+
```
|
33 |
|
34 |
<!--- Describe how your model was evaluated -->
|
35 |
|