vince62s commited on
Commit
da33ce6
1 Parent(s): ffdb249

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -16,7 +16,7 @@ from transformers import XLMRobertaTokenizer, XLMRobertaTokenizerFast, AutoModel
16
  tokenizer = XLMRobertaTokenizerFast.from_pretrained("vince62s/wmt22-cometkiwi-da-roberta-large", trust_remote_code=True)
17
  model = AutoModel.from_pretrained("vince62s/wmt22-cometkiwi-da-roberta-large", trust_remote_code=True)
18
 
19
- text = "Hello world! </s> </s> Bonjour le monde"
20
  encoded_text = tokenizer(text, return_tensors='pt')
21
  print(encoded_text)
22
  output = model(**encoded_text)
 
16
  tokenizer = XLMRobertaTokenizerFast.from_pretrained("vince62s/wmt22-cometkiwi-da-roberta-large", trust_remote_code=True)
17
  model = AutoModel.from_pretrained("vince62s/wmt22-cometkiwi-da-roberta-large", trust_remote_code=True)
18
 
19
+ text = "Hello world!</s></s>Bonjour le monde"
20
  encoded_text = tokenizer(text, return_tensors='pt')
21
  print(encoded_text)
22
  output = model(**encoded_text)