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

narvind2003
/
llama-2-7b-sft

PEFT
Model card Files Files and versions
xet
Community
1

Instructions to use narvind2003/llama-2-7b-sft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use narvind2003/llama-2-7b-sft with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Llama-2-7b-chat-hf")
    model = PeftModel.from_pretrained(base_model, "narvind2003/llama-2-7b-sft")
  • Notebooks
  • Google Colab
  • Kaggle
llama-2-7b-sft
136 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
narvind2003's picture
narvind2003
librarian-bot's picture
librarian-bot
Librarian Bot: Add base_model information to model (#1)
0fe4a77 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    1.21 kB
    Librarian Bot: Add base_model information to model (#1) over 2 years ago
  • adapter_config.json
    453 Bytes
    Upload model almost 3 years ago
  • adapter_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    134 MB
    xet
    Upload model almost 3 years ago
  • special_tokens_map.json
    434 Bytes
    Upload tokenizer almost 3 years ago
  • tokenizer.json
    1.84 MB
    Upload tokenizer almost 3 years ago
  • tokenizer_config.json
    695 Bytes
    Upload tokenizer almost 3 years ago