Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
08b92f78
Unverified
Commit
08b92f78
authored
Nov 06, 2020
by
Karthik Uppuluri
Committed by
GitHub
Nov 06, 2020
Browse files
Create README.md (#8168)
* Create README.md * Update README.md
parent
77d62e78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
model_cards/kuppuluri/telugu_bertu_ner/README.md
model_cards/kuppuluri/telugu_bertu_ner/README.md
+35
-0
No files found.
model_cards/kuppuluri/telugu_bertu_ner/README.md
0 → 100644
View file @
08b92f78
# Named Entity Recognition Model for Telugu
#### How to use
```
python
from
simpletransformers.ner
import
NERModel
model
=
NERModel
(
'bert'
,
'kuppuluri/telugu_bertu_ner'
,
labels
=
[
'B-PERSON'
,
'I-ORG'
,
'B-ORG'
,
'I-LOC'
,
'B-MISC'
,
'I-MISC'
,
'I-PERSON'
,
'B-LOC'
,
'O'
],
use_cuda
=
False
,
args
=
{
"use_multiprocessing"
:
False
})
text
=
"విరాట్ కోహ్లీ కూడా అదే నిర్లక్ష్యాన్ని ప్రదర్శించి కేవలం ఒక పరుగుకే రనౌటై పెవిలియన్ చేరాడు ."
results
=
model
.
predict
([
text
])
```
## Training data
Training data is from https://github.com/anikethjr/NER_Telugu
## Eval results
On the test set my results were
eval_loss = 0.0004407190410447974
f1_score = 0.999519076627124
precision = 0.9994389677005691
recall = 0.9995991983967936
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment