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