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

x4n4
/
lora_samsum

Summarization
Transformers
Safetensors
PEFT
gpt2
lora
dialogue-summarization
samsum
portuguese-student-project
Model card Files Files and versions
xet
Community

Instructions to use x4n4/lora_samsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use x4n4/lora_samsum with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "summarization" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("summarization", model="x4n4/lora_samsum")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("x4n4/lora_samsum", dtype="auto")
  • PEFT

    How to use x4n4/lora_samsum with PEFT:

    Task type is invalid.
  • Notebooks
  • Google Colab
  • Kaggle
lora_samsum
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
x4n4's picture
x4n4
Update README.md
5e474a9 verified 24 days ago
  • .gitattributes
    1.52 kB
    initial commit 26 days ago
  • README.md
    1.35 kB
    Update README.md 24 days ago
  • adapter_config.json
    969 Bytes
    Upload model 26 days ago
  • adapter_model.safetensors
    18.9 MB
    xet
    Upload model 26 days ago
  • tokenizer.json
    3.56 MB
    Upload tokenizer 26 days ago
  • tokenizer_config.json
    296 Bytes
    Upload tokenizer 26 days ago