tomaarsen HF staff commited on
Commit
f7ee6a6
1 Parent(s): 7c11c15

Add metrics and examples

Browse files
Files changed (1) hide show
  1. README.md +51 -2
README.md CHANGED
@@ -8,6 +8,55 @@ tags:
8
  - ner
9
  - named-entity-recognition
10
  pipeline_tag: token-classification
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  # SpanMarker for Named Entity Recognition
@@ -28,9 +77,9 @@ You can then run inference with this model like so:
28
  from span_marker import SpanMarkerModel
29
 
30
  # Download from the 🤗 Hub
31
- model = SpanMarkerModel.from_pretrained("span_marker_model_name")
32
  # Run inference
33
- entities = model.predict("Amelia Earhart flew her single engine Lockheed Vega 5B across the Atlantic to Paris.")
34
  ```
35
 
36
  See the [SpanMarker](https://github.com/tomaarsen/SpanMarkerNER) repository for documentation and additional information on this library.
 
8
  - ner
9
  - named-entity-recognition
10
  pipeline_tag: token-classification
11
+ widget:
12
+ - text: "Amelia Earthart voló su Lockheed Vega 5B monomotor a través del Océano Atlántico hasta París ."
13
+ example_title: "Spanish"
14
+ - text: "Amelia Earhart flew her single engine Lockheed Vega 5B across the Atlantic to Paris ."
15
+ example_title: "English"
16
+ - text: "Amelia Earthart a fait voler son monomoteur Lockheed Vega 5B à travers l'ocean Atlantique jusqu'à Paris ."
17
+ example_title: "French"
18
+ - text: "Amelia Earthart flog mit ihrer einmotorigen Lockheed Vega 5B über den Atlantik nach Paris ."
19
+ example_title: "German"
20
+ - text: "Амелия Эртхарт перелетела на своем одномоторном самолете Lockheed Vega 5B через Атлантический океан в Париж ."
21
+ example_title: "Russian"
22
+ - text: "Amelia Earthart vloog met haar één-motorige Lockheed Vega 5B over de Atlantische Oceaan naar Parijs ."
23
+ example_title: "Dutch"
24
+ - text: "Amelia Earthart przeleciała swoim jednosilnikowym samolotem Lockheed Vega 5B przez Ocean Atlantycki do Paryża ."
25
+ example_title: "Polish"
26
+ - text: "Amelia Earthart flaug eins hreyfils Lockheed Vega 5B yfir Atlantshafið til Parísar ."
27
+ example_title: "Icelandic"
28
+ - text: "Η Amelia Earthart πέταξε το μονοκινητήριο Lockheed Vega 5B της πέρα ​​από τον Ατλαντικό Ωκεανό στο Παρίσι ."
29
+ example_title: "Greek"
30
+ model-index:
31
+ - name: SpanMarker w. roberta-base on finegrained, supervised FewNERD by Tom Aarsen
32
+ results:
33
+ - task:
34
+ type: token-classification
35
+ name: Named Entity Recognition
36
+ dataset:
37
+ type: DFKI-SLT/few-nerd
38
+ name: finegrained, supervised FewNERD
39
+ config: supervised
40
+ split: test
41
+ revision: 2e3e727c63604fbfa2ff4cc5055359c84fe5ef2c
42
+ metrics:
43
+ - type: f1
44
+ value: 0.6860
45
+ name: F1
46
+ - type: precision
47
+ value: 0.6847
48
+ name: Precision
49
+ - type: recall
50
+ value: 0.6873
51
+ name: Recall
52
+ datasets:
53
+ - DFKI-SLT/few-nerd
54
+ language:
55
+ - en
56
+ metrics:
57
+ - f1
58
+ - recall
59
+ - precision
60
  ---
61
 
62
  # SpanMarker for Named Entity Recognition
 
77
  from span_marker import SpanMarkerModel
78
 
79
  # Download from the 🤗 Hub
80
+ model = SpanMarkerModel.from_pretrained("tomaarsen/span-marker-xlm-roberta-base-fewnerd-fine-super")
81
  # Run inference
82
+ entities = model.predict("Amelia Earhart flew her single engine Lockheed Vega 5B across the Atlantic to Paris .")
83
  ```
84
 
85
  See the [SpanMarker](https://github.com/tomaarsen/SpanMarkerNER) repository for documentation and additional information on this library.