Instructions to use rayschwartz/new-text-classifications with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rayschwartz/new-text-classifications with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="rayschwartz/new-text-classifications")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("rayschwartz/new-text-classifications") model = AutoModelForSequenceClassification.from_pretrained("rayschwartz/new-text-classifications", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
c7933d2
1
Parent(s): 53f6e7a
Update README.md
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ language: unk
|
|
| 4 |
widget:
|
| 5 |
- text: "I love AutoNLP 🤗"
|
| 6 |
datasets:
|
| 7 |
-
-
|
| 8 |
co2_eq_emissions: 2.0318857468309206
|
| 9 |
---
|
| 10 |
|
|
|
|
| 4 |
widget:
|
| 5 |
- text: "I love AutoNLP 🤗"
|
| 6 |
datasets:
|
| 7 |
+
- rayschwartz/new-text-classifications
|
| 8 |
co2_eq_emissions: 2.0318857468309206
|
| 9 |
---
|
| 10 |
|