Update README.md
Browse files
README.md
CHANGED
|
@@ -32,11 +32,36 @@ You can use this model with a Transformers `pipeline` for token classification:
|
|
| 32 |
>>> sentences = ['Die Pflanze sei im Laufe der Zeit unscheinbarer geworden und damit für Menschen schwerer zu finden, berichten die Forscher im Fachmagazin Current Biology.']
|
| 33 |
>>> journal_identifier(sentences)
|
| 34 |
|
| 35 |
-
[[{'entity': 'J-Start',
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
```
|
| 41 |
|
| 42 |
### Limitations
|
|
|
|
| 32 |
>>> sentences = ['Die Pflanze sei im Laufe der Zeit unscheinbarer geworden und damit für Menschen schwerer zu finden, berichten die Forscher im Fachmagazin Current Biology.']
|
| 33 |
>>> journal_identifier(sentences)
|
| 34 |
|
| 35 |
+
[[{'entity': 'J-Start',
|
| 36 |
+
'score': np.float32(0.9984914),
|
| 37 |
+
'index': 27,
|
| 38 |
+
'word': 'Cur',
|
| 39 |
+
'start': 138,
|
| 40 |
+
'end': 141},
|
| 41 |
+
{'entity': 'J-Start',
|
| 42 |
+
'score': np.float32(0.9978611),
|
| 43 |
+
'index': 28,
|
| 44 |
+
'word': '##rent',
|
| 45 |
+
'start': 141,
|
| 46 |
+
'end': 145},
|
| 47 |
+
{'entity': 'J-Inner',
|
| 48 |
+
'score': np.float32(0.99738055),
|
| 49 |
+
'index': 29,
|
| 50 |
+
'word': 'Bio',
|
| 51 |
+
'start': 146,
|
| 52 |
+
'end': 149},
|
| 53 |
+
{'entity': 'J-Inner',
|
| 54 |
+
'score': np.float32(0.9970715),
|
| 55 |
+
'index': 30,
|
| 56 |
+
'word': '##log',
|
| 57 |
+
'start': 149,
|
| 58 |
+
'end': 152},
|
| 59 |
+
{'entity': 'J-Inner',
|
| 60 |
+
'score': np.float32(0.99715745),
|
| 61 |
+
'index': 31,
|
| 62 |
+
'word': '##y',
|
| 63 |
+
'start': 152,
|
| 64 |
+
'end': 153}]]
|
| 65 |
```
|
| 66 |
|
| 67 |
### Limitations
|