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

Mouserat
/
titlerat2

Summarization
Transformers
Safetensors
mt5
text2text-generation
title-generation
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use Mouserat/titlerat2 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="Mouserat/titlerat2")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Mouserat/titlerat2")
    model = AutoModelForSeq2SeqLM.from_pretrained("Mouserat/titlerat2", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
titlerat2
1.22 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
Mouserat's picture
Mouserat
Upload model release files, README and manifest
162e17e verified 1 day ago
  • .gitattributes
    1.57 kB
    Upload model release files, README and manifest 1 day ago
  • README.md
    6.46 kB
    Upload model release files, README and manifest 1 day ago
  • added_tokens.json
    95 Bytes
    Upload model release files, README and manifest 1 day ago
  • config.json
    757 Bytes
    Upload model release files, README and manifest 1 day ago
  • generation_config.json
    152 Bytes
    Upload model release files, README and manifest 1 day ago
  • manifest.json
    6.76 kB
    Upload model release files, README and manifest 1 day ago
  • model.safetensors
    1.2 GB
    xet
    Upload model release files, README and manifest 1 day ago
  • special_tokens_map.json
    416 Bytes
    Upload model release files, README and manifest 1 day ago
  • spiece.model
    4.31 MB
    xet
    Upload model release files, README and manifest 1 day ago
  • titlerat_v1_colab.ipynb
    3.4 kB
    Upload model release files, README and manifest 1 day ago
  • tokenizer.json
    16.4 MB
    xet
    Upload model release files, README and manifest 1 day ago
  • tokenizer_config.json
    20 kB
    Upload model release files, README and manifest 1 day ago