disaggregators / README.md
dawood's picture
dawood HF staff
Update README.md
ade39d0
---
title: Disaggregators
emoji: 🔥
colorFrom: red
colorTo: green
sdk: gradio
sdk_version: 3.16.2
app_file: app.py
pinned: false
duplicated_from: society-ethics/disaggregators
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Friction log:
- (Gradio) the dataset's .click handler doesn't refresh if I chagnge the samples in the dataset, so I have to find a workaround...
- (DMT) installing it is a nightmare, especially when I just want to use it as a library
```python
from data_measurements.dataset_statistics import DatasetStatisticsCacheClass as dmt_cls
dstats = dmt_cls(dset_name="NimaBoscarino/medmcqa_age_gender", dset_config=None, split_name="train", text_field="question", label_field=(), label_names=[], use_cache=True) # Maybe values for label_field and label_names??
label_obj = labels.DMTHelper(dstats, load_only=False, save=dstats.save)
```