Instructions to use samrawal/bert-large-uncased_med-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use samrawal/bert-large-uncased_med-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="samrawal/bert-large-uncased_med-ner")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("samrawal/bert-large-uncased_med-ner") model = AutoModelForTokenClassification.from_pretrained("samrawal/bert-large-uncased_med-ner") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
A Named Entity Recognition model for medication entities (medication name, dosage, duration, frequency, reason).
The model has been trained on the i2b2 (now n2c2) dataset for the 2009 - Medication task. Please visit the n2c2 site to request access to the dataset.
- Downloads last month
- 580