Instructions to use connorboyle/bert-ner-i2b2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use connorboyle/bert-ner-i2b2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="connorboyle/bert-ner-i2b2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("connorboyle/bert-ner-i2b2") model = AutoModelForTokenClassification.from_pretrained("connorboyle/bert-ner-i2b2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (f2078b160a08959836bf613295d82b6f776092cf) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>171548d
-
Fix ID2Label Attribute of Config
9769589
-
Update Model to Properly Truncated Version
The old version was trained on truncated strings that only had one [CLS] at the very beginning and one [SEP] at the very end. This version is trained on truncated strings that each have a [CLS] and [SEP] on either end.71d61d6
-
Add Tokenizer
d698976 -
Fix Config File Formatting
97f4c67 -
Move Model Files to Repo Root
634a5a6 -
Add Initial Model + README
6afcc8b -
initial commit
fdcf523