ravfogs commited on
Commit
b7ffc3e
·
1 Parent(s): 238d218

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -4,7 +4,7 @@ language:
4
  - en
5
  ---
6
 
7
- A model for mapping abstract sentence descriptions to sentences that fit the descriptions. Use ```load_finetuned_model``` to load the query and sentence encoder, and ```encode_batch()``` to encode a sentence with the model.
8
 
9
  ```python
10
 
@@ -14,9 +14,9 @@ import torch
14
  def load_finetuned_model():
15
 
16
 
17
- sentence_encoder = AutoModel.from_pretrained("ravfogs/abstract-sim-wiki-sentence")
18
- query_encoder = AutoModel.from_pretrained("ravfogs/abstract-sim-wiki-query")
19
- tokenizer = AutoTokenizer.from_pretrained("ravfogs/abstract-sim-wiki-sentence")
20
 
21
  return tokenizer, query_encoder, sentence_encoder
22
 
 
4
  - en
5
  ---
6
 
7
+ A model for mapping abstract sentence descriptions to sentences that fit the descriptions. Trained on Wikipedia. Use ```load_finetuned_model``` to load the query and sentence encoder, and ```encode_batch()``` to encode a sentence with the model.
8
 
9
  ```python
10
 
 
14
  def load_finetuned_model():
15
 
16
 
17
+ sentence_encoder = AutoModel.from_pretrained("ravfogs/abstract-sim-sentence")
18
+ query_encoder = AutoModel.from_pretrained("ravfogs/abstract-sim-query")
19
+ tokenizer = AutoTokenizer.from_pretrained("ravfogs/abstract-sim-sentence")
20
 
21
  return tokenizer, query_encoder, sentence_encoder
22