Update README.md
Browse files
README.md
CHANGED
|
@@ -75,7 +75,7 @@ tokenizer = AutoTokenizer.from_pretrained(repo_id, trust_remote_code=True)
|
|
| 75 |
model = AutoModelForCausalLM.from_pretrained(repo_id, trust_remote_code=True)
|
| 76 |
model.eval()
|
| 77 |
|
| 78 |
-
prompt = "Question: What is the capital of
|
| 79 |
input_ids = torch.tensor([tokenizer.encode(prompt)], dtype=torch.long)
|
| 80 |
|
| 81 |
with torch.no_grad():
|
|
|
|
| 75 |
model = AutoModelForCausalLM.from_pretrained(repo_id, trust_remote_code=True)
|
| 76 |
model.eval()
|
| 77 |
|
| 78 |
+
prompt = "Question: What is the capital of UK?\nAnswer:"
|
| 79 |
input_ids = torch.tensor([tokenizer.encode(prompt)], dtype=torch.long)
|
| 80 |
|
| 81 |
with torch.no_grad():
|