Spaces:
Running
on
Zero
Running
on
Zero
keshavbhandari
commited on
Commit
•
22a03e5
1
Parent(s):
0a02ae7
removed unnecessary package imports
Browse files- transformer_model.py +0 -3
transformer_model.py
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
-
# from aria.tokenizer import AbsTokenizer
|
2 |
-
# aria_tokenizer = AbsTokenizer()
|
3 |
import copy
|
4 |
import json
|
5 |
from typing import Optional, Any, Union, Callable
|
@@ -13,7 +11,6 @@ import os
|
|
13 |
import warnings
|
14 |
from tqdm import tqdm
|
15 |
from torch import Tensor
|
16 |
-
from aria.tokenizer import AbsTokenizer
|
17 |
import pickle
|
18 |
from torch.nn import Module, LayerNorm, Dropout, Linear
|
19 |
from torch.nn.modules.container import ModuleList
|
|
|
|
|
|
|
1 |
import copy
|
2 |
import json
|
3 |
from typing import Optional, Any, Union, Callable
|
|
|
11 |
import warnings
|
12 |
from tqdm import tqdm
|
13 |
from torch import Tensor
|
|
|
14 |
import pickle
|
15 |
from torch.nn import Module, LayerNorm, Dropout, Linear
|
16 |
from torch.nn.modules.container import ModuleList
|