timotheeplanes commited on
Commit
3a87257
1 Parent(s): 7c65df8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -59,8 +59,8 @@ def cls_pooling(model_output, attention_mask):
59
  sentences = ['This is an example sentence', 'Each sentence is converted']
60
 
61
  # Load model from HuggingFace Hub
62
- tokenizer = AutoTokenizer.from_pretrained('{MODEL_NAME}')
63
- model = AutoModel.from_pretrained('{MODEL_NAME}')
64
 
65
  # Tokenize sentences
66
  encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
 
59
  sentences = ['This is an example sentence', 'Each sentence is converted']
60
 
61
  # Load model from HuggingFace Hub
62
+ tokenizer = AutoTokenizer.from_pretrained("timotheeplanes/anti-doping-bert-base")
63
+ model = AutoModel.from_pretrained("timotheeplanes/anti-doping-bert-base")
64
 
65
  # Tokenize sentences
66
  encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')