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