Instructions to use 1231czx/2b_bt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 1231czx/2b_bt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="1231czx/2b_bt")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("1231czx/2b_bt") model = AutoModelForSequenceClassification.from_pretrained("1231czx/2b_bt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from 1231czx/2b_bt: direct link, hf CLI and curl.
- Browser
- Download file 17.5 MB
-
https://huggingface.co/1231czx/2b_bt/resolve/main/tokenizer.json
- Command line
-
hf download hf://1231czx/2b_bt/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/1231czx/2b_bt/resolve/main/tokenizer.json
17.5 MB
- Xet hash:
- a0e6dadb8e68f844cab4c8baf46484a596d09e6216bfa6fe0351e29bb30941a7
- Size of remote file:
- 17.5 MB
- SHA256:
- c15eb04bc5ad609fb26533e8525302c5640a945e5f67f65b7c849900acda7d99
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.