BioEmoDetector Biomedical Pre-trained Models
Overview
Welcome to the Hugging Face repository for BioEmo-Predictor Biomedical Pre-trained Language Models. This collection comprises meticulously trained models designed specifically for detecting emotions in clinical text data.
Models Included
- CODER
- BlueBERT
- SciBERT
- BioMed-RoBERTa
- Bio_ClinicalBERT
- Clinical_Longformer
- BioBERT
These models serve as foundational elements for emotion prediction in clinical text, offering a specialized understanding of medical language and context.
Usage
To use these models in your application, follow the steps below:
- Install the
transformerslibrary:
pip install transformers
- Use the following code to download the desired model:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
# Replace "model_name" with the specific model name you want to use (e.g., "Bashar-Alshouha/BioEmoDetector/biobert")
model_name = "Bashar-Alshouha/BioEmoDetector/biobert"
# Load the model and tokenizer
model = AutoModelForSequenceClassification.from_pretrained(model_name)
# Now, you can use the model for emotion prediction on clinical text data
Make sure to replace "Bashar-Alshouha/BioEmoDetector/biobert" with the specific model name you want to use.
Citation
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support