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

  • Log In
  • Sign Up

wandabwa2004
/
llama-7b-safcom

PEFT
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • PEFT

    How to use wandabwa2004/llama-7b-safcom 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, "wandabwa2004/llama-7b-safcom")
  • Notebooks
  • Google Colab
  • Kaggle
llama-7b-safcom
134 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
wandabwa2004's picture
wandabwa2004
Upload model
d0d6349 over 3 years ago
  • .gitattributes
    1.52 kB
    initial commit over 3 years ago
  • README.md
    435 Bytes
    Upload model over 3 years ago
  • adapter_config.json
    453 Bytes
    Upload model over 3 years ago
  • adapter_model.bin
    134 MB
    xet
    Upload model over 3 years ago