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
/
Hunyuan-MT-Chimera-7B-AWQ

Translation
Transformers
Safetensors
hunyuan_v1_dense
text-generation
compressed-tensors
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use shawnw3i/Hunyuan-MT-Chimera-7B-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/Hunyuan-MT-Chimera-7B-AWQ")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("shawnw3i/Hunyuan-MT-Chimera-7B-AWQ")
    model = AutoModelForCausalLM.from_pretrained("shawnw3i/Hunyuan-MT-Chimera-7B-AWQ")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

ValueError: weight_scale is on the meta device, we need a `value` to put in on cpu.

7
#1 opened 9 months ago by
devops724
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs