pouya-pezeshkpour
commited on
Commit
•
229344a
1
Parent(s):
2e1b617
Update README.md
Browse files
README.md
CHANGED
@@ -31,7 +31,7 @@ model = AutoModelForMultipleChoice.from_pretrained(model_name, config = config)
|
|
31 |
|
32 |
def run_model(input_string):
|
33 |
input_ids = tokenizer(input_string, return_tensors="pt")
|
34 |
-
output = model(input_ids['input_ids'])
|
35 |
print(output)
|
36 |
return output
|
37 |
|
|
|
31 |
|
32 |
def run_model(input_string):
|
33 |
input_ids = tokenizer(input_string, return_tensors="pt")
|
34 |
+
output = model(input_ids)#['input_ids'])
|
35 |
print(output)
|
36 |
return output
|
37 |
|