Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

osbm
/
llama-7b-4bit

PEFT
Model card Files Files and versions
xet
Community

Instructions to use osbm/llama-7b-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use osbm/llama-7b-4bit with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("baffo32/decapoda-research-llama-7B-hf")
    model = PeftModel.from_pretrained(base_model, "osbm/llama-7b-4bit")
  • Notebooks
  • Google Colab
  • Kaggle
llama-7b-4bit
16.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
osbm's picture
osbm
Upload model
7a2a52f verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    484 Bytes
    Upload model about 2 years ago
  • adapter_config.json
    458 Bytes
    Upload model about 2 years ago
  • adapter_model.bin
    16.8 MB
    xet
    Upload model about 2 years ago