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

alakxender
/
mt5-base-dv-en-xs

Translation
Transformers
Safetensors
Divehi
English
mt5
text2text-generation
Model card Files Files and versions
xet
Community

Instructions to use alakxender/mt5-base-dv-en-xs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use alakxender/mt5-base-dv-en-xs with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "translation" 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("translation", model="alakxender/mt5-base-dv-en-xs")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMultimodalLM
    
    tokenizer = AutoTokenizer.from_pretrained("alakxender/mt5-base-dv-en-xs")
    model = AutoModelForMultimodalLM.from_pretrained("alakxender/mt5-base-dv-en-xs")
  • Notebooks
  • Google Colab
  • Kaggle
mt5-base-dv-en-xs
2.34 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
alakxender's picture
alakxender
Update README.md
622c3ec verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    316 Bytes
    Update README.md almost 2 years ago
  • config.json
    827 Bytes
    Upload 10 files almost 2 years ago
  • eval_results.txt
    31 Bytes
    Upload 10 files almost 2 years ago
  • generation_config.json
    142 Bytes
    Upload 10 files almost 2 years ago
  • model.safetensors
    2.33 GB
    xet
    Upload 11 files almost 2 years ago
  • model_args.json
    2.72 kB
    Upload 10 files almost 2 years ago
  • optimizer.pt

    Detected Pickle imports (3)

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

    What is a pickle import?

    4.12 MB
    xet
    Upload 10 files almost 2 years ago
  • scheduler.pt

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    1.06 kB
    xet
    Upload 10 files almost 2 years ago
  • special_tokens_map.json
    416 Bytes
    Upload 10 files almost 2 years ago
  • spiece.model
    4.31 MB
    xet
    Upload 10 files almost 2 years ago
  • tokenizer_config.json
    881 Bytes
    Upload 10 files almost 2 years ago
  • training_args.bin

    Detected Pickle imports (1)

    • "simpletransformers.config.model_args.T5Args"

    How to fix it?

    3.77 kB
    xet
    Upload 10 files almost 2 years ago