tencent/Hy4-preview开源了新模型
根据官方来源,tencent/Hy4-preview开源了新模型。详细信息请以原始来源为准。
证据来源
查看来源摘录
Tencent tencent/Hy4-preview tencent/Hy4-preview https://huggingface.co/tencent/Hy4-preview
查看来源摘录
tencent/Hy4-preview · Hugging Face Hugging Face (https://huggingface.co/) Models (https://huggingface.co/models) Datasets (https://huggingface.co/datasets) Spaces (https://huggingface.co/spaces) Buckets new (https://huggingface.co/storage) Docs (https://huggingface.co/docs) Enterprise (https://huggingface.co/enterprise) Pricing (https://huggingface.co/pricing) Website Tasks (https://huggingface.co/tasks) HuggingChat (https://huggingface.co/chat) Collections (https://huggingface.co/collections) Languages (https://huggingface.co/languages) Organizations (https://huggingface.co/organizations) Community Blog (https://huggingface.co/blog) Posts (https://huggingface.co/posts) Daily Papers (https://huggingface.co/papers) Hardware (https://huggingface.co/hardware) Learn (https://huggingface.co/learn) Discord (https://huggingface.co/join/discord) Forum (https://discuss.huggingface.co/) GitHub (https://github.com/huggingface) Solutions Team & Enterprise (https://huggingface.co/enterprise) Hugging Face PRO (https://huggingface.co/pro) Enterprise Support (https://huggingface.co/support) Inference Providers (https://huggingface.co/inference/models) Inference Endpoints (https://huggingface.co/inference-endpoints) Storage Buckets (https://huggingface.co/storage) Log In (https://huggingface.co/login) Sign Up (https://huggingface.co/join) (https://huggingface.co/tencent) tencent (https://huggingface.co/tencent) / Hy4-preview (https://huggingface.co/tencent/Hy4-preview) like 382 Follow Tencent 12k Text Generation (https://huggingface.co/models?pipeline_tag=text-generation) Transformers (https://huggingface.co/models?library=transformers) Safetensors (https://huggingface.co/models?library=safetensors) hy_v4 (https://huggingface.co/models?other=hy_v4) hunyuan (https://huggingface.co/models?other=hunyuan) hy4 (https://huggingface.co/models?other=hy4) Mixture of Experts (https://huggingface.co/models?other=moe) conversational (https://huggingface.co/models?other=conversational) Eval Results (https://huggingface.co/models?other=eval-results) arxiv: 2512.02556 arxiv: 2603.12201 License: apache-2.0 Model card (https://huggingface.co/tencent/Hy4-preview) Files Files and versions xet (https://huggingface.co/tencent/Hy4-preview/tree/main) Community 13 (https://huggingface.co/tencent/Hy4-preview/discussions) Deploy Copy to bucket new Use this model Instructions to use tencent/Hy4-preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started. Libraries Transformers (https://huggingface.co/tencent/Hy4-preview?library=transformers) How to use tencent/Hy4-preview with Transformers: # Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tencent/Hy4-preview") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages) # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("tencent/Hy4-preview", device_map="auto") Notebooks Google Colab (https://huggingface.co/tencent/Hy4-preview/colab) Kaggle (https://huggingface.co/tencent/Hy4-preview/kaggle) Local Apps Settings (https://huggingface.co/settings/local-apps) vLLM (https://huggingface.co/tencent/Hy4-preview?local-app=vllm) How to use tencent/Hy4-preview with vLLM: Install from pip and serve model # Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tencent/Hy4-preview" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tencent/Hy4-preview", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker docker model run hf.co/tencent/Hy4-preview SGLang (https://huggingface.co/tencent/Hy4-preview?local-app=sglang) How to use tencent/Hy4-preview with SGLang: Install from pip and serve model #
来自 星盘大模型百科