Run this model with HF Jobs

Run LayanSh1/policy-reader-roberta 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/LayanSh1/policy-reader-roberta. 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/LayanSh1/policy-reader-roberta 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.
policy-reader-roberta / config.json
LayanSh1's picture
Upload RobertaForSequenceClassification
aa46e86 verified
Raw History Blame Contribute Delete
1.23 kB
{
"add_cross_attention": false,
"architectures": [
"RobertaForSequenceClassification"
],
"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": 768,
"id2label": {
"0": "Limitation of liability",
"1": "Unilateral termination",
"2": "Unilateral change",
"3": "Content removal",
"4": "Contract by using",
"5": "Choice of law",
"6": "Jurisdiction",
"7": "Arbitration"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"label2id": {
"Arbitration": 7,
"Choice of law": 5,
"Content removal": 3,
"Contract by using": 4,
"Jurisdiction": 6,
"Limitation of liability": 0,
"Unilateral change": 2,
"Unilateral termination": 1
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"problem_type": "multi_label_classification",
"tie_word_embeddings": true,
"transformers_version": "5.21.0",
"type_vocab_size": 1,
"use_cache": false,
"vocab_size": 50265
}