File size: 915 Bytes
924d3bd
 
 
 
 
 
ade39d0
924d3bd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
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)

```