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

mqy
/
mt5-small

Summarization
Transformers
PyTorch
TensorBoard
mt5
text2text-generation
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community
1

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

  • Libraries
  • Transformers

    How to use mqy/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="mqy/mt5-small")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("mqy/mt5-small")
    model = AutoModelForSeq2SeqLM.from_pretrained("mqy/mt5-small")
  • Notebooks
  • Google Colab
  • Kaggle
mt5-small
Ctrl+K
Ctrl+K
  • 1 contributor
History: 25 commits
mqy's picture
mqy
update model card README.md
4743b8a about 3 years ago
  • runs
    Training complete about 3 years ago
  • .gitattributes
    1.53 kB
    Training in progress, step 500 about 3 years ago
  • .gitignore
    13 Bytes
    Training in progress, step 500 about 3 years ago
  • README.md
    3.06 kB
    update model card README.md about 3 years ago
  • config.json
    773 Bytes
    Training in progress, step 500 about 3 years ago
  • generation_config.json
    142 Bytes
    Training complete about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.2 GB
    xet
    Training complete about 3 years ago
  • special_tokens_map.json
    74 Bytes
    Training in progress, step 500 about 3 years ago
  • spiece.model
    4.31 MB
    xet
    Training in progress, step 500 about 3 years ago
  • tokenizer.json
    16.3 MB
    xet
    Training in progress, step 500 about 3 years ago
  • tokenizer_config.json
    445 Bytes
    Training in progress, step 500 about 3 years ago
  • training_args.bin

    Detected Pickle imports (6)

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

    How to fix it?

    3.58 kB
    xet
    Training in progress, step 500 about 3 years ago