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