Commit
·
8d40ffd
1
Parent(s):
cae5467
Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
|
| 2 |
|
| 3 |
|
| 4 |
-
model_name = 'serge-wilson/
|
| 5 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 6 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
| 7 |
|
|
|
|
| 1 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
|
| 2 |
|
| 3 |
|
| 4 |
+
model_name = 'serge-wilson/sentiment_analysis_french'
|
| 5 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 6 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
| 7 |
|