philipp-zettl
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -4,6 +4,18 @@ tags:
|
|
4 |
- token-classification
|
5 |
language:
|
6 |
- multilingual
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
model-index:
|
8 |
- name: xx_eb_ner
|
9 |
results:
|
@@ -13,25 +25,30 @@ model-index:
|
|
13 |
metrics:
|
14 |
- name: NER Precision
|
15 |
type: precision
|
16 |
-
value: 0.
|
17 |
- name: NER Recall
|
18 |
type: recall
|
19 |
-
value: 0.
|
20 |
- name: NER F Score
|
21 |
type: f_score
|
22 |
-
value: 0.
|
|
|
|
|
23 |
---
|
24 |
-
|
25 |
-
|
26 |
-
|
|
27 |
-
|
|
28 |
-
| **
|
29 |
-
| **
|
30 |
-
| **
|
31 |
-
| **
|
32 |
-
| **
|
33 |
-
| **
|
34 |
-
| **
|
|
|
|
|
|
|
35 |
|
36 |
### Label Scheme
|
37 |
|
@@ -47,10 +64,35 @@ model-index:
|
|
47 |
|
48 |
### Accuracy
|
49 |
|
50 |
-
| Type
|
51 |
-
| ---
|
52 |
-
| `ENTS_F`
|
53 |
-
| `ENTS_P`
|
54 |
-
| `ENTS_R`
|
55 |
| `TOK2VEC_LOSS` | 35345.94 |
|
56 |
-
| `NER_LOSS`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
- token-classification
|
5 |
language:
|
6 |
- multilingual
|
7 |
+
widget:
|
8 |
+
- text: I'm looking for courses in machine learning.
|
9 |
+
example_title: Course example
|
10 |
+
- text: Can you send me some sales jobs?
|
11 |
+
example_title: Job example
|
12 |
+
- text: I'm from Berlin, Germany. Can you recommend courses to me?
|
13 |
+
example_title: Location example
|
14 |
+
- text: >-
|
15 |
+
Next month I will be moving to London. I'm looking for software development
|
16 |
+
jobs there. And can you recommend any language courses so I can meet new
|
17 |
+
people?
|
18 |
+
example_title: Mixed example
|
19 |
model-index:
|
20 |
- name: xx_eb_ner
|
21 |
results:
|
|
|
25 |
metrics:
|
26 |
- name: NER Precision
|
27 |
type: precision
|
28 |
+
value: 0.99471974
|
29 |
- name: NER Recall
|
30 |
type: recall
|
31 |
+
value: 0.9937070263
|
32 |
- name: NER F Score
|
33 |
type: f_score
|
34 |
+
value: 0.9942131253
|
35 |
+
license: mit
|
36 |
+
library_name: spacy
|
37 |
---
|
38 |
+
|
39 |
+
|
40 |
+
| Feature | Description |
|
41 |
+
| --- | --- |
|
42 |
+
| **Name** | `xx_eb_ner` |
|
43 |
+
| **Version** | `0.2.0` |
|
44 |
+
| **spaCy** | `>=3.6.1,<3.7.0` |
|
45 |
+
| **Default Pipeline** | `tok2vec`, `ner` |
|
46 |
+
| **Components** | `tok2vec`, `ner` |
|
47 |
+
| **Vectors** | 0 keys, 0 unique vectors (0 dimensions) |
|
48 |
+
| **Sources** | n/a |
|
49 |
+
| **License** | mit |
|
50 |
+
| **Author** | [philipp-zettl](https://huggingface.co/philipp-zettl) |
|
51 |
+
|
52 |
|
53 |
### Label Scheme
|
54 |
|
|
|
64 |
|
65 |
### Accuracy
|
66 |
|
67 |
+
| Type | Score |
|
68 |
+
| --- | --- |
|
69 |
+
| `ENTS_F` | 99.54 |
|
70 |
+
| `ENTS_P` | 99.56 |
|
71 |
+
| `ENTS_R` | 99.52 |
|
72 |
| `TOK2VEC_LOSS` | 35345.94 |
|
73 |
+
| `NER_LOSS` | 32265.61 |
|
74 |
+
|
75 |
+
|
76 |
+
|
77 |
+
### Usage
|
78 |
+
Install the model via pip:
|
79 |
+
```shell
|
80 |
+
pip install https://huggingface.co/philipp-zettl/xx_eb_ner/resolve/main/xx_eb_ner-any-py3-none-any.whl
|
81 |
+
```
|
82 |
+
|
83 |
+
For specific versions, please use the commits provided in the [source repository](https://huggingface.co/philipp-zettl/xx_eb_ner).
|
84 |
+
Example: version 0.1.0
|
85 |
+
```shell
|
86 |
+
pip install https://huggingface.co/philipp-zettl/xx_eb_ner/resolve/c8585148cabcfd04feec0745c17b148a48933f45/xx_eb_ner-any-py3-none-any.whl
|
87 |
+
```
|
88 |
+
|
89 |
+
After installing the model with it's dependencies, you can use it like any other SpaCy model:
|
90 |
+
```python
|
91 |
+
# Using spacy.load().
|
92 |
+
import spacy
|
93 |
+
nlp = spacy.load("xx_eb_ner")
|
94 |
+
|
95 |
+
# Importing as module.
|
96 |
+
import xx_eb_ner
|
97 |
+
nlp = xx_eb_ner.load()
|
98 |
+
```
|