Text Classification
Transformers
PyTorch
English
bert
Twitter
Climate Change
text-embeddings-inference
Instructions to use Climate-TwitterBERT/Climate-TwitterBERT-step1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Climate-TwitterBERT/Climate-TwitterBERT-step1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Climate-TwitterBERT/Climate-TwitterBERT-step1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Climate-TwitterBERT/Climate-TwitterBERT-step1") model = AutoModelForSequenceClassification.from_pretrained("Climate-TwitterBERT/Climate-TwitterBERT-step1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
9fa04dc
1
Parent(s): 3be53cf
Update README.md
Browse files
README.md
CHANGED
|
@@ -44,7 +44,7 @@ result = pipe(tweet)
|
|
| 44 |
journal={Working paper},
|
| 45 |
year={2023},
|
| 46 |
institution={University of Mannheim, the Chinese University of Hong Kong, and NHH Norwegian School of Economics},
|
| 47 |
-
url={https://ssrn.com/
|
| 48 |
}
|
| 49 |
```
|
| 50 |
|
|
|
|
| 44 |
journal={Working paper},
|
| 45 |
year={2023},
|
| 46 |
institution={University of Mannheim, the Chinese University of Hong Kong, and NHH Norwegian School of Economics},
|
| 47 |
+
url={https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4527255}
|
| 48 |
}
|
| 49 |
```
|
| 50 |
|