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
Upload tokenizer.json with huggingface_hub
Browse files- tokenizer.json +0 -0
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|