Downloads · 30 days
0
Bashar-Alshouha/BioEmoDetector
BioEmoDetector is a machine learning model from Bashar-Alshouha. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
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 d…
Downloads · 30 days
0
Access
Public
Updated Nov 21, 2023
Repo size
3.9 GB
Likes
0
Public
Click a slice to open those files.
.bin2.7 GB · 82%
From the Hugging Face model README
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.
These models serve as foundational elements for emotion prediction in clinical text, offering a specialized understanding of medical language and context.
To use these models in your application, follow the steps below:
transformers library:pip install transformers
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.