Shredder commited on
Commit
2d6c996
1 Parent(s): 79b397d

Update Cuad_others.py

Browse files
Files changed (1) hide show
  1. Cuad_others.py +1 -1
Cuad_others.py CHANGED
@@ -20,7 +20,7 @@ def summarize_text(text):
20
 
21
 
22
  ##Company Extraction
23
- ner=pipeline('ner',model='Jean-Baptiste/camembert-ner',tokenizer='Jean-Baptiste/camembert-ner-with-dates', aggregation_strategy="simple")
24
  def fin_ner(text):
25
  replaced_spans = ner(text)
26
  new_spans=[]
 
20
 
21
 
22
  ##Company Extraction
23
+ ner=pipeline('ner',model='Jean-Baptiste/camembert-ner-with-dates',tokenizer='Jean-Baptiste/camembert-ner-with-dates', aggregation_strategy="simple")
24
  def fin_ner(text):
25
  replaced_spans = ner(text)
26
  new_spans=[]