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
File size: 133 Bytes
1ed170d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:fb3079c29e8111eae0898444aa78ecdc58a1679a6af2d290201f77fd7699d8d4
size 33646413
|