Downloads · 30 days
8
22% of all-time downloads
shalinialisha/bert-emotion
bert-emotion is a text classification model from shalinialisha. Use it when you need a label for a piece of text. It is set up for transformers.
This BERT-based model for sentiment analysis was created by me as a student completing Vanderbilt Data Science Institute's AI Summer Course in 2023. It serves as an introductory example of fine-tuning a pretrained mod…
Downloads · 30 days
8
22% of all-time downloads
All-time downloads
36
Public
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.bin526 MB · 50%
From the Hugging Face model README
This BERT-based model for sentiment analysis was created by me as a student completing Vanderbilt Data Science Institute's AI Summer Course in 2023. It serves as an introductory example of fine-tuning a pretrained model for a downstream task.
During the program, I explored various techniques for adapting powerful large-scale models like BERT to specialized applications. As a hands-on exercise, I fine-tuned BERT using the tweet_eval dataset to classify text snippets as either positive or negative in sentiment.
This model is the result of that exercise, providing my basic implementation of sentiment classification using BERT fine-tuning. While not as performant as state-of-the-art sentiment models, it demonstrates the workflow and techniques I learned around tailoring BERT and similar models.
The training code is provided to allow replication and customization for other datasets. I hope this model provides a useful case study for anyone beginning their journey into fine-tuning and transfer learning with transformer models like I was!