Instructions to use Inishds/loraretriever-7b-code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Inishds/loraretriever-7b-code with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "Inishds/loraretriever-7b-code") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from Inishds/loraretriever-7b-code: direct link, hf CLI and curl.
- Browser
- Download file 3.62 MB
-
https://huggingface.co/Inishds/loraretriever-7b-code/resolve/main/tokenizer.json
- Command line
-
hf download hf://Inishds/loraretriever-7b-code/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Inishds/loraretriever-7b-code/resolve/main/tokenizer.json
3.62 MB
File too large to display, you can check the raw version instead.