Instructions to use codesage/codesage-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use codesage/codesage-small with Transformers:
# Load model directly from transformers import CodeSage model = CodeSage.from_pretrained("codesage/codesage-small", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from codesage/codesage-small: direct link, hf CLI and curl.
- Browser
- Download file 2.06 MB
-
https://huggingface.co/codesage/codesage-small/resolve/refs%2Fpr%2F3/tokenizer.json
- Command line
-
hf download hf://codesage/codesage-small@refs/pr/3/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/codesage/codesage-small/resolve/refs%2Fpr%2F3/tokenizer.json
2.06 MB
File too large to display, you can check the raw version instead.