Run this model with HF Jobs

Run ElderRyan/ProseGuard-mmBERT-base 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/ElderRyan/ProseGuard-mmBERT-base. 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/ElderRyan/ProseGuard-mmBERT-base 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.
ProseGuard-mmBERT-base / config.json
ElderRyan's picture
Release ProseGuard-mmBERT-base
0e5fa5e verified
Raw History Blame Contribute Delete
2.38 kB
{
"transformers_version": "5.25.1",
"architectures": [
"ModernBertForMaskedLM"
],
"output_hidden_states": false,
"return_dict": true,
"dtype": "float32",
"chunk_size_feed_forward": 0,
"is_encoder_decoder": false,
"id2label": {
"0": "Human",
"1": "AI-Assisted",
"2": "AI-Native"
},
"label2id": {
"Human": 0,
"AI-Assisted": 1,
"AI-Native": 2
},
"problem_type": null,
"vocab_size": 256000,
"hidden_size": 768,
"intermediate_size": 1152,
"num_hidden_layers": 22,
"num_attention_heads": 12,
"hidden_activation": "gelu",
"max_position_embeddings": 8192,
"initializer_range": 0.02,
"initializer_cutoff_factor": 2.0,
"norm_eps": 1e-05,
"norm_bias": false,
"pad_token_id": 0,
"eos_token_id": 1,
"bos_token_id": 2,
"cls_token_id": 1,
"sep_token_id": 1,
"attention_bias": false,
"attention_dropout": 0.0,
"layer_types": [
"full_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"full_attention",
"sliding_attention",
"sliding_attention",
"full_attention"
],
"rope_parameters": {
"sliding_attention": {
"rope_type": "default",
"rope_theta": 160000
},
"full_attention": {
"rope_type": "default",
"rope_theta": 160000
}
},
"local_attention": 128,
"embedding_dropout": 0.0,
"mlp_bias": false,
"mlp_dropout": 0.0,
"decoder_bias": true,
"classifier_pooling": "mean",
"classifier_dropout": 0.0,
"classifier_bias": false,
"classifier_activation": "gelu",
"deterministic_flash_attn": false,
"sparse_prediction": false,
"sparse_pred_ignore_index": -100,
"tie_word_embeddings": true,
"_name_or_path": "jhu-clsp/mmBERT-base",
"global_attn_every_n_layers": 3,
"gradient_checkpointing": false,
"layer_norm_eps": 1e-05,
"model_type": "modernbert",
"position_embedding_type": "sans_pos",
"mask_token_id": 4,
"output_attentions": false,
"proseguard_architecture": "ProseGuardModel",
"proseguard_base_model": "jhu-clsp/mmBERT-base"
}