ResearchEngineering commited on
Commit
ddebd3a
·
verified ·
1 Parent(s): 4b67bac

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -574,10 +574,10 @@ def load_financial_models():
574
 
575
  # Load Financial NER model and tokenizer explicitly
576
  ner_tokenizer = AutoTokenizer.from_pretrained(
577
- "elastic/distilbert-base-cased-finetuned-conll03-english", cache_dir=cache_dir
578
  )
579
  ner_model = AutoModelForTokenClassification.from_pretrained(
580
- "elastic/distilbert-base-cased-finetuned-conll03-english", cache_dir=cache_dir
581
  )
582
 
583
  # Then create pipeline using objects
 
574
 
575
  # Load Financial NER model and tokenizer explicitly
576
  ner_tokenizer = AutoTokenizer.from_pretrained(
577
+ "Jean-Baptiste/roberta-large-ner-english", cache_dir=cache_dir
578
  )
579
  ner_model = AutoModelForTokenClassification.from_pretrained(
580
+ "Jean-Baptiste/roberta-large-ner-english", cache_dir=cache_dir
581
  )
582
 
583
  # Then create pipeline using objects