Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

chainyo
/
alpaca-lora-7b

PEFT
PyTorch
Safetensors
English
llama
alpaca
lora
Model card Files Files and versions
xet
Community
10

Instructions to use chainyo/alpaca-lora-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use chainyo/alpaca-lora-7b with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("decapoda-research/llama-7b-hf")
    model = PeftModel.from_pretrained(base_model, "chainyo/alpaca-lora-7b")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Librarian Bot: Add base_model information to model

#9 opened over 2 years ago by
librarian-bot

RecursionError: maximum recursion depth exceeded while getting the str of an object

#8 opened almost 3 years ago by
weihao97

May i ask how should I convert my fine tuned alpaca lora to the format like yours?

1
#6 opened almost 3 years ago by
chouks

How to run on CPU?

5
#2 opened about 3 years ago by
MariaM07
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs