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