Run this model with HF Jobs

Run tencent/Hy3-preview 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-preview. 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-preview 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-preview. 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-preview. 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.
Hy3-preview / config.json
yiqichen01's picture
Upload folder using huggingface_hub
b53bd70 verified
Raw History Blame Contribute Delete
1.19 kB
{
"architectures": [
"HYV3ForCausalLM"
],
"bos_token_id": 120000,
"enable_attention_fp32_softmax": false,
"enable_lm_head_fp32": true,
"enable_moe_fp32_combine": false,
"eod_token_id": 120026,
"eos_token_id": 120025,
"expert_hidden_dim": 1536,
"moe_intermediate_size": 1536,
"first_k_dense_replace": 1,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 4096,
"initializer_range": 0.006,
"intermediate_size": 13312,
"max_position_embeddings": 262144,
"model_type": "hy_v3",
"moe_router_enable_expert_bias": true,
"moe_router_use_sigmoid": true,
"num_attention_heads": 64,
"num_experts": 192,
"num_experts_per_tok": 8,
"num_hidden_layers": 80,
"num_key_value_heads": 8,
"num_shared_experts": 1,
"output_router_logits": true,
"pad_token_id": 120002,
"qk_norm": true,
"rms_norm_eps": 1e-05,
"rope_parameters": {
"rope_theta": 11158840.0,
"rope_type": "default"
},
"route_norm": true,
"router_scaling_factor": 2.826,
"sep_token_id": 120007,
"tie_word_embeddings": false,
"transformers_version": "5.6.0",
"use_cache": true,
"use_grouped_mm": false,
"vocab_size": 120832,
"num_nextn_predict_layers": 1
}