Instructions to use k1h0/codellama-7b-ptuning-java with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use k1h0/codellama-7b-ptuning-java with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-hf") model = PeftModel.from_pretrained(base_model, "k1h0/codellama-7b-ptuning-java") - Notebooks
- Google Colab
- Kaggle
Download checkpoint-371/rng_state_1.pth from k1h0/codellama-7b-ptuning-java: direct link, hf CLI and curl.
- Browser
- Download file 15 kB
-
https://huggingface.co/k1h0/codellama-7b-ptuning-java/resolve/main/checkpoint-371/rng_state_1.pth
- Command line
-
hf download hf://k1h0/codellama-7b-ptuning-java/checkpoint-371/rng_state_1.pth
-
curl -L -o rng_state_1.pth https://huggingface.co/k1h0/codellama-7b-ptuning-java/resolve/main/checkpoint-371/rng_state_1.pth
15 kB
- Xet hash:
- aca642e12e9da2d192a6fb7fa65f73bf3719b1d6d33903fb944decdc7dd100df
- Size of remote file:
- 15 kB
- SHA256:
- 5ffe320ec96f869bb8919b462c34efb3292a69842530bead39d0d3b341234bd7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.