Run this model with HF Jobs

Run refactai/codify_medium_multi 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/refactai/codify_medium_multi. 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/refactai/codify_medium_multi 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/refactai/codify_medium_multi. 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/refactai/codify_medium_multi. 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.
codify_medium_multi / config.json
smallcloudteam's picture
Upload CodifyForCausalLM
b503cd1
Raw History Blame Contribute Delete
1.31 kB
{
"E": 1024,
"L": 24,
"T": 2048,
"_mup": true,
"alt_pw_klass": {
"type": ""
},
"alt_rel_klass": {
"fused": true,
"type": "alibi"
},
"alt_sa_klass": {
"triton": true,
"type": "flash",
"use_rotary_emb": null
},
"architectures": [
"CodifyForCausalLM"
],
"attn_a_reach": 2048,
"attn_b_reach": 2048,
"attn_heads": 32,
"attn_ra_nbasis": 64,
"attn_seq": [
"d"
],
"attn_sparse_layout_seq": null,
"auto_map": {
"AutoConfig": "configuration_codify.CodifyConfig",
"AutoModel": "modeling_codify.CodifyForCausalLM"
},
"backcheck_pw": "none",
"backcheck_sa": "none",
"bos_token_id": 1,
"dtype_acts": "torch.float16",
"dtype_weights": "torch.float16",
"enc_name": "openai_programming_v2",
"eos_token_id": 2,
"init_scale": 1,
"initializer_range": 0.02,
"layer_norm_epsilon": 1e-05,
"mlp_mult": 4,
"model_type": "codify",
"moe": null,
"mup_optimal_lr": 0.0005,
"mup_shapes_file": "lean_former/mup/flash_rot1d_24l/shapes.json",
"posemb": false,
"rescale_embeddings": false,
"tie_word_embeddings": false,
"torch_dtype": "float32",
"transformers_version": "4.24.0",
"tune": [
3,
3,
3,
3
],
"unembedding_shared": false,
"use_cache": true,
"use_res_scale": false,
"vocab_size": 51305
}