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

Duplicated from  Atomic-Germ/Hy-MT2-1.8B-NPU2

OpenFlowLM
/
Hy-MT2-1.8B-NPU2

Translation
Transformers
Safetensors
hunyuan_v1_dense
text-generation
arxiv:2605.22064
oflm
openflowlm
npu2
q4nx
Model card Files Files and versions
xet
Community

Instructions to use OpenFlowLM/Hy-MT2-1.8B-NPU2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use OpenFlowLM/Hy-MT2-1.8B-NPU2 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="OpenFlowLM/Hy-MT2-1.8B-NPU2")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("OpenFlowLM/Hy-MT2-1.8B-NPU2")
    model = AutoModelForCausalLM.from_pretrained("OpenFlowLM/Hy-MT2-1.8B-NPU2", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Hy-MT2-1.8B-NPU2
1.62 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Atomic-Germ's picture
Atomic-Germ
Duplicate from Atomic-Germ/Hy-MT2-1.8B-NPU2
80c989b 17 days ago
  • .gitattributes
    1.57 kB
    Duplicate from Atomic-Germ/Hy-MT2-1.8B-NPU2 17 days ago
  • README.md
    2.23 kB
    Duplicate from Atomic-Germ/Hy-MT2-1.8B-NPU2 17 days ago
  • chat_template.jinja
    654 Bytes
    Duplicate from Atomic-Germ/Hy-MT2-1.8B-NPU2 17 days ago
  • config.json
    1.37 kB
    Duplicate from Atomic-Germ/Hy-MT2-1.8B-NPU2 17 days ago
  • model.q4nx
    1.61 GB
    xet
    Duplicate from Atomic-Germ/Hy-MT2-1.8B-NPU2 17 days ago
  • tokenizer.json
    9.53 MB
    Duplicate from Atomic-Germ/Hy-MT2-1.8B-NPU2 17 days ago
  • tokenizer_config.json
    166 kB
    Duplicate from Atomic-Germ/Hy-MT2-1.8B-NPU2 17 days ago