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
Download assets/classify02.png from traberph/RedBERT: direct link, hf CLI and curl.
- Browser
- Download file 16.6 kB
-
https://huggingface.co/traberph/RedBERT/resolve/main/assets/classify02.png
- Command line
-
hf download hf://traberph/RedBERT/assets/classify02.png
-
curl -L -o classify02.png https://huggingface.co/traberph/RedBERT/resolve/main/assets/classify02.png
16.6 kB
