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

HooshvareLab
/
pn-summary-mt5-small

Summarization
Transformers
PyTorch
Persian
mt5
text2text-generation
Model card Files Files and versions
xet
Community
1

Instructions to use HooshvareLab/pn-summary-mt5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use HooshvareLab/pn-summary-mt5-small 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="HooshvareLab/pn-summary-mt5-small")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("HooshvareLab/pn-summary-mt5-small")
    model = AutoModelForSeq2SeqLM.from_pretrained("HooshvareLab/pn-summary-mt5-small")
  • Notebooks
  • Google Colab
  • Kaggle

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • .gitattributes
    690 Bytes
    initial commit about 5 years ago
  • README.md
    5.17 kB
    Initial model about 5 years ago
  • added_tokens.json
    18 Bytes
    Initial model about 5 years ago
  • all_results.json
    1.35 kB
    Initial model about 5 years ago
  • config.json
    908 Bytes
    Initial model about 5 years ago
  • eval_results.json
    462 Bytes
    Initial model about 5 years ago
  • pytorch_model.bin
    1.2 GB
    xet
    Initial model about 5 years ago
  • special_tokens_map.json
    65 Bytes
    Initial model about 5 years ago
  • spiece.model
    4.31 MB
    xet
    Initial model about 5 years ago
  • test_generations.txt
    1.84 MB
    Initial model about 5 years ago
  • test_results.json
    444 Bytes
    Initial model about 5 years ago
  • tokenizer_config.json
    329 Bytes
    Initial model about 5 years ago
  • train_results.json
    461 Bytes
    Initial model about 5 years ago
  • trainer_state.json
    8.03 kB
    Initial model about 5 years ago
  • training_args.bin

    Detected Pickle imports (4)

    • "transformers.trainer_utils.SchedulerType",
    • "torch.device",
    • "transformers.training_args_seq2seq.Seq2SeqTrainingArguments",
    • "transformers.trainer_utils.IntervalStrategy"

    How to fix it?

    2.48 kB
    xet
    Initial model about 5 years ago