Commit ·
4ad1834
1
Parent(s): d076f6c
Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
|
@@ -8,7 +8,7 @@ class PreTrainedPipeline():
|
|
| 8 |
"""
|
| 9 |
Initialize model
|
| 10 |
"""
|
| 11 |
-
self.model = fasttext.load_model(os.path.join(path, '
|
| 12 |
|
| 13 |
def __call__(self, inputs: str) -> List[float]:
|
| 14 |
"""
|
|
|
|
| 8 |
"""
|
| 9 |
Initialize model
|
| 10 |
"""
|
| 11 |
+
self.model = fasttext.load_model(os.path.join(path, 'skipgram.uk.300.bin'))
|
| 12 |
|
| 13 |
def __call__(self, inputs: str) -> List[float]:
|
| 14 |
"""
|