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

Prat
/
gemma-2-9b-it_ft_summarizer_v1

Summarization
Transformers
Safetensors
English
Model card Files Files and versions
xet
Community

Instructions to use Prat/gemma-2-9b-it_ft_summarizer_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Prat/gemma-2-9b-it_ft_summarizer_v1 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="Prat/gemma-2-9b-it_ft_summarizer_v1", device_map="auto")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Prat/gemma-2-9b-it_ft_summarizer_v1", dtype="auto", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
gemma-2-9b-it_ft_summarizer_v1
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Prat's picture
Prat
Update README.md
44b1cce verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    5.38 kB
    Update README.md over 1 year ago
  • adapter_config.json
    720 Bytes
    Upload model over 1 year ago
  • adapter_model.safetensors
    54.1 MB
    xet
    Upload model over 1 year ago