Instructions to use amztheory/Llama-2-code-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use amztheory/Llama-2-code-python with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "amztheory/Llama-2-code-python") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
7d1e286 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:84177971dd94e6fd5245e9d823b1a2dae73c905768537ca34ba6c258e5823dd2
size 5112
|