Token Classification
Transformers
Safetensors
xlm-roberta
ner
named-entity-recognition
clinical-ner
biomedical-ner
multilingual
Instructions to use BSC-NLP4BIA/DT4H_XLM-R_stl_multilingual_disease with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BSC-NLP4BIA/DT4H_XLM-R_stl_multilingual_disease with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="BSC-NLP4BIA/DT4H_XLM-R_stl_multilingual_disease")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("BSC-NLP4BIA/DT4H_XLM-R_stl_multilingual_disease") model = AutoModelForTokenClassification.from_pretrained("BSC-NLP4BIA/DT4H_XLM-R_stl_multilingual_disease", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
815d806 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:61b18d7379960487ae5be3a28fc27b4bda5fbcd05e444d952f2ba1aef9bca31c
size 5201
|