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

arhamk
/
llama2-qlora-sft

PEFT
Transformers
llama2
quantization
nlp
language-model
bitsandbytes
fine-tuned
causal-lm
Model card Files Files and versions
xet
Community
1

Instructions to use arhamk/llama2-qlora-sft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use arhamk/llama2-qlora-sft with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("TinyPixel/Llama-2-7B-bf16-sharded")
    model = PeftModel.from_pretrained(base_model, "arhamk/llama2-qlora-sft")
  • Transformers

    How to use arhamk/llama2-qlora-sft with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("arhamk/llama2-qlora-sft", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
llama2-qlora-sft
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
arhamk's picture
arhamk
librarian-bot's picture
librarian-bot
Librarian Bot: Add base_model information to model (#1)
6b7c3c2 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    1.07 kB
    Librarian Bot: Add base_model information to model (#1) over 2 years ago
  • adapter_config.json
    455 Bytes
    Upload model over 2 years ago
  • adapter_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage"

    What is a pickle import?

    134 MB
    xet
    Upload model over 2 years ago