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