Update README.md
Browse files
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
|