Update model_simple.py
Browse files- model_simple.py +0 -2
model_simple.py
CHANGED
@@ -8,8 +8,6 @@ from typing import Optional, Dict
|
|
8 |
import numpy as np
|
9 |
from datetime import datetime
|
10 |
from dataclasses import dataclass
|
11 |
-
from transformers.trainer_seq2seq import Seq2SeqTrainer
|
12 |
-
from transformers.training_args_seq2seq import Seq2SeqTrainingArguments
|
13 |
from torch.nn.functional import scaled_dot_product_attention
|
14 |
|
15 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
|
|
8 |
import numpy as np
|
9 |
from datetime import datetime
|
10 |
from dataclasses import dataclass
|
|
|
|
|
11 |
from torch.nn.functional import scaled_dot_product_attention
|
12 |
|
13 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|