Run this model with HF Jobs

Run Molbap/code2 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 to fine-tune https://huggingface.co/Molbap/code2. 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/Molbap/code2 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.
code2 / config.json
Molbap's picture
Molbap HF Staff
Upload Mamba2ForCausalLM
e1f6b29 verified
Raw History Blame Contribute Delete
991 Bytes
Invalid JSON:Unexpected token 'I', ..." 0.0, Infinity "... is not valid JSON
{
"_name_or_path": "/raid/pablo/codestral-hf-good/",
"architectures": [
"Mamba2ForCausalLM"
],
"bos_token_id": 0,
"chunk_size": 256,
"conv_kernel": 4,
"eos_token_id": 0,
"expand": 2,
"head_dim": 64,
"hidden_act": "silu",
"hidden_size": 4096,
"initializer_range": 0.1,
"intermediate_size": 8192,
"layer_norm_epsilon": 1e-05,
"model_type": "mamba2",
"n_groups": 8,
"norm_before_gate": true,
"num_heads": 128,
"num_hidden_layers": 64,
"pad_token_id": 0,
"rescale_prenorm_residual": false,
"residual_in_fp32": true,
"state_size": 128,
"tie_word_embeddings": false,
"time_step_floor": 0.0001,
"time_step_init_scheme": "random",
"time_step_limit": [
0.0,
Infinity
],
"time_step_max": 0.1,
"time_step_min": 0.001,
"time_step_rank": 256,
"time_step_scale": 1.0,
"torch_dtype": "bfloat16",
"transformers_version": "4.43.0.dev0",
"use_bias": false,
"use_cache": true,
"use_conv_bias": true,
"vocab_size": 32768
}