Create pipeline.py
Browse files- pipeline.py +9 -0
pipeline.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
class PreTrainedPipeline():
|
2 |
+
def __init__(self, path=""):
|
3 |
+
"""
|
4 |
+
Initialize model
|
5 |
+
"""
|
6 |
+
pass
|
7 |
+
|
8 |
+
def __call__(self, inputs):
|
9 |
+
return inputs
|