Instructions to use adalib/sqlmodel-data-CodeGPT-small-py-prefix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use adalib/sqlmodel-data-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, "adalib/sqlmodel-data-CodeGPT-small-py-prefix") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.safetensors from adalib/sqlmodel-data-CodeGPT-small-py-prefix: direct link, hf CLI and curl.
- Browser
- Download file 369 kB
-
https://huggingface.co/adalib/sqlmodel-data-CodeGPT-small-py-prefix/resolve/main/adapter_model.safetensors
- Command line
-
hf download hf://adalib/sqlmodel-data-CodeGPT-small-py-prefix/adapter_model.safetensors
-
curl -L -o adapter_model.safetensors https://huggingface.co/adalib/sqlmodel-data-CodeGPT-small-py-prefix/resolve/main/adapter_model.safetensors
369 kB
- Xet hash:
- 2c33442d3a9002400d12b39315213d989cd20b9d62f13505704f7a21c5957ca4
- Size of remote file:
- 369 kB
- SHA256:
- 814fe45ebecb77a8b85b4af2f8785b93e0cf5c12aea2a915b2660bd27aaec992
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.