Instructions to use KeithHorgan/TweetClimateAnalysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KeithHorgan/TweetClimateAnalysis with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KeithHorgan/TweetClimateAnalysis", device_map="auto")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KeithHorgan/TweetClimateAnalysis") model = AutoModelForSequenceClassification.from_pretrained("KeithHorgan/TweetClimateAnalysis", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
5a3ad9b
1
Parent(s): 34a3b4e
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -56,7 +56,7 @@
|
|
| 56 |
|
| 57 |
},
|
| 58 |
"layer_norm_eps": 1e-05,
|
| 59 |
-
"max_length":
|
| 60 |
"max_position_embeddings": 514,
|
| 61 |
"model_type": "roberta",
|
| 62 |
"num_attention_heads": 16,
|
|
|
|
| 56 |
|
| 57 |
},
|
| 58 |
"layer_norm_eps": 1e-05,
|
| 59 |
+
"max_length": 280,
|
| 60 |
"max_position_embeddings": 514,
|
| 61 |
"model_type": "roberta",
|
| 62 |
"num_attention_heads": 16,
|