How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "Larxel/MedSafetyLM-1"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Larxel/MedSafetyLM-1",
		"messages": [
			{
				"role": "user",
				"content": [
					{
						"type": "text",
						"text": "Describe this image in one sentence."
					},
					{
						"type": "image_url",
						"image_url": {
							"url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg"
						}
					}
				]
			}
		]
	}'
Use Docker
docker model run hf.co/Larxel/MedSafetyLM-1
Quick Links

MedSafetyLM-1

Merged BF16 model 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.

Downloads last month
57
Safetensors
Model size
4B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Larxel/MedSafetyLM-1

Finetuned
(2)
this model
Quantizations
1 model