Update README.md
Browse files
README.md
CHANGED
@@ -63,4 +63,35 @@ pipeline_tag: token-classification
|
|
63 |
| `ENTS_P` | 95.98 |
|
64 |
| `ENTS_R` | 96.22 |
|
65 |
| `TOK2VEC_LOSS` | 219378.28 |
|
66 |
-
| `NER_LOSS` | 68755.91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
| `ENTS_P` | 95.98 |
|
64 |
| `ENTS_R` | 96.22 |
|
65 |
| `TOK2VEC_LOSS` | 219378.28 |
|
66 |
+
| `NER_LOSS` | 68755.91 |
|
67 |
+
|
68 |
+
## Usage
|
69 |
+
### Presequities
|
70 |
+
Install spaCy library
|
71 |
+
```bash
|
72 |
+
pip install spacy
|
73 |
+
```
|
74 |
+
|
75 |
+
Install Transformers library
|
76 |
+
```bash
|
77 |
+
pip install transformers
|
78 |
+
```
|
79 |
+
|
80 |
+
Download the model
|
81 |
+
```bash
|
82 |
+
pip install https://huggingface.co/ychafiqui/fr_job_info_extr_fr/resolve/main/fr_job_info_extr_fr-any-py3-none-any.whl
|
83 |
+
```
|
84 |
+
|
85 |
+
### Load the model
|
86 |
+
```python
|
87 |
+
import spacy
|
88 |
+
nlp = spacy.load("fr_job_info_extr_fr")
|
89 |
+
```
|
90 |
+
|
91 |
+
### Inference using the model
|
92 |
+
```python
|
93 |
+
doc = nlp('put your job description here')
|
94 |
+
|
95 |
+
for ent in doc.ents:
|
96 |
+
print(ent.text, "-", ent.label_)
|
97 |
+
```
|