Update pipeline.py
Browse files- pipeline.py +1 -0
pipeline.py
CHANGED
@@ -5,6 +5,7 @@ from nltk import sent_tokenize
|
|
5 |
import nltk
|
6 |
|
7 |
class PreTrainedPipeline():
|
|
|
8 |
def __init__(self, path=""):
|
9 |
# IMPLEMENT_THIS
|
10 |
# Preload all the elements you are going to need at inference.
|
|
|
5 |
import nltk
|
6 |
|
7 |
class PreTrainedPipeline():
|
8 |
+
model_type="t5"
|
9 |
def __init__(self, path=""):
|
10 |
# IMPLEMENT_THIS
|
11 |
# Preload all the elements you are going to need at inference.
|