How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen3-1.7B-Base", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("nix3s/CHSA_Model")

prompt = "{   \"patient_id\": \"string\",   \"symptoms\": \"Patient de 45 ans, douleur thoracique irradiant vers le bras gauche, sueurs froides\",   \"age\": 120,   \"antecedents\": \"string\",   \"constantes\": {     \"fc\": 110,     \"spo2\": 94,     \"ta\": \"145/90\",     \"temperature\": 37.2   },   \"langue\": \"fr\" }'"
image = pipe(prompt).images[0]

CHSA_Model

Prompt
{ "patient_id": "string", "symptoms": "Patient de 45 ans, douleur thoracique irradiant vers le bras gauche, sueurs froides", "age": 120, "antecedents": "string", "constantes": { "fc": 110, "spo2": 94, "ta": "145/90", "temperature": 37.2 }, "langue": "fr" }'

Download model

Download them in the Files & versions tab.

Downloads last month
12
Safetensors
Model size
2B params
Tensor type
F32
·
Inference Examples
Examples
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for nix3s/CHSA_Model

Adapter
(56)
this model

Space using nix3s/CHSA_Model 1