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
|
@@ -43,3 +43,20 @@ This model is trained on MBAD Dataset to recognize the biased word/phrases in a
|
|
| 43 |
| **Components** | `transformer`, `ner` |
|
| 44 |
|
| 45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
| **Components** | `transformer`, `ner` |
|
| 44 |
|
| 45 |
|
| 46 |
+
## Usage
|
| 47 |
+
The easiest way is to load through the pipeline object offered by transformers library.
|
| 48 |
+
```python
|
| 49 |
+
!pip install https://huggingface.co/dreji18/en_pipeline/resolve/main/en_pipeline-any-py3-none-any.whl
|
| 50 |
+
|
| 51 |
+
# Using spacy.load().
|
| 52 |
+
import spacy
|
| 53 |
+
nlp = spacy.load("en_pipeline")
|
| 54 |
+
|
| 55 |
+
# Importing as module.
|
| 56 |
+
import en_pipeline
|
| 57 |
+
nlp = en_pipeline.load()
|
| 58 |
+
---
|
| 59 |
+
|
| 60 |
+
## Author
|
| 61 |
+
This model is part of the Research topic "Bias and Fairness in AI" conducted by Deepak John Reji, Shaina Raza. If you use this work (code, model or dataset), please cite as:
|
| 62 |
+
> Bias & Fairness in AI, (2020), GitHub repository, <https://github.com/dreji18/Fairness-in-AI/tree/dev>
|