aimlnerd commited on
Commit
2f1c29b
1 Parent(s): 35f2a2f
Files changed (1) hide show
  1. source/services/ner/train/train.py +1 -1
source/services/ner/train/train.py CHANGED
@@ -346,7 +346,7 @@ unwrapped_model.save_pretrained(output_dir, save_function=accelerator.save)
346
  from transformers import pipeline
347
 
348
  # Replace this with your own checkpoint
349
- model_checkpoint = "aimlnerd/bert-finetuned-legalentity-ner"
350
  token_classifier = pipeline(
351
  "token-classification", model=model_checkpoint, aggregation_strategy="simple"
352
  )
 
346
  from transformers import pipeline
347
 
348
  # Replace this with your own checkpoint
349
+ model_checkpoint = "aimlnerd/bert-finetuned-legalentity-ner-accelerate"
350
  token_classifier = pipeline(
351
  "token-classification", model=model_checkpoint, aggregation_strategy="simple"
352
  )