Instructions to use Azie88/Coachella_sentiment_analysis_roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Azie88/Coachella_sentiment_analysis_roberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Azie88/Coachella_sentiment_analysis_roberta")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Azie88/Coachella_sentiment_analysis_roberta") model = AutoModelForSequenceClassification.from_pretrained("Azie88/Coachella_sentiment_analysis_roberta") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer
Browse files- tokenizer.json +9 -2
tokenizer.json
CHANGED
|
@@ -1,8 +1,15 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"padding": {
|
| 5 |
-
"strategy":
|
|
|
|
|
|
|
| 6 |
"direction": "Right",
|
| 7 |
"pad_to_multiple_of": null,
|
| 8 |
"pad_id": 1,
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": {
|
| 4 |
+
"direction": "Right",
|
| 5 |
+
"max_length": 128,
|
| 6 |
+
"strategy": "LongestFirst",
|
| 7 |
+
"stride": 0
|
| 8 |
+
},
|
| 9 |
"padding": {
|
| 10 |
+
"strategy": {
|
| 11 |
+
"Fixed": 128
|
| 12 |
+
},
|
| 13 |
"direction": "Right",
|
| 14 |
"pad_to_multiple_of": null,
|
| 15 |
"pad_id": 1,
|