Instructions to use luna-code/sqlmodel-codeparrot-small-prefix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use luna-code/sqlmodel-codeparrot-small-prefix with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codeparrot/codeparrot-small") model = PeftModel.from_pretrained(base_model, "luna-code/sqlmodel-codeparrot-small-prefix") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.safetensors from luna-code/sqlmodel-codeparrot-small-prefix: direct link, hf CLI and curl.
- Browser
- Download file 369 kB
-
https://huggingface.co/luna-code/sqlmodel-codeparrot-small-prefix/resolve/main/adapter_model.safetensors
- Command line
-
hf download hf://luna-code/sqlmodel-codeparrot-small-prefix/adapter_model.safetensors
-
curl -L -o adapter_model.safetensors https://huggingface.co/luna-code/sqlmodel-codeparrot-small-prefix/resolve/main/adapter_model.safetensors
369 kB
- Xet hash:
- d0536b3b8d3f20b3945d5cb19d4aff23329dd5a2536eee1e6e6efa322e1080e1
- Size of remote file:
- 369 kB
- SHA256:
- 1f78b8603e0bbc609220188a4adcd6f4d9f4bca650f4f5a8b84d56533d07a2d0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.