Instructions to use KindLab/roberta-deid with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KindLab/roberta-deid with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="KindLab/roberta-deid")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("KindLab/roberta-deid") model = AutoModelForTokenClassification.from_pretrained("KindLab/roberta-deid", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
9da6479 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:9ed2bd59fe0d0ec5fc11a6f898224d39d7c74fa23fd9791a6a188c65cd74fbae
size 3247
|