Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

DanVP
/
MoxhiMT-60

Translation
Transformers
Safetensors
Chinese
Vietnamese
marian
text2text-generation
chinese
vietnamese
zh-vi
chinese-vietnamese
marianmt
machine-translation
Model card Files Files and versions
xet
Community

Instructions to use DanVP/MoxhiMT-60 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use DanVP/MoxhiMT-60 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="DanVP/MoxhiMT-60")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("DanVP/MoxhiMT-60")
    model = AutoModelForSeq2SeqLM.from_pretrained("DanVP/MoxhiMT-60", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
MoxhiMT-60
288 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 18 commits
DanVP's picture
DanVP
Add LICENSE (Apache-2.0) and NOTICE; README: license and attribution section
2e4eb5d verified about 1 month ago
  • ct2-int8
    Add LICENSE (Apache-2.0) and NOTICE; README: license and attribution section about 1 month ago
  • .gitattributes
    1.61 kB
    add target.spm 6 months ago
  • LICENSE
    11.4 kB
    Add LICENSE (Apache-2.0) and NOTICE; README: license and attribution section about 1 month ago
  • NOTICE
    238 Bytes
    Add LICENSE (Apache-2.0) and NOTICE; README: license and attribution section about 1 month ago
  • README.md
    2.59 kB
    Add LICENSE (Apache-2.0) and NOTICE; README: license and attribution section about 1 month ago
  • config.json
    962 Bytes
    add config.json 6 months ago
  • generation_config.json
    191 Bytes
    add generation_config.json 6 months ago
  • model.safetensors
    226 MB
    xet
    add model.safetensors 6 months ago
  • source.spm
    607 kB
    xet
    tokenizer v4.0.3: disable 2 more prefix-only weak fused pieces (11-form; gate 223-224/230, 49-row natural 49/49 both models) 3 months ago
  • special_tokens_map.json
    96 Bytes
    add special_tokens_map.json 6 months ago
  • target.spm
    606 kB
    xet
    add target.spm 6 months ago
  • tokenizer_config.json
    1 kB
    add tokenizer_config.json 6 months ago
  • vocab.json
    590 kB
    add vocab.json 6 months ago