Update README.md
Browse files
README.md
CHANGED
@@ -238,9 +238,10 @@ Hugginface. En el siguiente ejemplo de código se obtienen del conjunto de datos
|
|
238 |
|
239 |
|
240 |
`
|
241 |
-
spanishMedicaLllmDataset = load_dataset(SPANISH_MEDICA_LLM_DATASET, split="train")
|
242 |
spanishMedicaLllmDataset =
|
243 |
-
|
|
|
|
|
244 |
`
|
245 |
|
246 |
### Recommendations
|
|
|
238 |
|
239 |
|
240 |
`
|
|
|
241 |
spanishMedicaLllmDataset =
|
242 |
+
load_dataset(SPANISH_MEDICA_LLM_DATASET, split="train")
|
243 |
+
spanishMedicaLllmDataset =
|
244 |
+
spanishMedicaLllmDataset.filter(lambda example: example["topic_type"] in ['medical_diagnostic' | 'medical_topic'])
|
245 |
`
|
246 |
|
247 |
### Recommendations
|