Update README.md
Browse files
README.md
CHANGED
@@ -42,7 +42,7 @@ title = "Llama"
|
|
42 |
passage = "The llama is a domesticated South American camelid, widely used as a meat and pack animal by Andean cultures since the pre-Columbian era."
|
43 |
|
44 |
# Tokenize the query-passage pair
|
45 |
-
inputs = tokenizer(f'query: {query}', f'document: {title} {passage}
|
46 |
|
47 |
# Run the model forward
|
48 |
with torch.no_grad():
|
|
|
42 |
passage = "The llama is a domesticated South American camelid, widely used as a meat and pack animal by Andean cultures since the pre-Columbian era."
|
43 |
|
44 |
# Tokenize the query-passage pair
|
45 |
+
inputs = tokenizer(f'query: {query}', f'document: {title} {passage}', return_tensors='pt')
|
46 |
|
47 |
# Run the model forward
|
48 |
with torch.no_grad():
|