Serega6678
commited on
Commit
•
3e8a16a
1
Parent(s):
44c069e
Update README.md
Browse files
README.md
CHANGED
@@ -46,7 +46,12 @@ text = [
|
|
46 |
"NuMind is an AI company based in Paris and USA.",
|
47 |
"See other models from us on https://huggingface.co/numind"
|
48 |
]
|
49 |
-
encoded_input = tokenizer(
|
|
|
|
|
|
|
|
|
|
|
50 |
output = model(**encoded_input)
|
51 |
|
52 |
# for better quality
|
|
|
46 |
"NuMind is an AI company based in Paris and USA.",
|
47 |
"See other models from us on https://huggingface.co/numind"
|
48 |
]
|
49 |
+
encoded_input = tokenizer(
|
50 |
+
text,
|
51 |
+
return_tensors='pt',
|
52 |
+
padding=True,
|
53 |
+
truncation=True
|
54 |
+
)
|
55 |
output = model(**encoded_input)
|
56 |
|
57 |
# for better quality
|