Instructions to use traberph/RedBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use traberph/RedBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="traberph/RedBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("traberph/RedBERT") model = AutoModelForSequenceClassification.from_pretrained("traberph/RedBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,7 +6,7 @@ language:
|
|
| 6 |
- en
|
| 7 |
library_name: transformers
|
| 8 |
pipeline_tag: text-classification
|
| 9 |
-
|
| 10 |
- text: "Biden says US is at tipping point on gun control: We will ban assault weapons in this country"
|
| 11 |
example_title: "classification"
|
| 12 |
---
|
|
|
|
| 6 |
- en
|
| 7 |
library_name: transformers
|
| 8 |
pipeline_tag: text-classification
|
| 9 |
+
widget:
|
| 10 |
- text: "Biden says US is at tipping point on gun control: We will ban assault weapons in this country"
|
| 11 |
example_title: "classification"
|
| 12 |
---
|