Instructions to use FartLabs/Stable_B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FartLabs/Stable_B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="FartLabs/Stable_B")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("FartLabs/Stable_B") model = AutoModelForSequenceClassification.from_pretrained("FartLabs/Stable_B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download added_tokens.json from FartLabs/Stable_B: direct link, hf CLI and curl.
- Browser
- Download file 32 Bytes
-
https://huggingface.co/FartLabs/Stable_B/resolve/main/added_tokens.json
- Command line
-
hf download hf://FartLabs/Stable_B/added_tokens.json
-
curl -L -o added_tokens.json https://huggingface.co/FartLabs/Stable_B/resolve/main/added_tokens.json
32 Bytes
| { | |
| "</s>": 592, | |
| "<s>": 591 | |
| } | |