Run this model with HF Jobs

Run Dev9124/EKA-1-INT4 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/Dev9124/EKA-1-INT4. 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/Dev9124/EKA-1-INT4 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/Dev9124/EKA-1-INT4. 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.
EKA-1-INT4 / config.json
Dev9124's picture
Upload folder using huggingface_hub
b32b5a9 verified
Raw History Blame Contribute Delete
3.84 kB
{
"architectures": [
"EkaV1ForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"auto_map": {
"AutoConfig": "configuration_eka.EkaV1Config",
"AutoModel": "modeling_eka.EkaV1Model",
"AutoModelForCausalLM": "modeling_eka.EkaV1ForCausalLM"
},
"aux_loss_alpha": 0.001,
"bos_token_id": 1,
"dsa_indexer_head_dim": null,
"dsa_indexer_loss_coeff": null,
"dsa_indexer_n_heads": null,
"dsa_indexer_topk": null,
"dsa_indexer_use_sparse_loss": false,
"dtype": "bfloat16",
"eka_quantization": {
"bits": 4,
"format_version": 1,
"group_size": 64,
"method": "weight-only symmetric"
},
"enable_hyper_connections": false,
"enable_mamba": true,
"eos_token_id": 2,
"ep_size": 1,
"first_k_dense_replace": 0,
"hidden_act": "silu",
"hidden_size": 2688,
"hybrid_override_pattern": "MEMEM*EMEMEM*EMEMEM*EMEMEM*EMEMEM*EMEMEMEM*EMEMEMEME",
"initializer_range": 0.006,
"intermediate_size": 1856,
"is_hybrid_model": true,
"kv_lora_rank": 256,
"layer_types": [
"linear_attention",
"moe",
"linear_attention",
"moe",
"linear_attention",
"full_attention",
"moe",
"linear_attention",
"moe",
"linear_attention",
"moe",
"linear_attention",
"full_attention",
"moe",
"linear_attention",
"moe",
"linear_attention",
"moe",
"linear_attention",
"full_attention",
"moe",
"linear_attention",
"moe",
"linear_attention",
"moe",
"linear_attention",
"full_attention",
"moe",
"linear_attention",
"moe",
"linear_attention",
"moe",
"linear_attention",
"full_attention",
"moe",
"linear_attention",
"moe",
"linear_attention",
"moe",
"linear_attention",
"moe",
"linear_attention",
"full_attention",
"moe",
"linear_attention",
"moe",
"linear_attention",
"moe",
"linear_attention",
"moe",
"linear_attention",
"moe"
],
"mamba_head_dim": 64,
"mamba_num_groups": 8,
"mamba_num_heads": 64,
"mamba_state_dim": 128,
"max_position_embeddings": 65536,
"mhc_init_gating_factor": null,
"mhc_sinkhorn_iterations": null,
"model_type": "eka_v1",
"moe_intermediate_size": 1856,
"moe_latent_size": 1344,
"moe_layer_freq": [
0,
1,
0,
1,
0,
0,
1,
0,
1,
0,
1,
0,
0,
1,
0,
1,
0,
1,
0,
0,
1,
0,
1,
0,
1,
0,
0,
1,
0,
1,
0,
1,
0,
0,
1,
0,
1,
0,
1,
0,
1,
0,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1
],
"mtp_loss_scaling_factor": 0.1,
"mtp_num_layers": 1,
"multi_latent_attention": true,
"n_group": 1,
"n_routed_experts": 128,
"n_shared_experts": 2,
"norm_topk_prob": true,
"num_attention_heads": 32,
"num_experts_per_tok": 6,
"num_hidden_layers": 52,
"num_key_value_heads": 32,
"num_nextn_predict_layers": 1,
"num_residual_streams": null,
"pad_token_id": null,
"q_lora_rank": 512,
"qk_layernorm": true,
"qk_nope_head_dim": 128,
"qk_rope_head_dim": 64,
"rms_norm_eps": 1e-06,
"rope_parameters": {
"beta_fast": 32,
"beta_slow": 1,
"factor": 16,
"mscale": 1.0,
"mscale_all_dim": 1.0,
"original_max_position_embeddings": 4096,
"rope_theta": 10000.0,
"rope_type": "yarn",
"type": "yarn"
},
"rope_theta": 10000.0,
"rotary_interleaved": false,
"routed_scaling_factor": 2.5,
"scoring_func": "sigmoid",
"tie_word_embeddings": false,
"topk_group": 1,
"topk_method": "noaux_tc",
"transformers_version": "5.17.0",
"tst_bag_size": null,
"tst_enabled": false,
"tst_superposition_iters": null,
"use_cache": true,
"v_head_dim": 128,
"value_residual_subtraction": false,
"vocab_size": 256000
}