Update README.md
Browse files
README.md
CHANGED
@@ -126,7 +126,7 @@ def redact_text_with_labels(text):
|
|
126 |
|
127 |
|
128 |
#Loading the pipeline
|
129 |
-
nlp = pipeline("ner", model=
|
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."
|