Jenit Jain commited on
Commit
44e7ec6
·
1 Parent(s): 2e12658

Update example code

Browse files
Files changed (1) hide show
  1. README.md +5 -4
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/brabus61/en_finding_fossils_transformer/resolve/main/en_finding_fossils_transformer-any-py3-none-any.whl
92
  ```
93
 
94
  ```python
95
  # Using spacy.load().
96
  import spacy
97
- nlp = spacy.load("en_finding_fossils_transformer")
98
 
99
  # Importing as module.
100
- import en_finding_fossils_transformer
101
- ner_pipe = en_finding_fossils_transformer.load()
 
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 = []