PEFT
English
MrLight commited on
Commit
d8b8aad
·
1 Parent(s): 2b74e56

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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}</s>', return_tensors='pt')
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():