AI-Enthusiast11 commited on
Commit
0cc0579
·
verified ·
1 Parent(s): 3ec3718

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -126,7 +126,7 @@ def redact_text_with_labels(text):
126
 
127
 
128
  #Loading the pipeline
129
- nlp = pipeline("ner", model=model_fine_tuned, tokenizer=tokenizer, aggregation_strategy="simple")
130
 
131
  # Example input (choose one from your examples)
132
  example = "Hi, I’m Mia Thompson. I recently noticed that my electricity bill hasn’t been updated despite making the payment last week. I used account number 4893172051 linked with routing number 192847561. My service was nearly suspended, and I’d appreciate it if you could verify the payment. You can reach me at 727-814-3902 if more information is needed."
 
126
 
127
 
128
  #Loading the pipeline
129
+ nlp = pipeline("ner", model=model_name, tokenizer=tokenizer, aggregation_strategy="simple")
130
 
131
  # Example input (choose one from your examples)
132
  example = "Hi, I’m Mia Thompson. I recently noticed that my electricity bill hasn’t been updated despite making the payment last week. I used account number 4893172051 linked with routing number 192847561. My service was nearly suspended, and I’d appreciate it if you could verify the payment. You can reach me at 727-814-3902 if more information is needed."