Update README.md
Browse files
README.md
CHANGED
|
@@ -56,14 +56,11 @@ print(headline)
|
|
| 56 |
## Training procedure
|
| 57 |
|
| 58 |
```python
|
| 59 |
-
import json
|
| 60 |
-
import os
|
| 61 |
import random
|
| 62 |
-
|
| 63 |
import torch
|
| 64 |
from torch.utils.data import Dataset
|
| 65 |
-
|
| 66 |
-
from tqdm import tqdm
|
| 67 |
from transformers import BertTokenizer, EncoderDecoderModel, Trainer, TrainingArguments, logging
|
| 68 |
|
| 69 |
|
|
|
|
| 56 |
## Training procedure
|
| 57 |
|
| 58 |
```python
|
|
|
|
|
|
|
| 59 |
import random
|
| 60 |
+
|
| 61 |
import torch
|
| 62 |
from torch.utils.data import Dataset
|
| 63 |
+
from tqdm.notebook import tqdm
|
|
|
|
| 64 |
from transformers import BertTokenizer, EncoderDecoderModel, Trainer, TrainingArguments, logging
|
| 65 |
|
| 66 |
|