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

shawnw3i
/
Hy-MT2-1.8B-AWQ

Translation
Transformers
Safetensors
hunyuan_v1_dense
text-generation
AWQ
4-bit precision
awq
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use shawnw3i/Hy-MT2-1.8B-AWQ 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="shawnw3i/Hy-MT2-1.8B-AWQ")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("shawnw3i/Hy-MT2-1.8B-AWQ")
    model = AutoModelForCausalLM.from_pretrained("shawnw3i/Hy-MT2-1.8B-AWQ")
  • Notebooks
  • Google Colab
  • Kaggle
Hy-MT2-1.8B-AWQ
1.31 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
shawnw3i's picture
shawnw3i
Update README.md
cf04216 verified 2 days ago
  • .gitattributes
    1.52 kB
    initial commit 3 days ago
  • README.md
    10.7 kB
    Update README.md 2 days ago
  • chat_template.jinja
    654 Bytes
    Upload folder using huggingface_hub 3 days ago
  • config.json
    1.7 kB
    Upload folder using huggingface_hub 3 days ago
  • generation_config.json
    221 Bytes
    Upload folder using huggingface_hub 3 days ago
  • model.safetensors
    1.3 GB
    xet
    Upload folder using huggingface_hub 3 days ago
  • quantization_config.json
    276 Bytes
    Upload folder using huggingface_hub 3 days ago
  • special_tokens_map.json
    488 Bytes
    Upload folder using huggingface_hub 3 days ago
  • tokenizer.json
    9.53 MB
    Upload folder using huggingface_hub 3 days ago
  • tokenizer_config.json
    166 kB
    Upload folder using huggingface_hub 3 days ago