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

Shruti9756
/
G24_Legal_Summarization_simple

Summarization
Transformers
PyTorch
English
bart
text2text-generation
Terms of service
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use Shruti9756/G24_Legal_Summarization_simple 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="Shruti9756/G24_Legal_Summarization_simple")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Shruti9756/G24_Legal_Summarization_simple")
    model = AutoModelForSeq2SeqLM.from_pretrained("Shruti9756/G24_Legal_Summarization_simple")
  • Notebooks
  • Google Colab
  • Kaggle
G24_Legal_Summarization_simple
1.23 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
Shruti9756's picture
Shruti9756
Upload 2 files
c62514e over 2 years ago
  • .gitattributes
    1.48 kB
    Upload 2 files over 2 years ago
  • README.md
    169 Bytes
    Upload 2 files over 2 years ago
  • config.json
    1.8 kB
    Upload 8 files over 2 years ago
  • generation_config.json
    358 Bytes
    Upload 8 files over 2 years ago
  • merges.txt
    456 kB
    Upload 8 files over 2 years ago
  • pytorch_model.bin
    1.22 GB
    xet
    Upload 8 files over 2 years ago
  • special_tokens_map.json
    957 Bytes
    Upload 8 files over 2 years ago
  • tokenizer.json
    2.11 MB
    Upload 8 files over 2 years ago
  • tokenizer_config.json
    1.33 kB
    Upload 8 files over 2 years ago
  • vocab.json
    798 kB
    Upload 8 files over 2 years ago