rigonsallauka
commited on
Commit
•
11619c3
1
Parent(s):
056767f
Update README.md
Browse files
README.md
CHANGED
@@ -55,6 +55,8 @@ tags:
|
|
55 |
- precision = 0.8084832904884319
|
56 |
- recall = 0.7930123311802701
|
57 |
|
|
|
|
|
58 |
## How to Use
|
59 |
You can easily use this model with the Hugging Face `transformers` library. Here's an example of how to load and use the model for inference:
|
60 |
|
@@ -71,4 +73,5 @@ model = AutoModelForTokenClassification.from_pretrained(model_name)
|
|
71 |
text = "The patient complained of severe headaches and nausea that had persisted for two days. To alleviate the symptoms, he was prescribed paracetamol and advised to rest and drink plenty of fluids."
|
72 |
|
73 |
# Tokenize the input text
|
74 |
-
inputs = tokenizer(text, return_tensors="pt")
|
|
|
|
55 |
- precision = 0.8084832904884319
|
56 |
- recall = 0.7930123311802701
|
57 |
|
58 |
+
Visit [HUMADEX/Weekly-Supervised-NER-pipline](https://github.com/HUMADEX/Weekly-Supervised-NER-pipline) for more info.
|
59 |
+
|
60 |
## How to Use
|
61 |
You can easily use this model with the Hugging Face `transformers` library. Here's an example of how to load and use the model for inference:
|
62 |
|
|
|
73 |
text = "The patient complained of severe headaches and nausea that had persisted for two days. To alleviate the symptoms, he was prescribed paracetamol and advised to rest and drink plenty of fluids."
|
74 |
|
75 |
# Tokenize the input text
|
76 |
+
inputs = tokenizer(text, return_tensors="pt")
|
77 |
+
|