Mykes commited on
Commit
7c9006b
1 Parent(s): 95de7cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from transformers import pipeline
5
  pipe = pipeline(task="ner",
6
  model='Mykes/rubert_ner_SDDCS',
7
  tokenizer='Mykes/rubert_ner_SDDCS',
8
- aggregation_strategy='max')
9
 
10
  def process_text(text):
11
  # Convert input to lowercase as in your example
 
5
  pipe = pipeline(task="ner",
6
  model='Mykes/rubert_ner_SDDCS',
7
  tokenizer='Mykes/rubert_ner_SDDCS',
8
+ aggregation_strategy='first')
9
 
10
  def process_text(text):
11
  # Convert input to lowercase as in your example