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

chi-vi
/
hirashiba-mt-tiny-zh-vi

Translation
Transformers
Safetensors
Chinese
Vietnamese
marian
text2text-generation
Model card Files Files and versions
xet
Community

Instructions to use chi-vi/hirashiba-mt-tiny-zh-vi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use chi-vi/hirashiba-mt-tiny-zh-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="chi-vi/hirashiba-mt-tiny-zh-vi")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("chi-vi/hirashiba-mt-tiny-zh-vi")
    model = AutoModelForSeq2SeqLM.from_pretrained("chi-vi/hirashiba-mt-tiny-zh-vi")
  • Notebooks
  • Google Colab
  • Kaggle
hirashiba-mt-tiny-zh-vi
60.9 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 39 commits
Moleys's picture
Moleys
Update README.md
6dce13d verified over 1 year ago
  • .gitattributes
    1.61 kB
    Upload tokenizer over 1 year ago
  • README.md
    383 Bytes
    Update README.md over 1 year ago
  • config.json
    1.35 kB
    Upload model over 1 year ago
  • generation_config.json
    288 Bytes
    Upload model over 1 year ago
  • model.safetensors
    59.4 MB
    xet
    Upload model.safetensors over 1 year ago
  • source.spm
    418 kB
    xet
    Upload tokenizer over 1 year ago
  • special_tokens_map.json
    416 Bytes
    Upload 3 files over 1 year ago
  • target.spm
    470 kB
    xet
    Upload tokenizer over 1 year ago
  • tokenizer_config.json
    847 Bytes
    Upload 3 files over 1 year ago
  • vocab.json
    641 kB
    Upload tokenizer over 1 year ago