Instructions to use protectai/bert-base-NER-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use protectai/bert-base-NER-onnx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="protectai/bert-base-NER-onnx")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("protectai/bert-base-NER-onnx") model = AutoModelForTokenClassification.from_pretrained("protectai/bert-base-NER-onnx", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,6 +12,11 @@ datasets:
|
|
| 12 |
base_model: dslim/bert-base-NER
|
| 13 |
---
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
# ONNX version of dslim/bert-base-NER
|
| 16 |
|
| 17 |
**This model is a conversion of [dslim/bert-base-NER](https://huggingface.co/dslim/bert-base-NER) to ONNX** format using the [🤗 Optimum](https://huggingface.co/docs/optimum/index) library.
|
|
|
|
| 12 |
base_model: dslim/bert-base-NER
|
| 13 |
---
|
| 14 |
|
| 15 |
+
> [!WARNING]
|
| 16 |
+
> **THIS PROJECT HAS BEEN ARCHIVED.**
|
| 17 |
+
>
|
| 18 |
+
> This project and its associated code on [GitHub](https://github.com/protectai/llm-guard) are no longer under active development or maintained.
|
| 19 |
+
|
| 20 |
# ONNX version of dslim/bert-base-NER
|
| 21 |
|
| 22 |
**This model is a conversion of [dslim/bert-base-NER](https://huggingface.co/dslim/bert-base-NER) to ONNX** format using the [🤗 Optimum](https://huggingface.co/docs/optimum/index) library.
|