Token Classification
Transformers
Safetensors
qwen2
Generated from Trainer
bidirectional-prm
trl
text-generation-inference
Instructions to use wls04/math_bi4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wls04/math_bi4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="wls04/math_bi4")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("wls04/math_bi4") model = AutoModelForTokenClassification.from_pretrained("wls04/math_bi4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from wls04/math_bi4: direct link, hf CLI and curl.
- Browser
- Download file 452 Bytes
-
https://huggingface.co/wls04/math_bi4/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://wls04/math_bi4/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/wls04/math_bi4/resolve/main/tokenizer_config.json
452 Bytes
| { | |
| "add_prefix_space": false, | |
| "backend": "tokenizers", | |
| "bos_token": null, | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|im_end|>", | |
| "errors": "replace", | |
| "extra_special_tokens": [ | |
| "<|prm_step|>", | |
| "<|prm_future|>" | |
| ], | |
| "is_local": false, | |
| "local_files_only": false, | |
| "model_max_length": 131072, | |
| "pad_token": "<|endoftext|>", | |
| "split_special_tokens": false, | |
| "tokenizer_class": "Qwen2Tokenizer", | |
| "unk_token": null | |
| } | |