Run this model with HF Jobs
Run codesage/codesage-small on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/codesage/codesage-small. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/codesage/codesage-small on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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:
# pip install -U transformers accelerate # 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
Commit History
-
Update code snippet to use sentence-level embeddings
Verified signaturedd7c7a1
-
Upload 9 files
Verified signature542998f -
Upload 9 files
Verified signaturedfe5bd3 -
Update modeling_codesage.py
Verified signature4327400 -
Upload 9 files
Verified signature2f4449c -
Update modeling_codesage.py
Verified signature0278276 -
Update config.json
Verified signature6929fa4 -
Update modeling_codesage.py
Verified signature4c7b3c8 -
Update config.json
Verified signature189ff33 -
Update config_codesage.py
Verified signature775a3c5 -
Update config_codesage.py
Verified signaturef984418 -
Update README.md
Verified signatureadc63c0 -
Update modeling_codesage.py
Verified signature49bda0e -
Upload 7 files
Verified signature68004a1 -
Create config.json
Verified signature40e6100 -
Update README.md
Verified signature007f4a5 -
Create modeling_codesage.py
Verified signature4a23933 -
Create config_codesage.py
Verified signature9e71a7f -
Update README.md
Verified signature256829f -
initial commit
Verified signature60bb0ab