Update README.md
Browse files
README.md
CHANGED
@@ -29,4 +29,6 @@ To generate text using the model:
|
|
29 |
|
30 |
Training of the model is performed using the following loss computatation:
|
31 |
|
32 |
-
hidden_state.logits, hidden_state.loss = model(input_ids=input["input_ids"],
|
|
|
|
|
|
29 |
|
30 |
Training of the model is performed using the following loss computatation:
|
31 |
|
32 |
+
hidden_state.logits, hidden_state.loss = model(input_ids=input["input_ids"],
|
33 |
+
attention_mask=input["attention_mask"],
|
34 |
+
labels=input["labels"])
|