Update README.md
Browse files
README.md
CHANGED
|
@@ -42,6 +42,7 @@ Questions created from https://www.openbsd.org/faq/faq1.html in Q/A format for t
|
|
| 42 |
|
| 43 |
Trained at Google Colab with the following code.
|
| 44 |
|
|
|
|
| 45 |
!pip install -q transformers[torch] tokenizers datasets evaluate rouge_score sentencepiece huggingface_hub --upgrade
|
| 46 |
|
| 47 |
from huggingface_hub import notebook_login
|
|
@@ -130,6 +131,7 @@ trainer = Seq2SeqTrainer(
|
|
| 130 |
trainer.train()
|
| 131 |
|
| 132 |
trainer.push_to_hub()
|
|
|
|
| 133 |
|
| 134 |
|
| 135 |
### Training hyperparameters
|
|
|
|
| 42 |
|
| 43 |
Trained at Google Colab with the following code.
|
| 44 |
|
| 45 |
+
```
|
| 46 |
!pip install -q transformers[torch] tokenizers datasets evaluate rouge_score sentencepiece huggingface_hub --upgrade
|
| 47 |
|
| 48 |
from huggingface_hub import notebook_login
|
|
|
|
| 131 |
trainer.train()
|
| 132 |
|
| 133 |
trainer.push_to_hub()
|
| 134 |
+
```
|
| 135 |
|
| 136 |
|
| 137 |
### Training hyperparameters
|