Update README.md
Browse files
README.md
CHANGED
@@ -23,8 +23,8 @@ In this dataset, given a tweet, the goal was to infer the underlying topic of th
|
|
23 |
```python
|
24 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
|
25 |
|
26 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
27 |
-
model = AutoModelForSequenceClassification.from_pretrained("
|
28 |
|
29 |
nlp_topic_classif = transformers.pipeline('topics-classification', model = model, tokenizer = tokenizer)
|
30 |
nlp_topic_classif("tchai on est morts. on va se faire vacciner et ils vont contrôler comme les marionnettes avec des fils. d'après les '' ont dit ''...")
|
|
|
23 |
```python
|
24 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
|
25 |
|
26 |
+
tokenizer = AutoTokenizer.from_pretrained("data354/camembert-fr-covid-tweet-sentiment-classification")
|
27 |
+
model = AutoModelForSequenceClassification.from_pretrained("data354/camembert-fr-covid-tweet-sentiment-classification")
|
28 |
|
29 |
nlp_topic_classif = transformers.pipeline('topics-classification', model = model, tokenizer = tokenizer)
|
30 |
nlp_topic_classif("tchai on est morts. on va se faire vacciner et ils vont contrôler comme les marionnettes avec des fils. d'après les '' ont dit ''...")
|