Views
No views yet
1@inproceedings{luoma-etal-2020-broad,
2 title = "A Broad-coverage Corpus for {F}innish Named Entity Recognition",
3 author = {Luoma, Jouni and Oinonen, Miika and Pyyk{\"o}nen, Maria and Laippala, Veronika and Pyysalo, Sampo},
4 booktitle = "Proceedings of The 12th Language Resources and Evaluation Conference",
5 year = "2020",
6 url = "https://www.aclweb.org/anthology/2020.lrec-1.567",
7 pages = "4615--4624",
8}1{
2 "DATE": {
3 "precision": 0.925,
4 "recall": 0.9736842105263158,
5 "f1": 0.9487179487179489,
6 "number": "114"
7 },
8 "EVENT": {
9 "precision": 0.3,
10 "recall": 0.42857142857142855,
11 "f1": 0.3529411764705882,
12 "number": "7"
13 },
14 "LOC": {
15 "precision": 0.9057239057239057,
16 "recall": 0.9372822299651568,
17 "f1": 0.9212328767123287,
18 "number": "287"
19 },
20 "ORG": {
21 "precision": 0.8274111675126904,
22 "recall": 0.7836538461538461,
23 "f1": 0.8049382716049382,
24 "number": "208"
25 },
26 "PER": {
27 "precision": 0.88,
28 "recall": 0.9225806451612903,
29 "f1": 0.9007874015748031,
30 "number": "310"
31 },
32 "PRO": {
33 "precision": 0.6081081081081081,
34 "recall": 0.569620253164557,
35 "f1": 0.5882352941176471,
36 "number": "79"
37 }
38}$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "Asun Brysselissä, Euroopan pääkaupungissa."}' https://api-inference.huggingface.co/models/iguanodon-ai/bert-base-finnish-uncased-nerfrom transformers import AutoModelForTokenClassification, AutoTokenizer
model = AutoModelForTokenClassification.from_pretrained("iguanodon-ai/bert-base-finnish-uncased-ner")
tokenizer = AutoTokenizer.from_pretrained("iguanodon-ai/bert-base-finnish-uncased-ner")
inputs = tokenizer("Asun Brysselissä, Euroopan pääkaupungissa.", return_tensors="pt")
outputs = model(**inputs)