Text Classification
Transformers
PyTorch
Safetensors
inferenceguard-roberta
privacy
inferential-privacy
roberta
multi-task-classification
risk-estimation
integrated-gradients
llm-firewall
Run this model with HF Jobs
Run AT707/InferenceGuard-Roberta-Risk 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/AT707/InferenceGuard-Roberta-Risk. 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/AT707/InferenceGuard-Roberta-Risk 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.
Instructions to use AT707/InferenceGuard-Roberta-Risk with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AT707/InferenceGuard-Roberta-Risk with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AT707/InferenceGuard-Roberta-Risk")# pip install -U transformers accelerate # Load model directly from transformers import RobertaRiskClassifier model = RobertaRiskClassifier.from_pretrained("AT707/InferenceGuard-Roberta-Risk", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Initial release of InferenceGuard RoBERTa risk classifier
Browse filesFiles changed (2)
- config.json+16-29
- model.safetensorsAdded+3
12345678910111213141516171819202122232425262728234561 unmodified line89101112131415373816171819202122232425{ "transformers_version": "5.22.1", "architectures": null, "output_hidden_states": false, "return_dict": true, "dtype": null, "chunk_size_feed_forward": 0, "is_encoder_decoder": false, "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "problem_type": null, "_name_or_path": "", "base_model_name": "roberta-base", "num_heads": 4, "num_classes_per_head": 1, "hidden_size": 768, "classifier_dropout": 0.1, "temperature_values": [ 1.0, 1.0, 1.0, 1.0 "architectures": [ "RobertaRiskClassifier" ], "attributes": [ "age",1 unmodified line "occupation", "education" ], "base_model_name": "roberta-base", "classifier_dropout": 0.1, "dtype": "float32", "hidden_size": 768, "model_type": "inferenceguard-roberta", "output_attentions": false} "num_classes_per_head": 1, "num_heads": 4, "temperature_values": [ 1.0, 1.0, 1.0, 1.0 ], "transformers_version": "5.20.2"}123version https://git-lfs.github.com/spec/v1oid sha256:40c4073349ff3827f09503349ec1be518a66bc234991af7fb39c46f3bf8255fdsize 503339184config.json+16-29
model.safetensorsAdded+3