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

erfangc
/
mt5-small-sandbox1

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 erfangc/mt5-small-sandbox1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use erfangc/mt5-small-sandbox1 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="erfangc/mt5-small-sandbox1")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("erfangc/mt5-small-sandbox1")
    model = AutoModelForSeq2SeqLM.from_pretrained("erfangc/mt5-small-sandbox1")
  • Notebooks
  • Google Colab
  • Kaggle
mt5-small-sandbox1
1.21 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
erfangc's picture
erfangc
update model card README.md
4d7d6e3 almost 4 years ago
  • runs
    Training complete almost 4 years ago
  • .gitattributes
    1.17 kB
    initial commit almost 4 years ago
  • .gitignore
    13 Bytes
    Training complete almost 4 years ago
  • README.md
    1.19 kB
    update model card README.md almost 4 years ago
  • config.json
    677 Bytes
    Training complete almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.2 GB
    xet
    Training complete almost 4 years ago
  • special_tokens_map.json
    65 Bytes
    Training complete almost 4 years ago
  • spiece.model
    4.31 MB
    xet
    Training complete almost 4 years ago
  • tokenizer.json
    8.33 MB
    Training complete almost 4 years ago
  • tokenizer_config.json
    419 Bytes
    Training complete almost 4 years ago
  • training_args.bin

    Detected Pickle imports (5)

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

    How to fix it?

    3.06 kB
    xet
    Training complete almost 4 years ago