Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

mirfan899
/
usum

Summarization
Transformers
PyTorch
Safetensors
Urdu
mt5
text2text-generation
mT5
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use mirfan899/usum 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="mirfan899/usum")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("mirfan899/usum")
    model = AutoModelForSeq2SeqLM.from_pretrained("mirfan899/usum")
  • Notebooks
  • Google Colab
  • Kaggle
usum
4.66 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 12 commits
mirfan899's picture
mirfan899
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
d0db46b over 2 years ago
  • .gitattributes
    1.44 kB
    Adding `safetensors` variant of this model (#1) over 2 years ago
  • README.md
    2.77 kB
    Update README.md over 2 years ago
  • config.json
    701 Bytes
    Upload config.json over 3 years ago
  • model.safetensors
    2.33 GB
    xet
    Adding `safetensors` variant of this model (#1) over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage"

    What is a pickle import?

    2.33 GB
    xet
    Upload pytorch_model.bin over 3 years ago
  • special_tokens_map.json
    65 Bytes
    Upload special_tokens_map.json over 3 years ago
  • spiece.model
    4.31 MB
    xet
    Upload spiece.model over 3 years ago
  • tokenizer_config.json
    375 Bytes
    Upload tokenizer_config.json over 3 years ago