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
/
HY-MT1.5-1.8B

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

Instructions to use tencent/HY-MT1.5-1.8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use tencent/HY-MT1.5-1.8B 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/HY-MT1.5-1.8B")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("tencent/HY-MT1.5-1.8B")
    model = AutoModelForCausalLM.from_pretrained("tencent/HY-MT1.5-1.8B")
  • Notebooks
  • Google Colab
  • Kaggle
HY-MT1.5-1.8B
4.09 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
hhoh's picture
hhoh
Update README.md
dbad037 verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • License.txt
    16.3 kB
    Upload License.txt 5 months ago
  • README.md
    9 kB
    Update README.md 5 months ago
  • chat_template.jinja
    654 Bytes
    Upload 7 files 5 months ago
  • config.json
    1.34 kB
    Upload 7 files 5 months ago
  • generation_config.json
    221 Bytes
    Upload 7 files 5 months ago
  • model.safetensors
    4.08 GB
    xet
    Upload 7 files 5 months ago
  • special_tokens_map.json
    488 Bytes
    Upload 7 files 5 months ago
  • tokenizer.json
    9.53 MB
    Upload 7 files 5 months ago
  • tokenizer_config.json
    166 kB
    Upload 7 files 5 months ago