Run this model with HF Jobs

Run optimum-intel-internal-testing/tiny-random-nemotron-h 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/optimum-intel-internal-testing/tiny-random-nemotron-h. 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/optimum-intel-internal-testing/tiny-random-nemotron-h 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/optimum-intel-internal-testing/tiny-random-nemotron-h. 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/optimum-intel-internal-testing/tiny-random-nemotron-h. 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.
tiny-random-nemotron-h / config.json
rkazants's picture
Add tiny random NemotronH model (#1)
0e3cb2d
Raw History Blame
1.67 kB
{
"architectures": [
"NemotronHForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 1,
"chunk_size": 8,
"conv_kernel": 4,
"dtype": "float32",
"eos_token_id": 2,
"expand": 2,
"head_dim": 32,
"hidden_dropout": 0.0,
"hidden_size": 64,
"hybrid_override_pattern": "ME*M-*",
"initializer_range": 0.02,
"intermediate_size": 128,
"layer_norm_epsilon": 1e-05,
"mamba_head_dim": 8,
"mamba_hidden_act": "silu",
"mamba_num_heads": 8,
"mamba_proj_bias": false,
"mamba_ssm_cache_dtype": "float32",
"max_position_embeddings": 4096,
"mlp_bias": false,
"mlp_hidden_act": "relu2",
"model_type": "nemotron_h",
"moe_intermediate_size": 32,
"moe_latent_size": null,
"moe_shared_expert_intermediate_size": 64,
"moe_shared_expert_overlap": true,
"n_group": 1,
"n_groups": 2,
"n_routed_experts": 8,
"n_shared_experts": 1,
"norm_topk_prob": true,
"num_attention_heads": 4,
"num_experts_per_tok": 2,
"num_key_value_heads": 2,
"num_logits_to_keep": 1,
"num_nextn_predict_layers": 0,
"pad_token_id": 0,
"rescale_prenorm_residual": true,
"residual_in_fp32": false,
"routed_scaling_factor": 2.5,
"sliding_window": null,
"ssm_state_size": 16,
"tie_word_embeddings": false,
"time_step_floor": 0.0001,
"time_step_limit": [
0.0,
{
"__float__": "Infinity"
}
],
"time_step_max": 0.1,
"time_step_min": 0.001,
"topk_group": 1,
"transformers_version": "5.15.1",
"use_bias": false,
"use_cache": true,
"use_conv_bias": true,
"use_mamba_kernels": true,
"vocab_size": 131072
}