Dmitry Chaplinsky
commited on
Commit
·
b0b8d8f
1
Parent(s):
449f919
Reverting pipeline
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
|
@@ -46,7 +46,7 @@ class PreTrainedPipeline:
|
|
| 46 |
res.append(
|
| 47 |
{
|
| 48 |
"entity_group": lab,
|
| 49 |
-
"word":
|
| 50 |
"start": offset,
|
| 51 |
"end": offset + len(tok),
|
| 52 |
"score": 0.99,
|
|
|
|
| 46 |
res.append(
|
| 47 |
{
|
| 48 |
"entity_group": lab,
|
| 49 |
+
"word": tok,
|
| 50 |
"start": offset,
|
| 51 |
"end": offset + len(tok),
|
| 52 |
"score": 0.99,
|