wangleiofficial commited on
Commit
2959dc0
·
verified ·
1 Parent(s): 72ed94e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -45,7 +45,7 @@ inputs = tokenizer(
45
 
46
  # Perform a forward pass through the model to obtain the outputs, including hidden states
47
  with torch.inference_mode():
48
- outputs = model(inputs)
49
  ```
50
 
51
  ## Citation
 
45
 
46
  # Perform a forward pass through the model to obtain the outputs, including hidden states
47
  with torch.inference_mode():
48
+ outputs = model(input_ids=inputs["input_ids"], attention_mask=inputs["attention_mask"])
49
  ```
50
 
51
  ## Citation