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