Instructions to use PragmaticMachineLearning/llama2-coqa-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use PragmaticMachineLearning/llama2-coqa-instruct 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, "PragmaticMachineLearning/llama2-coqa-instruct") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
cfb6d40 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6ac4d4b22dfb3ced7b3755d4ae8f2b2847247e79d833dd0f4583c7103e23859c
size 33600461
|