Run this model with HF Jobs

Run guihassen/formatter 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/guihassen/formatter. 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/guihassen/formatter 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.
formatter / config.json
guihassen's picture
Formatter v2
5b2d4ae verified
Raw History Blame Contribute Delete
985 Bytes
{
"add_cross_attention": false,
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"dtype": "float32",
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 384,
"id2label": {
"0": "KEEP_NONE",
"1": "KEEP_COMMA",
"2": "KEEP_PERIOD",
"3": "KEEP_QUESTION",
"4": "DELETE"
},
"initializer_range": 0.02,
"intermediate_size": 1536,
"is_decoder": false,
"label2id": {
"DELETE": 4,
"KEEP_COMMA": 1,
"KEEP_NONE": 0,
"KEEP_PERIOD": 2,
"KEEP_QUESTION": 3
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"tie_word_embeddings": true,
"tokenizer_class": "XLMRobertaTokenizer",
"transformers_version": "5.22.2",
"type_vocab_size": 2,
"use_cache": false,
"vocab_size": 250037
}