Clinical_History_Mekkes_PubmedBert

This model extends upon the PubMedBert pre-trained model from this repository . The Clinical History Mekkes model was further optimized and retrained on clinical summaries from the Netherlands Brain Bank (NBB) containing information regarding the clinical signs and symptoms that their donors experienced.

The model was first used in this paper and the associated Github and code can be found here


How to use this model?

The model was trained using the Simpletransformers library and can be loaded using this package aswell.

model = ClassificationModel(
    "bert", "path/to/model"
)

This model can also be loaded using the transformer library in Python.


How to use model with torch:


# Load the tokenizer
tokenizer = AutoTokenizer.from_pretrained(model_name)

# Load the model
model = AutoModel.from_pretrained(model_name)

How to use it on example text:

# Example input
text = "Hello, how are you?"

# Tokenize the input
inputs = tokenizer(text, return_tensors="pt")

# Forward pass through the model
outputs = model(**inputs)

Please site our publication when using this model.

Downloads last month
13
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The model has no pipeline_tag.