How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="NitzanBar/umls-bert")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("NitzanBar/umls-bert")
model = AutoModelForSequenceClassification.from_pretrained("NitzanBar/umls-bert")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Based ob the paper: "UmlsBERT: Augmenting Contextual Embeddings with a Clinical Metathesaurus" (https://aclanthology.org/2021.naacl-main.139.pdf).

and the github repo: https://github.com/gmichalo/UmlsBERT

BERT base model.

Trained from scratch on MIMIC dataset, using the UMLS dataset to mask words within the text.

We achived better accuracy on MedNLI dataset.

Bert Model accuracy: 83%

Downloads last month
152
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support