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

tencent
/
Hunyuan-MT-7B

Translation
Transformers
Safetensors
hunyuan_v1_dense
text-generation
Model card Files Files and versions
xet
Community
24

Instructions to use tencent/Hunyuan-MT-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use tencent/Hunyuan-MT-7B 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="tencent/Hunyuan-MT-7B")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("tencent/Hunyuan-MT-7B")
    model = AutoModelForCausalLM.from_pretrained("tencent/Hunyuan-MT-7B")
  • Notebooks
  • Google Colab
  • Kaggle
Hunyuan-MT-7B
16.1 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 30 commits
hhoh's picture
hhoh
Update README.md
9305c78 verified 5 months ago
  • .gitattributes
    1.57 kB
    Upload tokenizer.json with huggingface_hub 9 months ago
  • License.txt
    15.7 kB
    Upload License.txt 9 months ago
  • README.md
    7.79 kB
    Update README.md 5 months ago
  • config.json
    1.34 kB
    Update config.json 9 months ago
  • generation_config.json
    205 Bytes
    Update generation_config.json 9 months ago
  • model-0001-of-0004.safetensors
    5.27 GB
    xet
    Upload model-0001-of-0004.safetensors with huggingface_hub 9 months ago
  • model-0002-of-0004.safetensors
    5.35 GB
    xet
    Upload model-0002-of-0004.safetensors with huggingface_hub 9 months ago
  • model-0003-of-0004.safetensors
    5.36 GB
    xet
    Upload model-0003-of-0004.safetensors with huggingface_hub 9 months ago
  • model-0004-of-0004.safetensors
    75.5 MB
    xet
    Upload model-0004-of-0004.safetensors with huggingface_hub 9 months ago
  • model.safetensors.index.json
    27.6 kB
    Upload model.safetensors.index.json with huggingface_hub 9 months ago
  • tokenizer.json
    16.4 MB
    xet
    Upload tokenizer.json with huggingface_hub 9 months ago
  • tokenizer_config.json
    892 Bytes
    Upload tokenizer_config.json with huggingface_hub 9 months ago