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