mmazuecos commited on
Commit
38b7c07
1 Parent(s): e24e58a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -61,8 +61,8 @@ def mean_pooling(model_output, attention_mask):
61
  sentences = ['This is an example sentence', 'Each sentence is converted']
62
 
63
  # Load model from HuggingFace Hub
64
- tokenizer = AutoTokenizer.from_pretrained('{MODEL_NAME}')
65
- model = AutoModel.from_pretrained('{MODEL_NAME}')
66
 
67
  # Tokenize sentences
68
  encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
 
61
  sentences = ['This is an example sentence', 'Each sentence is converted']
62
 
63
  # Load model from HuggingFace Hub
64
+ tokenizer = AutoTokenizer.from_pretrained('hackathon-pln-es/bertin-roberta-base-finetuning-esnli')
65
+ model = AutoModel.from_pretrained('hackathon-pln-es/bertin-roberta-base-finetuning-esnli')
66
 
67
  # Tokenize sentences
68
  encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')