Amaro-peter
/

Run this model with HF Jobs

Run Amaro-peter/Ergo 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/Amaro-peter/Ergo. 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/Amaro-peter/Ergo 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/Amaro-peter/Ergo. 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.
Ergo / config.json
Amaro-peter's picture haoliu's picture
Duplicate from Amazon-FMR/Ergo
6b31266
Raw History Blame Contribute Delete
1.07 kB
{
"architectures": [
"ErgoForCausalLM"
],
"bos_token_id": 2,
"eos_token_id": 1,
"first_dense_intermediate_size": 32768,
"global_attention_every_n_layers": 4,
"global_attention_scale": null,
"head_dim": 128,
"hidden_size": 8192,
"intermediate_size": 4096,
"local_attention_window": 512,
"max_position_embeddings": 1048576,
"model_flavor": "55b",
"model_type": "ergo",
"moe_expert_output_rms_norm": true,
"moe_intermediate_size": 4096,
"moe_latent_size": 0,
"moe_load_balance_strategy": "deepseek",
"moe_routed_scaling_factor": 2.8284271247461903,
"moe_routing_method": "sigmoid_topk",
"num_attention_heads": 64,
"num_dense_blocks": 1,
"num_experts": 256,
"num_experts_per_tok": 8,
"num_hidden_layers": 64,
"num_key_value_heads": 8,
"pad_token_id": 0,
"quantization_config": {
"quant_method": "mxfp4"
},
"rms_norm_eps": 1e-12,
"rope_theta": 1000000.0,
"shared_intermediate_size": 8192,
"source_tp_size": 1,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"vocab_size": 262144
}