Views
No views yet
| Level | Meaning |
|---|---|
| 4 | Can work/study fully (like when healthy). |
| 3 | Can work/study almost fully. |
| 2 | Can work/study only for about 50%, or can only work at home and cannot go to school / office. |
| 1 | Work/study is severely limited. |
| 0 | Cannot work/study. |
pipeline and classes; doing so would generate incorrect outputs. For this reason, the API on this page is disabled.from simpletransformers.classification import ClassificationModel
model = ClassificationModel(
'roberta',
'CLTL/icf-levels-ber',
use_cuda=False,
)
example = 'Fysiek zwaar werk is niet mogelijk, maar administrative taken zou zij wel aan moeten kunnen.'
_, raw_outputs = model.predict([example])
predictions = np.squeeze(raw_outputs)2.41[[2.40793037]]| Sentence-level | Note-level | |
|---|---|---|
| mean absolute error | 1.56 | 1.49 |
| mean squared error | 3.06 | 2.85 |
| root mean squared error | 1.75 | 1.69 |