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: 133 Bytes
7d1e286 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:587701cfafaa6aea3fc46112d59256a6dd427aab4ee2767cbb3abb6f27127953
size 67126232
|