The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: CastError
Message: Couldn't cast
id: string
language: string
source_split: string
model_context: string
explanation: string
priority: int64
context_hash: string
metadata: string
final_split: string
leakage_group: string
sft_input: string
sft_input_hash: string
sft_target: string
chosen_priority: int64
chosen_explanation: string
rejected_priority: int64
rejected_explanation: string
to
{'id': Value('string'), 'language': Value('string'), 'source_split': Value('string'), 'model_context': Value('string'), 'context_hash': Value('string'), 'metadata': Json(decode=True), 'final_split': Value('string'), 'leakage_group': Value('string'), 'sft_input': Value('string'), 'sft_input_hash': Value('string'), 'chosen_priority': Value('int64'), 'chosen_explanation': Value('string'), 'rejected_priority': Value('int64'), 'rejected_explanation': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
id: string
language: string
source_split: string
model_context: string
explanation: string
priority: int64
context_hash: string
metadata: string
final_split: string
leakage_group: string
sft_input: string
sft_input_hash: string
sft_target: string
chosen_priority: int64
chosen_explanation: string
rejected_priority: int64
rejected_explanation: string
to
{'id': Value('string'), 'language': Value('string'), 'source_split': Value('string'), 'model_context': Value('string'), 'context_hash': Value('string'), 'metadata': Json(decode=True), 'final_split': Value('string'), 'leakage_group': Value('string'), 'sft_input': Value('string'), 'sft_input_hash': Value('string'), 'chosen_priority': Value('int64'), 'chosen_explanation': Value('string'), 'rejected_priority': Value('int64'), 'rejected_explanation': Value('string')}
because column names don't match
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1879, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
id string | language string | source_split string | model_context string | context_hash string | metadata unknown | final_split string | leakage_group string | sft_input string | sft_input_hash string | chosen_priority int64 | chosen_explanation string | rejected_priority int64 | rejected_explanation string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0e959ac3000bd1719a9d94a1 | fr | sft_train | Informations patient:
Age: 45
Reported symptoms: être fatiguée, de ne pouvoir dormir, des céphalées
Le patient est accompagné par un proche et décrit ses symptômes lors de l’accueil.
Évolution rapportée (scénario pédagogique synthétique) : symptômes apparus progressivement depuis deux jours ; le patient décrit une gên... | c3bb034b890b656fc2b9df7ff00582ed2a53a0cbf52cee51da6ab1f5723af566 | {
"patient_structured": {
"age_years": 45,
"sex": "female",
"symptoms": [
"être fatiguée, de ne pouvoir dormir",
"des céphalées"
]
},
"medical_structured": {
"imaging_findings": [
"sont normaux"
]
},
"patient_information_origin": "model_context",
"medical_informatio... | train | group_3274 | Le patient est déjà à l’accueil des urgences. Évaluez uniquement les informations ci-dessous.
Informations patient:
Age: 45
Reported symptoms: être fatiguée, de ne pouvoir dormir, des céphalées
Le patient est accompagné par un proche et décrit ses symptômes lors de l’accueil.
Évolution rapportée (scénario pédagogique... | 1090b8a29463c7905b4f8516f984a60fec071bdee0c85f8552d01fd1efb99c97 | 3 | À 45 ans, fatigue, insomnie et maux de tête depuis deux jours vous pèsent, comme l'a raconté votre proche. Un médecin vous écoutera et vous examinera. | 3 | Prise en charge différée : le patient est présent aux urgences, mais les informations disponibles ne montrent pas de gravité ou de risque de gravité justifiant P1 ou P2. |
e6496d6a668df482c17e42a5 | en | train | Patient information:
Age: 42
Reported symptoms: sudden chest pain; dyspnea
Clinical signs: hyperthermia; hypertension; severe agitation
Medical history: chronic amphetamine use
Clinical presentation described in the source: In a 42-year-old man with chronic amphetamine abuse who presents with hyperthermia, hypertensio... | f8dbfb6446434297607b46ed9d1279205dd637d9076e82d67e7fe11885d890ce | {
"patient_structured": {
"age_years": 42,
"sex": "male",
"symptoms": [
"sudden chest pain",
"dyspnea"
],
"medical_history": [
"chronic amphetamine use"
],
"critical_signs": [
"hyperthermia",
"hypertension",
"severe agitation"
]
},
"medical_struc... | train | dpo_group_0670 | The patient is already at the emergency department reception. Assess their current clinical condition using the following information; a diagnosis alone does not determine urgency.
Patient information:
Age: 42
Reported symptoms: sudden chest pain; dyspnea
Clinical signs: hyperthermia; hypertension; severe agitation
Me... | a2bd9995cebb579a668be9da733fb12928e22f6e542885da67891741659f7ab7 | 1 | After using amphetamines, you are overheated and very agitated, and now have sudden chest pain with breathlessness and heart attack signs on your ECG. You need treatment straight away. | 1 | Chest pain. The case also documents ST elevation. These documented clinical findings support immediate care. |
631148d5dbb5ea951fea826d | fr | sft_train | Informations patient:
Enfant de deux ans avec tuméfaction rouge et douloureuse au coin interne de l’œil droit, apparue brutalement, et fièvre à 39 °C. Les parents ont remarqué la rougeur après le réveil. | 07aabd975dd74f40d4970cdd1fa693e59f189448361efebf2abc261baf619a54 | {
"patient_structured": {
"age_years": 2,
"evolution": "sudden",
"vital_signs": {
"temperature": 39
}
},
"medical_structured": {},
"patient_information_origin": "model_context",
"medical_information_origin": "model_context",
"rich_reference": {
"dataset": "mqal_oeq_test",
"fami... | train | group_3375 | Le patient est déjà présent à l’accueil des urgences. Évaluez son état clinique à partir des seules informations ci-dessous.
Informations patient:
Enfant de deux ans avec tuméfaction rouge et douloureuse au coin interne de l’œil droit, apparue brutalement, et fièvre à 39 °C. Les parents ont remarqué la rougeur après l... | a5323db01cf9f9d5ca118272c4c0b597cf45aa876d940b5b9ec86e3a19088e27 | 2 | Votre enfant de 2 ans a, depuis son réveil, une tuméfaction rouge et douloureuse au coin de l'œil droit avec 39 °C. Cette infection doit être traitée rapidement. | 2 | Prise en charge rapide : la situation est cliniquement significative ou comporte un risque d'aggravation (fièvre à 39), sans critère P1 identifié. |
e675761b74cd51bd1b138c77 | fr | train | Informations patient:
Age: 6
Reported symptoms: chutes fréquentes en courant
Clinical signs: faiblesse musculaire des membres inférieurs; sillon profond sous les rebords costaux bilatéraux
Vital signs: constantes normales; taille 20e percentile; poids 30e percentile
Medical history: épilepsie; naissance à terme après g... | 60e8a2562725676fe711e80b2a72eb120ccffe7a80d30dc8ba1742d2b96d5ad4 | {
"patient_structured": {
"symptoms": [
"chutes fréquentes en courant"
],
"medical_history": [
"épilepsie",
"naissance à terme après grossesse sans complication"
],
"critical_signs": [
"faiblesse musculaire des membres inférieurs",
"sillon profond sous les rebords cos... | train | dpo_group_0374 | Le patient est déjà présent à l’accueil des urgences. Évaluez son état clinique actuel à partir des informations suivantes, sans supposer qu’une maladie implique à elle seule une urgence.
Informations patient:
Age: 6
Reported symptoms: chutes fréquentes en courant
Clinical signs: faiblesse musculaire des membres infér... | a0c604d22b03752a09c4eabfdc676b67d292cf8fafdcde68ff3fa7c329929ef4 | 3 | Votre fils de 6 ans, qui prend un traitement pour son épilepsie, tombe souvent en courant et a les jambes plus faibles. Son pédiatre pourra l'examiner lors d'une consultation prévue. | 3 | La maladie nommée dans le dossier. Le dossier rapporte aussi les complications qui y sont habituellement associées. Ces éléments cliniques documentés justifient une prise en charge différée. |
b65cc3c2e214a3b831ca75e7 | fr | validation | Informations patient:
Age: 27
Reported symptoms: Quarante-cinq minutes après l'accouchement spontané d'un nouveau-né de sexe masculin à 39 semaines de gestation, une femme de 27 ans primigeste se plaint d'une douleur abdominale croissante et de vertiges; Il existe un saignement vaginal abondant provenant d'une masse ar... | 905c60ce32b333d3139706a8780cef085df7727321b56ed733d3aa51384c000c | {
"patient_structured": {
"symptoms": [
"Quarante-cinq minutes après l'accouchement spontané d'un nouveau-né de sexe masculin à 39 semaines de gestation, une femme de 27 ans primigeste se plaint d'une douleur abdominale croissante et de vertiges",
"Il existe un saignement vaginal abondant provenant d'... | train | dpo_group_0963 | Le patient est déjà présent à l’accueil des urgences. Évaluez son état clinique actuel à partir des informations suivantes, sans supposer qu’une maladie implique à elle seule une urgence.
Informations patient:
Age: 27
Reported symptoms: Quarante-cinq minutes après l'accouchement spontané d'un nouveau-né de sexe mascul... | b9c72f97bb2fef86de0ee981793d1d06c05e6c6f3df1c2c1d7a2daadb0825374 | 1 | Quarante-cinq minutes après votre accouchement, vous saignez abondamment avec des vertiges et une douleur du ventre qui augmente. Ce saignement doit être arrêté immédiatement. | 1 | Les résultats du bilan réalisé à l'arrivée. Le dossier rapporte aussi la réponse du patient au traitement déjà administré. Ces éléments cliniques documentés justifient une prise en charge immédiate. |
1736abdcbc59de1679eed47f | fr | sft_train | Informations patient:
Age: 22
Reported symptoms: douleur en fin de journée et surtout de sensation de jambe "qui lâche", selon ses dires
Le patient consulte après avoir constaté la persistance de son problème de santé.
Évolution rapportée (scénario pédagogique synthétique) : symptômes présents par épisodes depuis trois... | 9d90eddce5e53ab9347ef250d7bb05d73a2121d2c6f280579d08dcb23308ef40 | {
"patient_structured": {
"age_years": 22,
"symptoms": [
"douleur en fin de journée et surtout de sensation de jambe \"qui lâche\", selon ses dires"
]
},
"medical_structured": {
"symptoms": [
"douleur en fin de journée et surtout de sensation de jambe \"qui lâche\", selon ses dires",
... | train | group_2915 | Le patient est déjà à l’accueil des urgences. Évaluez uniquement les informations ci-dessous.
Informations patient:
Age: 22
Reported symptoms: douleur en fin de journée et surtout de sensation de jambe "qui lâche", selon ses dires
Le patient consulte après avoir constaté la persistance de son problème de santé.
Évolut... | 4f505cab77a19dabb36496836b9300465fe91951479e95d147331466565c0447 | 3 | À 22 ans, votre jambe qui lâche et la douleur en fin de journée reviennent depuis trois jours. Un médecin examinera votre genou pour en trouver la cause. | 3 | Prise en charge différée : le patient est présent aux urgences, mais les informations disponibles ne montrent pas de gravité ou de risque de gravité justifiant P1 ou P2. |
bf223f2f5f4751525b1f88e5 | fr | validation | Informations patient:
Age: Inconnu
Présentation clinique décrite dans la source : problèmes gynécologiques. Depuis quelques mois, j'ai des problèmes avec mon vagin. Il semble toujours y avoir quelque chose qui ne va pas chez moi. C'est soit une infection, soit une mycose due au médicament utilisé pour traiter l'infect... | 063ccce90201a5125fe7de3480bbe4bd1a49acefc62c7e4205dd1b6ef58fd4b1 | {
"patient_structured": {},
"medical_structured": {},
"patient_information_origin": "model_context",
"medical_information_origin": "model_context",
"tracking": {
"dataset_split": "train",
"revision_metadonnees": "effectuee",
"revision_clinique_finale": "non_validee",
"statut_avancement": "TRAI... | train | dpo_group_0870 | Le patient est déjà présent à l’accueil des urgences. Évaluez son état clinique actuel à partir des informations suivantes, sans supposer qu’une maladie implique à elle seule une urgence.
Informations patient:
Age: Inconnu
Présentation clinique décrite dans la source : problèmes gynécologiques. Depuis quelques mois, ... | b9a3bb2a92da0f906660eac7e3ae5a0f17886123452283fd958cf96128806e26 | 3 | Depuis quelques mois, vous enchaînez les infections ou mycoses vaginales. Un gynécologue pourra en chercher la cause et vous proposer un traitement durable. | 3 | Chez ce patient, dysurie après une infection urinaire. Les autres éléments utiles au triage sont l'impression générale donnée par le dossier. L'ensemble du tableau documenté conduit à une prise en charge différée. |
0d6a4d809d21412294c88e72 | en | validation | Patient information:
Age: 7
Reported symptoms: A 7 year old child presents with non productive cough, mild stridor since 6 months; On oral antibiotics, patient is improving but suddenly develops wheezing, productive cough, mild fever
Clinical presentation described in the source: A 7 year old child presents with non p... | d4c54a10f0023a83562bdedd10fb9cb00c035ff9cbaff38894c057692c90c4a0 | {
"patient_structured": {
"symptoms": [
"A 7 year old child presents with non productive cough, mild stridor since 6 months",
"On oral antibiotics, patient is improving but suddenly develops wheezing, productive cough, mild fever"
],
"duration": "6 months",
"age_years": 7
},
"medical_s... | train | dpo_group_0949 | The patient is already at the emergency department reception. Assess their current clinical condition using the following information; a diagnosis alone does not determine urgency.
Patient information:
Age: 7
Reported symptoms: A 7 year old child presents with non productive cough, mild stridor since 6 months; On oral... | eb943d19b5b430a30bcdbeb37a2e754a548ea05ae1867583b5316ca23bbc6a1d | 2 | Your 7-year-old had a mild noisy breath for six months and, after improving, suddenly wheezes with a productive cough and fever. The chest should be checked soon for an inhaled object or infection. | 2 | In this patient, the condition named in the case. Other triage-relevant findings are the complications usually associated with it. The documented presentation supports prompt assessment. |
1c8113cb2f79f897b5a13406 | en | sft_train | Patient information:
Age: Unknown
Reported symptoms: these seizures involve muscle rigidity, convulsions, loss of consciousness (tonic, clonic seizures
Reported condition: pyridoxine-dependent epilepsy
Clinical signs: altered_consciousness, seizure
The patient arrives with a relative and describes the concern at regis... | fe1dea95848bab06e1d60a183a35a90b1650d3eb547583835bb5191945a77f05 | {
"patient_structured": {
"age_years": null,
"sex": "male",
"symptoms": [
"these seizures involve muscle rigidity, convulsions",
"loss of consciousness (tonic, clonic seizures"
],
"condition_mentions": [
"pyridoxine-dependent epilepsy"
],
"critical_signs": [
"altere... | train | group_2194 | The patient is already at the emergency department reception. Assess their current clinical condition using the following information; a diagnosis alone does not determine urgency.
Patient information:
Age: Unknown
Reported symptoms: these seizures involve muscle rigidity, convulsions, loss of consciousness (tonic, c... | 58ddac739ae5a1d311becd3dca39b22fe9aa14c9b605c6c2c9ca6414b7beeff5 | 1 | You came in with a relative after seizures with stiffness, convulsions and loss of consciousness, linked to your pyridoxine-dependent epilepsy. A specific treatment exists for your seizures, and we want to give it to you straight away. | 1 | Very rapid care required: the available clinical information shows current major severity or a risk of major deterioration (loss of consciousness). |
eda17e79826a69df7bfa6c4d | en | train | Patient information:
Age: 38
Reported symptoms: shortness of breath; fatigue; difficulty sleeping
Clinical signs: harsh systolic ejection murmur
Vital signs: heart rate 120/min
Medical history: remote childhood fever and joint pain
Laboratory findings: ECG and echocardiography referenced but findings unavailable
Clini... | 8ce1be81c135fe973226d074f8b3434c66288af155823f902047e485f77674de | {
"patient_structured": {
"symptoms": [
"shortness of breath",
"fatigue",
"difficulty sleeping"
],
"medical_history": [
"remote childhood fever and joint pain"
],
"critical_signs": [
"harsh systolic ejection murmur"
],
"vital_signs": [
"heart rate 120/mi... | train | dpo_group_0402 | The patient is already at the emergency department reception. Assess their current clinical condition using the following information; a diagnosis alone does not determine urgency.
Patient information:
Age: 38
Reported symptoms: shortness of breath; fatigue; difficulty sleeping
Clinical signs: harsh systolic ejection ... | b7f9e67f1714cd52f6316d3eb2663babd597de8bb71f2ab5afaab0a5f147681d | 2 | You are breathless, tired and sleeping badly, with a heart rate of 120 and a harsh murmur, after fever and joint pain as a child. Your heart valves should be checked soon. | 2 | The presentation includes the condition named in the case, together with the complications usually associated with it. These patient-specific findings support prompt assessment. |
fd9208dfa9d3e6bc4a3f8b36 | fr | train | SCÉNARIO PÉDAGOGIQUE SYNTHÉTIQUE DISTINCT DU PATIENT SOURCE. Fille de 2 ans revue après un épisode viral de cinq jours, dont la fièvre et les vomissements ont cessé depuis deux jours. Elle boit, mange et urine normalement, joue comme d'habitude et ses parents demandent un contrôle programmé. | b143d98884bdadf73febe20c20931057c863a90f49bd62764c994785613151d5 | {
"patient_structured": {
"scenario": "synthetique_distinct",
"details_dans_model_context": true,
"scenario_type": "fiction_pedagogique_distincte_du_patient_source",
"clinical_narrative": "SCÉNARIO PÉDAGOGIQUE SYNTHÉTIQUE DISTINCT DU PATIENT SOURCE. Fille de 2 ans revue après un épisode viral de cinq ... | train | dpo_group_0420 | Le patient est déjà présent à l’accueil des urgences. Évaluez son état clinique actuel à partir des informations suivantes, sans supposer qu’une maladie implique à elle seule une urgence.
SCÉNARIO PÉDAGOGIQUE SYNTHÉTIQUE DISTINCT DU PATIENT SOURCE. Fille de 2 ans revue après un épisode viral de cinq jours, dont la fiè... | 4c6581887b5ab7987f2429c27f88026b9524f5e73897311adff37ce627fa2a49 | 3 | Votre fille de 2 ans n'a plus de fièvre ni de vomissements depuis deux jours, boit, mange et joue comme d'habitude. Le contrôle prévu suffira. | 3 | Le tableau clinique global. Le dossier rapporte aussi l'impression générale donnée par le dossier. Ces éléments cliniques documentés justifient une prise en charge différée. |
0b579f9d85b50822503b110b | fr | sft_train | Informations patient:
Age: 72
Clinical signs: altered_consciousness, unconsciousness
Vital signs: diastolic_bp: 60.0, systolic_bp: 110.0, temperature: 37.8 | 97ccc5c0c7611eca0ade5d82a312c5d7b77bcbc04789ad2a97cb1b695691104f | {
"patient_structured": {
"age_years": 72,
"critical_signs": [
"altered_consciousness",
"unconsciousness"
],
"vital_signs": {
"diastolic_bp": 60,
"systolic_bp": 110,
"temperature": 37.8
}
},
"medical_structured": {
"medications": [
"Captopril 50 mg et Am... | train | group_4950 | Le patient est déjà présent à l’accueil des urgences. Évaluez son état clinique actuel à partir des informations suivantes, sans supposer qu’une maladie implique à elle seule une urgence.
Informations patient:
Age: 72
Clinical signs: altered_consciousness, unconsciousness
Vital signs: diastolic_bp: 60.0, systolic_bp: ... | 30ad10011e31e7e1795a16e3c50f1ee53b637896f3163c5ad7fc5c64027a84b6 | 1 | À 72 ans, vous êtes inconscient avec une tension basse et 37,8 °C. Nous devons protéger votre respiration et trouver la cause tout de suite. | 1 | Prise en charge très rapide : les informations cliniques disponibles montrent une gravité actuelle ou un risque de gravité majeure (coma). |
74d6b7c998079393619531fd | fr | sft_train | Informations patient:
Age: 60
Reported symptoms: dyspnée d'effort rapidement croissante depuis plusieurs mois
Clinical signs: cyanosis
Le patient est accompagné par un proche et décrit ses symptômes lors de l’accueil.
Complément clinique (patient fictif) : toux perturbant le repos ; incapacité récente à accomplir les... | a63fbb8684cee5f1cc20e85d37f4575ab7a0656347bfa3f5f7dcbbb3860ba715 | {
"patient_structured": {
"age_years": 60,
"sex": "male",
"symptoms": [
"dyspnée d'effort rapidement croissante depuis plusieurs mois"
],
"duration": "40 ans",
"critical_signs": [
"cyanosis"
]
},
"medical_structured": {
"imaging_findings": [
"pulmonaire : image in... | train | group_4816 | Le patient est déjà présent à l’accueil des urgences. Évaluez son état clinique à partir des seules informations ci-dessous.
Informations patient:
Age: 60
Reported symptoms: dyspnée d'effort rapidement croissante depuis plusieurs mois
Clinical signs: cyanosis
Le patient est accompagné par un proche et décrit ses sym... | 5a612d17ab7b37998f9f46c3520ab47ee92c307bc7d5afc44c6f1d594d5bfdb2 | 1 | À 60 ans, votre essoufflement s'aggrave depuis des mois, au point de vous empêcher de faire les gestes du quotidien, et vos lèvres sont bleutées. Votre respiration doit être soutenue sans délai. | 1 | Prise en charge très rapide : les informations cliniques disponibles montrent une gravité actuelle ou un risque de gravité majeure (insuffisance respiratoire). |
5838cbf3b46141e5f490ace4 | en | sft_train | Patient information:
Age: 45
Reported symptoms: dizziness, swelling (edema) of the ankles or legs, chest pain, shortness of breath (dyspnea) during exertion, cardiac event
Reported condition: pulmonary arterial hypertension | 0a57e7828d24fa5727f5881ccd31850754e155d31e4008317ef55118e4dc50ef | {
"patient_structured": {
"age_years": 45,
"sex": "female",
"symptoms": [
"dizziness, swelling (edema) of the ankles or legs, chest pain",
"shortness of breath (dyspnea) during exertion",
"cardiac event"
],
"condition_mentions": [
"pulmonary arterial hypertension"
]
}... | train | group_1663 | The patient is already at the emergency department reception. Assess their current clinical condition using the following information; a diagnosis alone does not determine urgency.
Patient information:
Age: 45
Reported symptoms: dizziness, swelling (edema) of the ankles or legs, chest pain, shortness of breath (dyspn... | 3e18163c9c47aa097ab5d7320796021b239929e8cc7c87c87b5d4f34f1c72d08 | 1 | Dizziness, swollen ankles, chest pain and breathlessness on effort show your pulmonary hypertension is putting strain on your heart. We want to assess you straight away. | 1 | Very rapid care required: the available clinical information shows current major severity or a risk of major deterioration (respiratory failure). |
9eba291738de4948170633c6 | fr | sft_train | Informations patient:
Age: 38
Reported symptoms: une fièvre persistante (38,2°C-38,8°C), des sueurs et une toux
Vital signs: diastolic_bp: 75.0, heart_rate: 65.0, systolic_bp: 145.0 | d5f4235cfd1b9f66d360b44cec239d6b13aec8eb3f4ac39a1c3ce162c4f2cf2f | {
"patient_structured": {
"age_years": 38,
"sex": "male",
"symptoms": [
"une fièvre persistante (38,2°C-38,8°C), des sueurs et une toux"
],
"duration": "1 an",
"vital_signs": {
"diastolic_bp": 75,
"heart_rate": 65,
"systolic_bp": 145
}
},
"medical_structured": {... | train | group_3784 | Le patient est déjà présent à l’accueil des urgences. Évaluez son état clinique actuel à partir des informations suivantes, sans supposer qu’une maladie implique à elle seule une urgence.
Informations patient:
Age: 38
Reported symptoms: une fièvre persistante (38,2°C-38,8°C), des sueurs et une toux
Vital signs: dias... | 2c55c589a2b95f84dbdb34b931459f1cabbee2429281ec72d9dbb8c77e25e417 | 2 | À 38 ans, vous avez une fièvre persistante entre 38,2 et 38,8 °C, avec des sueurs et une toux. Une infection de vos poumons doit être recherchée rapidement. | 2 | Prise en charge rapide : la situation est cliniquement significative ou comporte un risque d'aggravation (douleur thoracique), sans critère P1 identifié. |
bac7613ce0411b5d4a0b7cf3 | en | validation | Patient information:
Age: Unknown
Reported symptoms: Can these drugs be used interchangeably? Child presents today with scattered maculopapular rash and red skin with hot flashes , malaise since yesterday; Am wondering if this is a drug vs staph infection rash
Vital signs: 31/14
Clinical presentation described in the ... | 56b9dc7cd116b76045a4dba7a835e01f6d9b762ee26c8b4cb8ccd44eddcbf1cb | {
"patient_structured": {
"symptoms": [
"Can these drugs be used interchangeably? Child presents today with scattered maculopapular rash and red skin with hot flashes , malaise since yesterday",
"Am wondering if this is a drug vs staph infection rash"
],
"duration": "10 days",
"vital_signs... | train | dpo_group_0958 | The patient is already at the emergency department reception. Assess their current clinical condition using the following information; a diagnosis alone does not determine urgency.
Patient information:
Age: Unknown
Reported symptoms: Can these drugs be used interchangeably? Child presents today with scattered maculopa... | df3c76191d045ed047a94ccaa1957c7c278f78ce23c059246f7b2065f60423d0 | 2 | While on antibiotics for cellulitis, your 11-year-old looks unwell with a rash spreading over red, flushed skin since yesterday. This should be assessed soon for a drug reaction or spreading infection. | 2 | Red skin. The case also documents malaise, on cephalexin. These documented clinical findings support prompt assessment. |
5abd67f5ed14719db28c4534 | fr | sft_train | Informations patient:
Une personne est prise en charge pour une intoxication au monoxyde de carbone. | 0324322ae16b0276c2ce36f798fb7b622a18823e53161c832815c97af4990002 | {
"patient_structured": {
"clinical_presentation": "Une personne est prise en charge pour une intoxication au monoxyde de carbone."
},
"medical_structured": {
"symptoms": [
"la triade clinique céphalées-vomissements-diarrhées Se manifeste par une anoxie aiguë Peut se compliquer d'un coma précoce Peu... | train | group_4619 | Le patient est déjà présent à l’accueil des urgences. Évaluez son état clinique actuel à partir des informations suivantes, sans supposer qu’une maladie implique à elle seule une urgence.
Informations patient:
Une personne est prise en charge pour une intoxication au monoxyde de carbone. | 96e0af0807ae2cd3aa770afbba42be21866a5cc848529ea074775f8d16892d48 | 1 | Une intoxication au monoxyde de carbone prive vos organes d'oxygène, même sans signe visible. Nous allons vous donner de l'oxygène à fort débit tout de suite. | 1 | Prise en charge très rapide : les informations cliniques disponibles montrent une gravité actuelle ou un risque de gravité majeure (coma). |
96c605638fa62b656750ad8a | en | sft_train | Patient information:
Age: 45
Reported symptoms: they may experience fatigue, cramps, or muscle stiffness, especially after exercise
Reported condition: rippling muscle disease | 5c0bfc55fb90362c7dcf5ee9273b2742fda6e962b24003ba0556bbe076b4f797 | {
"patient_structured": {
"age_years": 45,
"sex": "male",
"symptoms": [
"they may experience fatigue, cramps, or muscle stiffness, especially after exercise"
],
"condition_mentions": [
"rippling muscle disease"
]
},
"medical_structured": {},
"patient_information_origin": "mod... | train | group_0179 | The patient is already at the emergency department reception. Assess their current clinical condition using the following information; a diagnosis alone does not determine urgency.
Patient information:
Age: 45
Reported symptoms: they may experience fatigue, cramps, or muscle stiffness, especially after exercise
Repor... | a49ffcc630ca35244e8f5d9a677945e56bbdcd977b808c2e908eae11c88e3026 | 3 | Fatigue, cramps and stiff muscles after exercise fit with rippling muscle disease. A doctor will examine you and help you manage it. | 3 | Deferred care: the patient is present in the emergency department, but the available information does not show severity or a risk of severity requiring P1 or P2 prioritization. |
88f92e925d481c3e2b4d57f0 | fr | sft_train | Informations patient:
Age: 17
Reported symptoms: rien, affirmant au contraire qu'à part ses douleurs d'estomac elle ne s'est jamais mieux portée | 80cc2c55030819911253c783bab720f4e011f89903176205b8027db036b4e41d | {
"patient_structured": {
"age_years": 17,
"sex": "female",
"symptoms": [
"rien, affirmant au contraire qu'à part ses douleurs d'estomac elle ne s'est jamais mieux portée"
],
"duration": "10 mois"
},
"medical_structured": {
"symptoms": [
"rien, affirmant au contraire qu'à part ... | train | group_2893 | Le patient est déjà présent à l’accueil des urgences. Évaluez son état clinique actuel à partir des informations suivantes, sans supposer qu’une maladie implique à elle seule une urgence.
Informations patient:
Age: 17
Reported symptoms: rien, affirmant au contraire qu'à part ses douleurs d'estomac elle ne s'est jamai... | 0bb66a5c44a3278f3b4e9c984dc7c77e15dbdc959f83c72f8a95550bebb9fa03 | 3 | À 17 ans, vous dites aller très bien à part vos douleurs d'estomac. Un médecin vous recevra pour en comprendre la cause. | 3 | Prise en charge différée : le patient est présent aux urgences, mais les informations disponibles ne montrent pas de gravité ou de risque de gravité justifiant P1 ou P2. |
Medical triage FR/EN — SFT et DPO
Données d'entraînement du POC d'agent de triage aux urgences : Qwen3-1.7B-Base spécialisé par SFT puis DPO (QLoRA). Chaque cas reçoit une priorité P1 (urgence maximale), P2 (modérée) ou P3 (différée), attribuée selon la grille FRENCH v1.2, et une explication courte.
Fichiers
| Fichier | Lignes | Contenu | SHA-256 |
|---|---|---|---|
sft.jsonl |
5 000 | Cas de triage pour le SFT : contexte patient, priorité, explication cible | 201f81ac463dd255d6aeac12460392c3d41851368f1af5cd5227e8ec806e3495 |
dpo.jsonl |
2 100 | Paires de préférences pour le DPO : explication préférée et explication rejetée | 9dfd09087f3717878d781a253f72e93aac954a253d7f3843e0a6dfbc01b1fe7a |
Format JSON Lines, une ligne par exemple. Le champ final_split donne le découpage exact utilisé à l'entraînement :
| Fichier | train |
validation |
test |
|---|---|---|---|
sft.jsonl |
4 000 (apprentissage) | 500 (choix du checkpoint) | 500 (test gelé, mesure finale) |
dpo.jsonl |
1 680 (apprentissage des préférences) | 420 (loss de validation) | — |
Principaux champs : id, language (fr / en), model_context (cas patient), priority (SFT) ou chosen_priority / rejected_priority (DPO), explanation (SFT) ou chosen_explanation / rejected_explanation (DPO), final_split, leakage_group, context_hash, metadata (provenance et décision de triage).
- SFT : 50 % français / 50 % anglais, un tiers par priorité. Le découpage respecte des groupes de fuite (
leakage_group) : aucun contexte, entrée ni source n'est partagé entre train, validation et test. - DPO : 350 paires par langue et par priorité. La priorité est identique dans la réponse préférée et la réponse rejetée : la préférence porte sur l'explication. La validation DPO ne contient aucun cas vu par le SFT.
- Le SFT et le DPO sont évalués sur le même test gelé (les 500 cas
testdesft.jsonl), utilisé une seule fois.
Sources et licences
Construit à partir de jeux publics, audités, dédoublonnés et anonymisés (Presidio FR / EN et détecteurs dédiés) :
| Source | Langue | Licence |
|---|---|---|
| MediQAl | FR | CC-BY-4.0 |
| FrenchMedMCQA | FR | Apache-2.0 |
| MedQuAD | EN | CC-BY-4.0 |
| UltraMedical-Preference | EN | MIT |
Les conditions de ces licences s'appliquent aux contenus qui en sont issus, notamment l'attribution pour les sources CC-BY-4.0.
Limites
- Les priorités sont attribuées automatiquement par un moteur de règles appuyé sur FRENCH, pas par des soignants.
- Des cas « patient fictif » issus de mêmes gabarits créent des quasi-doublons entre train et test (effet d'environ 1 point de F1).
- Une détection automatique ne certifie pas une anonymisation complète.
- Données de recherche : ce n'est pas un outil médical, elles ne doivent pas servir à une décision clinique.
Projet
Code et documentation : https://github.com/gonzalezcourrier34-glitch/medical_triage_agent
- Downloads last month
- 21