pedramyazdipoor
commited on
Commit
•
3e1f3f8
1
Parent(s):
1585b5e
Update README.md
Browse files
README.md
CHANGED
@@ -82,7 +82,7 @@ def generate_indexes(start_logits, end_logits, N, min_index_list):
|
|
82 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
83 |
model.eval().to(device)
|
84 |
text = 'سلام من پدرامم 26 سالمه'
|
85 |
-
question = '
|
86 |
encoding = tokenizer(text,question,add_special_tokens = True,
|
87 |
return_token_type_ids = True,
|
88 |
return_tensors = 'pt',
|
|
|
82 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
83 |
model.eval().to(device)
|
84 |
text = 'سلام من پدرامم 26 سالمه'
|
85 |
+
question = 'چند سالمه؟'
|
86 |
encoding = tokenizer(text,question,add_special_tokens = True,
|
87 |
return_token_type_ids = True,
|
88 |
return_tensors = 'pt',
|