Downloads · 30 days
23
2% of all-time downloads
CLTL/icf-levels-ins
icf-levels-ins is a text classification model from CLTL. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
A fine-tuned regression model that assigns a functioning level to Dutch sentences describing exercise tolerance functions. The model is based on a pre-trained Dutch medical language model (link to be added): a RoBERTa…
Downloads · 30 days
23
2% of all-time downloads
All-time downloads
1.1K
Public
Repo size
1 GB
Likes
1
Public
Click a slice to open those files.
.bin506 MB · 99%
From the Hugging Face model README
A fine-tuned regression model that assigns a functioning level to Dutch sentences describing exercise tolerance functions. The model is based on a pre-trained Dutch medical language model (link to be added): a RoBERTa model, trained from scratch on clinical notes of the Amsterdam UMC. To detect sentences about exercise tolerance functions in clinical text in Dutch, use the icf-domains classification model.
| Level | Meaning |
|---|---|
| 5 | MET>6. Can tolerate jogging, hard exercises, running, climbing stairs fast, sports. |
| 4 | 4≤MET≤6. Can tolerate walking / cycling at a brisk pace, considerable effort (e.g. cycling from 16 km/h), heavy housework. |
| 3 | 3≤MET<4. Can tolerate walking / cycling at a normal pace, gardening, exercises without equipment. |
| 2 | 2≤MET<3. Can tolerate walking at a slow to moderate pace, grocery shopping, light housework. |
| 1 | 1≤MET<2. Can tolerate sitting activities. |
| 0 | 0≤MET<1. Can physically tolerate only recumbent activities. |
The predictions generated by the model might sometimes be outside of the scale (e.g. 5.2); this is normal in a regression model.
pipeline and classes; doing so would generate incorrect outputs. For this reason, the API on this page is disabled.To generate predictions with the model, use the Simple Transformers library:
from simpletransformers.classification import ClassificationModel
model = ClassificationModel(
'roberta',
'CLTL/icf-levels-ins',
use_cuda=False,
)
example = 'kan nog goed traplopen, maar flink ingeleverd aan conditie na Corona'
_, raw_outputs = model.predict([example])
predictions = np.squeeze(raw_outputs)
The prediction on the example is:
3.13
The raw outputs look like this:
[[3.1300993]]
The default training parameters of Simple Transformers were used, including:
The evaluation is done on a sentence-level (the classification unit) and on a note-level (the aggregated unit which is meaningful for the healthcare professionals).
| Sentence-level | Note-level | |
|---|---|---|
| mean absolute error | 0.69 | 0.61 |
| mean squared error | 0.80 | 0.64 |
| root mean squared error | 0.89 | 0.80 |
Jenia Kim, Piek Vossen
TBD