Instructions to use negi4650/cadquery-codegen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use negi4650/cadquery-codegen with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("negi4650/cadquery-codegen", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from negi4650/cadquery-codegen: direct link, hf CLI and curl.
- Browser
- Download file 363 Bytes
-
https://huggingface.co/negi4650/cadquery-codegen/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://negi4650/cadquery-codegen/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/negi4650/cadquery-codegen/resolve/main/tokenizer_config.json
363 Bytes
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<s>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "</s>", | |
| "is_local": false, | |
| "legacy": false, | |
| "model_max_length": 2048, | |
| "pad_token": "</s>", | |
| "padding_side": "right", | |
| "sp_model_kwargs": {}, | |
| "tokenizer_class": "TokenizersBackend", | |
| "unk_token": "<unk>", | |
| "use_default_system_prompt": false | |
| } | |