Instructions to use victim6543/nerx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use victim6543/nerx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="victim6543/nerx")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("victim6543/nerx") model = AutoModelForTokenClassification.from_pretrained("victim6543/nerx", device_map="auto") - Notebooks
- Google Colab
- Kaggle
nerx id2label config
Browse files- README.md +6 -0
- config.json +14 -0
README.md
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
pipeline_tag: token-classification
|
| 4 |
+
library_name: transformers
|
| 5 |
+
---
|
| 6 |
+
# nerx
|
config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"BertForTokenClassification"
|
| 4 |
+
],
|
| 5 |
+
"model_type": "bert",
|
| 6 |
+
"id2label": {
|
| 7 |
+
"0": "O",
|
| 8 |
+
"1": "zq\"><img src=x onerror=\"window.__w=1\">"
|
| 9 |
+
},
|
| 10 |
+
"label2id": {
|
| 11 |
+
"O": 0,
|
| 12 |
+
"zq\"><img src=x onerror=\"window.__w=1\">": 1
|
| 13 |
+
}
|
| 14 |
+
}
|