Token Classification
Transformers
TensorBoard
Safetensors
English
deberta-v2
named-entity-recognition
sequence-tagger-model
Instructions to use Babelscape/cner-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Babelscape/cner-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Babelscape/cner-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Babelscape/cner-base") model = AutoModelForTokenClassification.from_pretrained("Babelscape/cner-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -54,7 +54,7 @@ The original repository for the paper can be found at [https://github.com/Babels
|
|
| 54 |
|
| 55 |
## How to use
|
| 56 |
|
| 57 |
-
You can use this model with Transformers *pipeline*
|
| 58 |
|
| 59 |
```python
|
| 60 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
|
|
|
| 54 |
|
| 55 |
## How to use
|
| 56 |
|
| 57 |
+
You can use this model with Transformers *pipeline*.
|
| 58 |
|
| 59 |
```python
|
| 60 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|