Run this model with HF Jobs

Run mokshjain/FemtoScience 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/mokshjain/FemtoScience. 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/mokshjain/FemtoScience 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/mokshjain/FemtoScience. 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/mokshjain/FemtoScience. 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.
FemtoScience / config.json
mokshjain's picture
Remote code: transformers Cache API, GenerationMixin; config num_experts_per_tok/mtp_head
5cc9435 verified
Raw History Blame Contribute Delete
948 Bytes
{
"architectures": [
"FemtoScienceMoEForCausalLM"
],
"model_type": "femtoscience_moe",
"auto_map": {
"AutoConfig": "configuration_femtoscience.FemtoScienceConfig",
"AutoModelForCausalLM": "modeling_femtoscience.FemtoScienceMoEForCausalLM",
"AutoTokenizer": [
"tokenization_femtoscience.FemtoScienceHFTokenizer",
null
]
},
"torch_dtype": "bfloat16",
"bos_token_id": 65280,
"eos_token_id": 65281,
"pad_token_id": 65282,
"vocab_size": 65536,
"d_model": 1024,
"n_layers": 16,
"n_heads": 16,
"n_kv_heads": 4,
"n_experts": 64,
"num_experts_per_tok": 6,
"d_ff_dense": 2560,
"d_ff_shared": 512,
"d_ff_expert": 256,
"seq_len": 16384,
"rope_theta": 1000000.0,
"mtp_head": true,
"mtp_loss_weight": 0.3,
"attn_gate": "elementwise",
"qk_norm": true,
"seq_aux_alpha": 0.0001,
"moe_bias_lr": 0.0,
"tie_word_embeddings": false,
"use_grouped_mm": false,
"norm_eps": 1e-06
}