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_2.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_2.pth
- Command line
-
hf download hf://k1h0/codellama-7b-ptuning-java/checkpoint-371/rng_state_2.pth
-
curl -L -o rng_state_2.pth https://huggingface.co/k1h0/codellama-7b-ptuning-java/resolve/main/checkpoint-371/rng_state_2.pth
15 kB
- Xet hash:
- 874d3d0be21e75e868b96dc38ad15754fb508327b9407041cb045b29d3555646
- Size of remote file:
- 15 kB
- SHA256:
- 6596162c350ad095f608ad419bda73c8a08939691194e48e6a039213c5867009
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.