Spaces:
Runtime error
Runtime error
sujeshpadhi
commited on
Commit
•
747d2b3
1
Parent(s):
b06d1fc
Update T5.py
Browse files
T5.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
|
2 |
#from transformers import T5TokenizerFast, T5ForConditionalGeneration
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
|
9 |
|
10 |
class T5(Module):
|
|
|
1 |
|
2 |
#from transformers import T5TokenizerFast, T5ForConditionalGeneration
|
3 |
+
from torch import Tensor
|
4 |
+
from torch.nn import Module
|
5 |
+
from typing import List, Optional, Tuple
|
6 |
+
import torch, os
|
7 |
+
import torch.nn.functional as F
|
8 |
|
9 |
|
10 |
class T5(Module):
|