Instructions to use monsterapi/CodeAlpaca_LLAMA2_7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use monsterapi/CodeAlpaca_LLAMA2_7B 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, "monsterapi/CodeAlpaca_LLAMA2_7B") - Notebooks
- Google Colab
- Kaggle
Download train-loss.png from monsterapi/CodeAlpaca_LLAMA2_7B: direct link, hf CLI and curl.
- Browser
- Download file 119 kB
-
https://huggingface.co/monsterapi/CodeAlpaca_LLAMA2_7B/resolve/main/train-loss.png
- Command line
-
hf download hf://monsterapi/CodeAlpaca_LLAMA2_7B/train-loss.png
-
curl -L -o train-loss.png https://huggingface.co/monsterapi/CodeAlpaca_LLAMA2_7B/resolve/main/train-loss.png
119 kB
