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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Tohrumi
/
opus-mt-en-vi

Translation
Transformers
Safetensors
marian
text2text-generation
Generated from Trainer
Model card Files Files and versions
xet
Community

Instructions to use Tohrumi/opus-mt-en-vi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Tohrumi/opus-mt-en-vi 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="Tohrumi/opus-mt-en-vi")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Tohrumi/opus-mt-en-vi")
    model = AutoModelForSeq2SeqLM.from_pretrained("Tohrumi/opus-mt-en-vi", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
opus-mt-en-vi
290 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
Tohrumi's picture
Tohrumi
Fine-tuning completed (fix targets being inputs itself)
477c180 verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    1.5 kB
    Fine-tuning completed (fix targets being inputs itself) over 2 years ago
  • config.json
    1.41 kB
    Training in progress, epoch 1 over 2 years ago
  • generation_config.json
    288 Bytes
    Fine-tuning completed with 130k data rows & 3 epochs over 2 years ago
  • model.safetensors
    287 MB
    xet
    Training in progress, epoch 3 over 2 years ago
  • source.spm
    809 kB
    Training in progress, epoch 1 over 2 years ago
  • special_tokens_map.json
    74 Bytes
    Training in progress, epoch 1 over 2 years ago
  • target.spm
    756 kB
    Training in progress, epoch 1 over 2 years ago
  • tokenizer_config.json
    818 Bytes
    Training in progress, epoch 1 over 2 years ago
  • training_args.bin

    Detected Pickle imports (8)

    • "transformers.trainer_utils.IntervalStrategy",
    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.training_args_seq2seq.Seq2SeqTrainingArguments",
    • "transformers.trainer_utils.HubStrategy",
    • "accelerate.state.PartialState",
    • "torch.device",
    • "transformers.trainer_utils.SchedulerType",
    • "transformers.training_args.OptimizerNames"

    How to fix it?

    4.86 kB
    xet
    Training in progress, epoch 1 over 2 years ago
  • vocab.json
    1.3 MB
    Training in progress, epoch 1 over 2 years ago