Run this model with HF Jobs
Run tencent/Hy3 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/tencent/Hy3. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/tencent/Hy3 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/tencent/Hy3. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/tencent/Hy3. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use tencent/Hy3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tencent/Hy3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tencent/Hy3") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("tencent/Hy3") model = AutoModelForCausalLM.from_pretrained("tencent/Hy3", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use tencent/Hy3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tencent/Hy3" # 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/Hy3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tencent/Hy3
- SGLang
How to use tencent/Hy3 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "tencent/Hy3" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tencent/Hy3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "tencent/Hy3" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tencent/Hy3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use tencent/Hy3 with Docker Model Runner:
docker model run hf.co/tencent/Hy3
Add community evaluation results for APEX-AGENTS, DEEP-SWE, GPQA, HLE, SKILLSBENCH, SWE-BENCH_PRO, SWE-BENCH_VERIFIED, WILDCLAWBENCH
Browse filesThis PR adds community-provided evaluation results for the following benchmarks:
- **[APEX-AGENTS](https://huggingface.co/datasets/mercor/apex-agents)**
- **[DEEP-SWE](https://huggingface.co/datasets/datacurve/deep-swe)**
- **[GPQA](https://huggingface.co/datasets/Idavidrein/gpqa)**
- **[HLE](https://huggingface.co/datasets/cais/hle)**
- **[SKILLSBENCH](https://huggingface.co/datasets/benchflow/skillsbench)**
- **[SWE-BENCH_PRO](https://huggingface.co/datasets/ScaleAI/SWE-bench_Pro)**
- **[SWE-BENCH_VERIFIED](https://huggingface.co/datasets/SWE-bench/SWE-bench_Verified)**
- **[WILDCLAWBENCH](https://huggingface.co/datasets/internlm/WildClawBench)**
These results were extracted from the model card. This is based on the new [evaluation results feature](https://huggingface.co/docs/hub/eval-results).
*Note: This is an automated PR. Please review the evaluation results before merging.*
Files changed (8)
1234567- dataset: id: mercor/apex-agents task_id: apex-agents value: 25.6 source: url: https://huggingface.co/tencent/Hy3 name: Model Card1234567- dataset: id: datacurve/deep-swe task_id: deep_swe value: 28 source: url: https://huggingface.co/tencent/Hy3 name: Model Card1234567- dataset: id: Idavidrein/gpqa task_id: diamond value: 90.4 source: url: https://huggingface.co/tencent/Hy3 name: Model Card1234567- dataset: id: cais/hle task_id: hle value: 53.2 source: url: https://huggingface.co/tencent/Hy3 name: Model Card1234567- dataset: id: benchflow/skillsbench task_id: skillsbench_v1_1 value: 55.3 source: url: https://huggingface.co/tencent/Hy3 name: Model Card1234567- dataset: id: ScaleAI/SWE-bench_Pro task_id: SWE_Bench_Pro value: 57.9 source: url: https://huggingface.co/tencent/Hy3 name: Model Card1234567- dataset: id: SWE-bench/SWE-bench_Verified task_id: swe_bench_%_resolved value: 78 source: url: https://huggingface.co/tencent/Hy3 name: Model Card1234567- dataset: id: internlm/WildClawBench task_id: overall value: 53.6 source: url: https://huggingface.co/tencent/Hy3 name: Model Card