MrLight commited on
Commit
f78db7a
1 Parent(s): ee91e78

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -41,7 +41,7 @@ title = "Llama"
41
  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."
42
 
43
  # Tokenize the query-passage pair
44
- inputs = tokenizer(f'query: {query}', f'document: {title} {passage}</s>', return_tensors='pt')
45
 
46
  # Run the model forward
47
  with torch.no_grad():
 
41
  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."
42
 
43
  # Tokenize the query-passage pair
44
+ inputs = tokenizer(f'query: {query}', f'document: {title} {passage}', return_tensors='pt')
45
 
46
  # Run the model forward
47
  with torch.no_grad():