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
Update README.md
Browse files12345678910111213141516171819202122232425262728247 unmodified lines276277278279280281282283284285286287288289290Ran find roberta filesChecked task Find roberta filesUsed tool: manage_taskAnalyzed HUGGINGFACE_ROBERTA_HOSTING.md:L1-61Analyzed configuration_roberta_risk.py:L1-33Analyzed modeling_roberta_risk.py:L1-100Analyzed modeling_roberta_risk.py:L101-133Analyzed host_roberta_on_hf.py:L1-100Analyzed roberta_model.py:L1-100Ran list files in src/risk_modelAnalyzed train.py:L1-100Analyzed test_roberta_model.py:L1-65Analyzed roberta_model.py:L101-243Analyzed calibrate.py:L1-100Analyzed attribution.py:L1-50Ran check artifacts/risk_model 路 Exited with code 1Ran list artifacts directoryAnalyzed taxonomy.json:L1-25Ran find risk testsRan list all testsAnalyzed test_hf_loading.py:L1-48Analyzed test_calibration.py:L1-100Analyzed test_risk_bands.py:L1-100````markdown---library_name: transformerstags:247 unmodified lines- **Integrated Gradients:** An axiomatic attribution method that calculates the path integral of gradients along the straight line from a baseline input to the actual input embeddings.- **Risk Bands:** Categorical classifications (LOW, MEDIUM, HIGH) used in user-facing applications to summarize numerical exposure scores into actionable thresholds.## More InformationTo deploy this model as part of the complete InferenceGuard pipeline or to set up live web monitoring, consult the documentation in README.md and the deployment recipes in docs/PRODUCTION_DEPLOYMENT.md.## Model Card AuthorsEngineered and evaluated by the InferenceGuard core development team.## Model Card ContactFor questions, issues, or model weight contributions, open an issue in the project repository or contact the InferenceGuard development team.````123247 unmodified lines251252253---library_name: transformerstags:247 unmodified lines- **Integrated Gradients:** An axiomatic attribution method that calculates the path integral of gradients along the straight line from a baseline input to the actual input embeddings.- **Risk Bands:** Categorical classifications (LOW, MEDIUM, HIGH) used in user-facing applications to summarize numerical exposure scores into actionable thresholds.
README.md-37