Run this model with HF Jobs

Run trl-internal-testing/tiny-Inkling2ForConditionalGeneration 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/trl-internal-testing/tiny-Inkling2ForConditionalGeneration. 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/trl-internal-testing/tiny-Inkling2ForConditionalGeneration 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/trl-internal-testing/tiny-Inkling2ForConditionalGeneration. 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/trl-internal-testing/tiny-Inkling2ForConditionalGeneration. 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.
qgallouedec's picture
qgallouedec HF Staff
Upload Inkling2ForConditionalGeneration
21aee36 verified
Raw History Blame
6.17 kB
{
"model": {
"parameter_groups": [
{
"compute_dtype": "float32",
"output_dtype": "float32",
"required_activation_quantization": null,
"tensors": [
"model.llm.attn_res.attn_queries.0",
"model.llm.attn_res.mlp_queries.0",
"model.llm.attn_res.mlp_queries.1",
"model.llm.attn_res.output_query",
"model.llm.layers.0.mlp.gate.bias",
"model.llm.layers.1.mlp.gate.bias"
],
"weight_block_shape": [],
"weight_transform": "cast"
},
{
"compute_dtype": "bfloat16",
"output_dtype": "bfloat16",
"required_activation_quantization": null,
"tensors": [
"model.llm.embed.weight",
"model.llm.embed_norm.weight",
"model.llm.layers.0.attn.attn_sink_proj.weight",
"model.llm.layers.0.attn.gate_attn.weight",
"model.llm.layers.0.attn.k_sconv.weight",
"model.llm.layers.0.attn.q_l2_clip.scale",
"model.llm.layers.0.attn.rel_l2_clip.scale",
"model.llm.layers.0.attn.rel_logits_proj.proj",
"model.llm.layers.0.attn.v_sconv.weight",
"model.llm.layers.0.attn.wk_dv.weight",
"model.llm.layers.0.attn.wo_ud.weight",
"model.llm.layers.0.attn.wq_du.weight",
"model.llm.layers.0.attn.wr_du.weight",
"model.llm.layers.0.attn.wv_dv.weight",
"model.llm.layers.0.attn_norm.weight",
"model.llm.layers.0.attn_sconv.weight",
"model.llm.layers.0.mlp.gate.weight",
"model.llm.layers.0.mlp_norm.weight",
"model.llm.layers.0.mlp_sconv.weight",
"model.llm.layers.1.attn.attn_sink_proj.weight",
"model.llm.layers.1.attn.gate_attn.weight",
"model.llm.layers.1.attn.q_l2_clip.scale",
"model.llm.layers.1.attn.rel_l2_clip.scale",
"model.llm.layers.1.attn.rel_logits_proj.proj",
"model.llm.layers.1.attn.wk_dv.weight",
"model.llm.layers.1.attn.wo_ud.weight",
"model.llm.layers.1.attn.wq_du.weight",
"model.llm.layers.1.attn.wr_du.weight",
"model.llm.layers.1.attn.wv_dv.weight",
"model.llm.layers.1.attn_sconv.weight",
"model.llm.layers.1.mlp.gate.weight",
"model.llm.layers.1.mlp_norm.weight",
"model.llm.layers.1.mlp_sconv.weight",
"model.llm.norm.weight",
"model.visual.backbone.embeddings.class_embedding",
"model.visual.backbone.embeddings.cls_position_embedding",
"model.visual.backbone.embeddings.patch_embedding.weight",
"model.visual.backbone.embeddings.position_embedding",
"model.visual.backbone.layers.0.ln_1.bias",
"model.visual.backbone.layers.0.ln_1.weight",
"model.visual.backbone.layers.0.ln_2.bias",
"model.visual.backbone.layers.0.ln_2.weight",
"model.visual.backbone.layers.0.ls_1.gamma",
"model.visual.backbone.layers.0.ls_2.gamma",
"model.visual.backbone.layers.0.mlp.c_fc.bias",
"model.visual.backbone.layers.0.mlp.c_fc.weight",
"model.visual.backbone.layers.0.mlp.c_proj.bias",
"model.visual.backbone.layers.0.mlp.c_proj.weight",
"model.visual.backbone.layers.0.self_attn.k_proj.bias",
"model.visual.backbone.layers.0.self_attn.k_proj.weight",
"model.visual.backbone.layers.0.self_attn.out_proj.bias",
"model.visual.backbone.layers.0.self_attn.out_proj.weight",
"model.visual.backbone.layers.0.self_attn.q_proj.bias",
"model.visual.backbone.layers.0.self_attn.q_proj.weight",
"model.visual.backbone.layers.0.self_attn.v_proj.bias",
"model.visual.backbone.layers.0.self_attn.v_proj.weight",
"model.visual.backbone.layers.1.ln_1.bias",
"model.visual.backbone.layers.1.ln_1.weight",
"model.visual.backbone.layers.1.ln_2.bias",
"model.visual.backbone.layers.1.ln_2.weight",
"model.visual.backbone.layers.1.ls_1.gamma",
"model.visual.backbone.layers.1.ls_2.gamma",
"model.visual.backbone.layers.1.mlp.c_fc.bias",
"model.visual.backbone.layers.1.mlp.c_fc.weight",
"model.visual.backbone.layers.1.mlp.c_proj.bias",
"model.visual.backbone.layers.1.mlp.c_proj.weight",
"model.visual.backbone.layers.1.self_attn.k_proj.bias",
"model.visual.backbone.layers.1.self_attn.k_proj.weight",
"model.visual.backbone.layers.1.self_attn.out_proj.bias",
"model.visual.backbone.layers.1.self_attn.out_proj.weight",
"model.visual.backbone.layers.1.self_attn.q_proj.bias",
"model.visual.backbone.layers.1.self_attn.q_proj.weight",
"model.visual.backbone.layers.1.self_attn.v_proj.bias",
"model.visual.backbone.layers.1.self_attn.v_proj.weight",
"model.visual.backbone.ln_pre.bias",
"model.visual.backbone.ln_pre.weight",
"model.visual.proj_in.weight",
"model.visual.proj_out.weight"
],
"weight_block_shape": [],
"weight_transform": "cast"
},
{
"compute_dtype": "mxfp8",
"output_dtype": "float8_e4m3fn",
"required_activation_quantization": {
"block_size": 32,
"format": "mxfp8_e4m3",
"rounding": "nearest",
"scale_dtype": "ue8m0"
},
"tensors": [
"model.llm.layers.0.mlp.experts.w13_weight",
"model.llm.layers.0.mlp.experts.w2_weight",
"model.llm.layers.1.mlp.experts.w13_weight",
"model.llm.layers.1.mlp.experts.w2_weight"
],
"weight_block_shape": [
32,
32
],
"weight_transform": "mxfp8_nearest"
},
{
"compute_dtype": "bfloat16",
"fwd_output_dtype": "float32",
"output_dtype": "bfloat16",
"required_activation_quantization": null,
"tensors": [
"model.llm.unembed.weight"
],
"weight_block_shape": [],
"weight_transform": "cast"
}
]
},
"quant_method": "inkling2"
}