Jenit Jain
commited on
Commit
·
44e7ec6
1
Parent(s):
2e12658
Update example code
Browse files
README.md
CHANGED
|
@@ -88,17 +88,18 @@ This model was trained entirely on English research articles and will likely not
|
|
| 88 |
Use the code below to get started with the model.
|
| 89 |
|
| 90 |
```bash
|
| 91 |
-
pip install https://huggingface.co/
|
| 92 |
```
|
| 93 |
|
| 94 |
```python
|
| 95 |
# Using spacy.load().
|
| 96 |
import spacy
|
| 97 |
-
nlp = spacy.load("
|
| 98 |
|
| 99 |
# Importing as module.
|
| 100 |
-
import
|
| 101 |
-
ner_pipe =
|
|
|
|
| 102 |
doc = ner_pipe("In Northern Canada, the BGC site core was primarily made up of Pinus pollen.")
|
| 103 |
|
| 104 |
entities = []
|
|
|
|
| 88 |
Use the code below to get started with the model.
|
| 89 |
|
| 90 |
```bash
|
| 91 |
+
pip install https://huggingface.co/finding-fossils/metaextractor-spacy/resolve/main/en_metaextractor_spacy-0.0.0-py3-none-any.whl
|
| 92 |
```
|
| 93 |
|
| 94 |
```python
|
| 95 |
# Using spacy.load().
|
| 96 |
import spacy
|
| 97 |
+
nlp = spacy.load("en_metaextractor_spacy")
|
| 98 |
|
| 99 |
# Importing as module.
|
| 100 |
+
import en_metaextractor_spacy
|
| 101 |
+
ner_pipe = en_metaextractor_spacy.load()
|
| 102 |
+
|
| 103 |
doc = ner_pipe("In Northern Canada, the BGC site core was primarily made up of Pinus pollen.")
|
| 104 |
|
| 105 |
entities = []
|