Instructions to use obi/deid_bert_i2b2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use obi/deid_bert_i2b2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="obi/deid_bert_i2b2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("obi/deid_bert_i2b2") model = AutoModelForTokenClassification.from_pretrained("obi/deid_bert_i2b2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
updated README
Browse files
README.md
CHANGED
|
@@ -12,7 +12,6 @@ thumbnail: "https://www.onebraveidea.org/wp-content/uploads/2019/07/OBI-Logo-Web
|
|
| 12 |
tags:
|
| 13 |
- deidentification
|
| 14 |
- medical notes
|
| 15 |
-
license: "any valid license identifier"
|
| 16 |
datasets:
|
| 17 |
- I2B2
|
| 18 |
metrics:
|
|
|
|
| 12 |
tags:
|
| 13 |
- deidentification
|
| 14 |
- medical notes
|
|
|
|
| 15 |
datasets:
|
| 16 |
- I2B2
|
| 17 |
metrics:
|