Views
No views yet
| label | type | description | example |
|---|---|---|---|
| E | Epistemic | The proposition is possible, but its truth-value cannot be decided at the moment. | She may be already asleep. |
| I | Investigation | The proposition is in the process of having its truth-value determined. | She examined the role of NF-kappaB in protein activation. |
| D | Doxatic | The proposition expresses beliefs and hypotheses, which may be known as true or false by others. | She believes that the Earth is flat. |
| N | Condition | The proposition is true or false based on the truth-value of another proposition. | If she gets the job, she will move to Utrecht. |
| C | certain | n/a | n/a |
pipeline and classes; doing so would generate incorrect outputs. For this reason, the API on this page is disabled.from simpletransformers.ner import NERModel
model = NERModel(
'bert',
'jeniakim/hedgehog',
use_cuda=False,
labels=["C", "D", "E", "I", "N"],
)
example = "As much as I definitely enjoy solitude, I wouldn't mind perhaps spending little time with you (Björk)"
predictions, raw_outputs = model.predict([example])[[{'As': 'C'},
{'much': 'C'},
{'as': 'C'},
{'I': 'C'},
{'definitely': 'C'},
{'enjoy': 'C'},
{'solitude,': 'C'},
{'I': 'C'},
{"wouldn't": 'C'},
{'mind': 'C'},
{'perhaps': 'E'},
{'spending': 'C'},
{'little': 'C'},
{'time': 'C'},
{'with': 'C'},
{'you': 'C'},
{'(Björk)': 'C'}]]train.pkl 137MB, test.pkl 17MB, dev.pkl 17MB) or the full dataset (szeged_fixed.pkl 172MB). Each row in the df contains a token, its features (these are not relevant for HEDGEhog; they were used to train the baseline CRF model, see here), its sentence ID, and its label.| class | precision | recall | F1-score | support |
|---|---|---|---|---|
| Epistemic | 0.90 | 0.85 | 0.88 | 624 |
| Doxatic | 0.88 | 0.92 | 0.90 | 142 |
| Investigation | 0.83 | 0.86 | 0.84 | 111 |
| Condition | 0.85 | 0.87 | 0.86 | 86 |
| Certain | 1.00 | 1.00 | 1.00 | 104,751 |
| macro average | 0.89 | 0.90 | 0.89 | 105,714 |