Instructions to use tarekziade/distilbert-NER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tarekziade/distilbert-NER with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="tarekziade/distilbert-NER")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("tarekziade/distilbert-NER") model = AutoModelForTokenClassification.from_pretrained("tarekziade/distilbert-NER", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
#1
by wozat - opened
README.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
| 3 |
---
|
| 4 |
|
| 5 |
This is just a conversion of https://huggingface.co/dslim/distilbert-NER into ONNX files so the model can be used with Transformers.js
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
library_name: transformers.js
|
| 4 |
---
|
| 5 |
|
| 6 |
This is just a conversion of https://huggingface.co/dslim/distilbert-NER into ONNX files so the model can be used with Transformers.js
|