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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Xpitfire
/
opt-125m_PROMPT_TUNING_CAUSAL_LM

PEFT
Model card Files Files and versions
xet
Community
1

Instructions to use Xpitfire/opt-125m_PROMPT_TUNING_CAUSAL_LM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use Xpitfire/opt-125m_PROMPT_TUNING_CAUSAL_LM with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("facebook/opt-125m")
    model = PeftModel.from_pretrained(base_model, "Xpitfire/opt-125m_PROMPT_TUNING_CAUSAL_LM")
  • Notebooks
  • Google Colab
  • Kaggle
opt-125m_PROMPT_TUNING_CAUSAL_LM
27.4 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Xpitfire's picture
Xpitfire
Upload model
a530819 almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    88 Bytes
    Upload model almost 3 years ago
  • adapter_config.json
    471 Bytes
    Upload model almost 3 years ago
  • adapter_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    25.3 kB
    xet
    Upload model almost 3 years ago