Judithvdw commited on
Commit
af34aee
1 Parent(s): b876c20

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -12
README.md CHANGED
@@ -26,7 +26,7 @@ datasets:
26
 
27
  ---
28
 
29
- # {MODEL_NAME}
30
 
31
  This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
32
 
@@ -50,7 +50,7 @@ Then you can use the model like this:
50
  from sentence_transformers import SentenceTransformer
51
  sentences = ["This is an example sentence", "Each sentence is converted"]
52
 
53
- model = SentenceTransformer('{MODEL_NAME}')
54
  embeddings = model.encode(sentences)
55
  print(embeddings)
56
  ```
@@ -76,8 +76,8 @@ def mean_pooling(model_output, attention_mask):
76
  sentences = ['This is an example sentence', 'Each sentence is converted']
77
 
78
  # Load model from HuggingFace Hub
79
- tokenizer = AutoTokenizer.from_pretrained('{MODEL_NAME}')
80
- model = AutoModel.from_pretrained('{MODEL_NAME}')
81
 
82
  # Tokenize sentences
83
  encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
@@ -94,14 +94,6 @@ print(sentence_embeddings)
94
  ```
95
 
96
 
97
-
98
- ## Evaluation Results
99
-
100
- <!--- Describe how your model was evaluated -->
101
-
102
- For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name={MODEL_NAME})
103
-
104
-
105
  ## Training
106
  The model was trained with the parameters:
107
 
 
26
 
27
  ---
28
 
29
+ # robbert-2022-dutch-sentence-transformers
30
 
31
  This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
32
 
 
50
  from sentence_transformers import SentenceTransformer
51
  sentences = ["This is an example sentence", "Each sentence is converted"]
52
 
53
+ model = SentenceTransformer('robbert-2022-dutch-sentence-transformers')
54
  embeddings = model.encode(sentences)
55
  print(embeddings)
56
  ```
 
76
  sentences = ['This is an example sentence', 'Each sentence is converted']
77
 
78
  # Load model from HuggingFace Hub
79
+ tokenizer = AutoTokenizer.from_pretrained('robbert-2022-dutch-sentence-transformers}')
80
+ model = AutoModel.from_pretrained('robbert-2022-dutch-sentence-transformers')
81
 
82
  # Tokenize sentences
83
  encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
 
94
  ```
95
 
96
 
 
 
 
 
 
 
 
 
97
  ## Training
98
  The model was trained with the parameters:
99