Instructions to use minhchuxuan/llama-2.7b-dolly-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use minhchuxuan/llama-2.7b-dolly-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/workspace/LMOps/minillm/checkpoints/Sheared-LLaMA-2.7B-Pruned/") model = PeftModel.from_pretrained(base_model, "minhchuxuan/llama-2.7b-dolly-lora") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
4937e31 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:61a0432fb286b22e01d824a486a6cbe8ba3364a59f630914686ca8661c2d9564
size 10506963
|