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

andrei-saceleanu
/
ro-offense-lora-gpt2

PEFT
Model card Files Files and versions
xet
Community
1

Instructions to use andrei-saceleanu/ro-offense-lora-gpt2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use andrei-saceleanu/ro-offense-lora-gpt2 with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForSequenceClassification
    
    base_model = AutoModelForSequenceClassification.from_pretrained("readerbench/RoGPT2-large")
    model = PeftModel.from_pretrained(base_model, "andrei-saceleanu/ro-offense-lora-gpt2")
  • Notebooks
  • Google Colab
  • Kaggle
ro-offense-lora-gpt2
5.95 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
andrei-saceleanu's picture
andrei-saceleanu
Upload model
a4f996c 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
    429 Bytes
    Upload model almost 3 years ago
  • adapter_model.bin
    5.94 MB
    xet
    Upload model almost 3 years ago