Token Classification
Transformers
Safetensors
English
xlm-roberta
relation-extraction
romanian
span-detection
ner
Instructions to use DS4AI-UPB/span-detector-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DS4AI-UPB/span-detector-en with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="DS4AI-UPB/span-detector-en")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("DS4AI-UPB/span-detector-en") model = AutoModelForTokenClassification.from_pretrained("DS4AI-UPB/span-detector-en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
dc69b0c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:19ffc61f7cb57aa8c419fa9d2409c2af1abf4a92ba5a12c60a09cafa5a59c9b1
size 17098184
|