Dmitry Chaplinsky commited on
Commit
b0b8d8f
·
1 Parent(s): 449f919

Reverting pipeline

Browse files
Files changed (1) hide show
  1. pipeline.py +1 -1
pipeline.py CHANGED
@@ -46,7 +46,7 @@ class PreTrainedPipeline:
46
  res.append(
47
  {
48
  "entity_group": lab,
49
- "word": self.apply_label_to_token(tok, lab),
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,