Run this model with HF Jobs
Run luna-code/sqlmodel-CodeGPT-small-py-prefix 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/luna-code/sqlmodel-CodeGPT-small-py-prefix. 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/luna-code/sqlmodel-CodeGPT-small-py-prefix 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 luna-code/sqlmodel-CodeGPT-small-py-prefix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use luna-code/sqlmodel-CodeGPT-small-py-prefix with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/CodeGPT-small-py") model = PeftModel.from_pretrained(base_model, "luna-code/sqlmodel-CodeGPT-small-py-prefix") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files123version https://git-lfs.github.com/spec/v1oid sha256:6433b45660dcd708d8d34b991664de8e8d6100c09c2922c109410d87d9b1c90fsize 368760123version https://git-lfs.github.com/spec/v1oid sha256:5f0ca58b65eccf95b85867b6730fc4168ed2ea5e756f5c81dde0c6b7781839d1size 368760
adapter_model.safetensors+1-1