Update README.md
Browse files
README.md
CHANGED
|
@@ -158,8 +158,9 @@ with torch.cuda.amp.autocast():
|
|
| 158 |
eos_token_id=tokenizer.eos_token_id,
|
| 159 |
)
|
| 160 |
|
| 161 |
-
|
| 162 |
-
|
|
|
|
| 163 |
```
|
| 164 |
|
| 165 |
## Reproducibility
|
|
|
|
| 158 |
eos_token_id=tokenizer.eos_token_id,
|
| 159 |
)
|
| 160 |
|
| 161 |
+
generated_text = tokenizer.decode(output_tokens[0], skip_special_tokens=True)
|
| 162 |
+
# Inspect message response in the outputs
|
| 163 |
+
print(generated_text.split("<human>: ")[1].split("<bot>: ")[-1])
|
| 164 |
```
|
| 165 |
|
| 166 |
## Reproducibility
|