Instructions to use d4data/en_pipeline with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use d4data/en_pipeline with spaCy:
!pip install https://huggingface.co/d4data/en_pipeline/resolve/main/en_pipeline-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("en_pipeline") # Importing as module. import en_pipeline nlp = en_pipeline.load() - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -46,11 +46,9 @@ This model is trained on MBAD Dataset to recognize the biased word/phrases in a
|
|
| 46 |
## Usage
|
| 47 |
The easiest way is to load through the pipeline object offered by transformers library.
|
| 48 |
```python
|
| 49 |
-
# Using spacy.load().
|
| 50 |
import spacy
|
| 51 |
nlp = spacy.load("en_pipeline")
|
| 52 |
|
| 53 |
-
# Importing as module.
|
| 54 |
import en_pipeline
|
| 55 |
nlp = en_pipeline.load()
|
| 56 |
---
|
|
|
|
| 46 |
## Usage
|
| 47 |
The easiest way is to load through the pipeline object offered by transformers library.
|
| 48 |
```python
|
|
|
|
| 49 |
import spacy
|
| 50 |
nlp = spacy.load("en_pipeline")
|
| 51 |
|
|
|
|
| 52 |
import en_pipeline
|
| 53 |
nlp = en_pipeline.load()
|
| 54 |
---
|