Instructions to use Sakil/llama2-chat-hub-my-finetuned-model-code-generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Sakil/llama2-chat-hub-my-finetuned-model-code-generation with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "Sakil/llama2-chat-hub-my-finetuned-model-code-generation") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.bin from Sakil/llama2-chat-hub-my-finetuned-model-code-generation: direct link, hf CLI and curl.
- Browser
- Download file 134 MB
-
https://huggingface.co/Sakil/llama2-chat-hub-my-finetuned-model-code-generation/resolve/main/adapter_model.bin
- Command line
-
hf download hf://Sakil/llama2-chat-hub-my-finetuned-model-code-generation/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/Sakil/llama2-chat-hub-my-finetuned-model-code-generation/resolve/main/adapter_model.bin
134 MB
- Xet hash:
- 261d4e5d20c0369b1cc8e724dc2e745c3aaa373b3c2dac2248d98b7645db6ac4
- Size of remote file:
- 134 MB
- SHA256:
- cfa6273b1ae4b53dd2d41361af7c8f04fc099b94f79a691eb33d09a945f941a0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.