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

ybelkada
/
opt-350m-lora

PEFT
Safetensors
Model card Files Files and versions
xet
Community
2

Instructions to use ybelkada/opt-350m-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use ybelkada/opt-350m-lora with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("facebook/opt-350m")
    model = PeftModel.from_pretrained(base_model, "ybelkada/opt-350m-lora")
  • Notebooks
  • Google Colab
  • Kaggle
opt-350m-lora
6.31 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
ybelkada's picture
ybelkada
Upload model
8b25389 about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    27 Bytes
    Upload model about 3 years ago
  • adapter_config.json
    416 Bytes
    Upload model about 3 years ago
  • adapter_model.safetensors
    6.3 MB
    xet
    Upload model about 3 years ago