Run this model with HF Jobs

Run Lazyshu/PyraLM-10M 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/Lazyshu/PyraLM-10M. 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/Lazyshu/PyraLM-10M 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/Lazyshu/PyraLM-10M. 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/Lazyshu/PyraLM-10M. 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.
PyraLM-10M / config.json
Lazyshu's picture
Release PyraLM-10M: 9,987,600 parameters, local II 16.30
39d4ea8 verified
Raw History Blame Contribute Delete
1.24 kB
{
"architectures": [
"PyraLMForCausalLM"
],
"attn_gate": "headwise",
"attn_window": 16,
"attn_window_layers": [
0
],
"auto_map": {
"AutoConfig": "configuration_pyralm.PyraLMConfig",
"AutoModelForCausalLM": "modeling_pyralm.PyraLMForCausalLM"
},
"block_attnres": false,
"canon": {
"doc_masking": true,
"enabled": true,
"kernel": 4,
"positions": [
"A",
"C"
]
},
"d_model": 256,
"doc_masking": true,
"dtype": "float32",
"eos_token_id": 1,
"ffn_by_layer": [
624,
624,
624,
624,
624,
408,
408,
408,
408,
408,
312,
312,
312,
312,
232,
232,
232,
232
],
"ffn_hidden": 624,
"head_dim": 32,
"hidden_size": 256,
"intermediate_size": 624,
"max_position_embeddings": 512,
"max_seq_len": 512,
"model_type": "pyralm",
"n_head": 8,
"n_kv_head": 2,
"n_layer": 18,
"n_special": 8,
"norm_eps": 1e-05,
"num_attention_heads": 8,
"num_hidden_layers": 18,
"num_key_value_heads": 2,
"pad_token_id": 0,
"peri_ln": true,
"qk_norm": "per_head",
"rms_norm_eps": 1e-05,
"rope_theta": 10000.0,
"transformers_version": "4.57.1",
"unk_token_id": null,
"vocab_size": 5120
}