Instructions to use Larxel/MedSafetyLM-1-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Larxel/MedSafetyLM-1-adapter with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Larxel/MedSafetyLM-1-adapter", device_map="auto") - Notebooks
- Google Colab
- Kaggle
MedSafetyLM-1-adapter
PEFT adapter from a text-layer-only QLoRA ablation of nvidia/Nemotron-3.5-Content-Safety for contextual healthcare safety classification in Portuguese. Trained on 1,777 safe Revalida questions and a category-stratified sample of 3,554 unsafe Medical Malice questions.
The model emits User Safety: safe or User Safety: unsafe; category prediction and thinking were disabled. The upstream OpenMDW and Gemma terms continue to apply.
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for Larxel/MedSafetyLM-1-adapter
Base model
nvidia/Nemotron-3.5-Content-Safety