Instructions to use PurCL/codeart-26m-ti-O2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PurCL/codeart-26m-ti-O2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="PurCL/codeart-26m-ti-O2")# Load model directly from transformers import AutoModelForTokenClassification model = AutoModelForTokenClassification.from_pretrained("PurCL/codeart-26m-ti-O2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from PurCL/codeart-26m-ti-O2: direct link, hf CLI and curl.
- Browser
- Download file 110 Bytes
-
https://huggingface.co/PurCL/codeart-26m-ti-O2/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://PurCL/codeart-26m-ti-O2/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/PurCL/codeart-26m-ti-O2/resolve/main/tokenizer_config.json
110 Bytes
| { | |
| "clean_up_tokenization_spaces": true, | |
| "model_max_length": 512, | |
| "tokenizer_class": "CodeArtTokenizer" | |
| } |