Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FineTuningBERT

Contributors Forks Stargazers Issues LinkedIn

Project Fine-Tuning and Comparing performance of DistilBERT, BERT, and BERT Large (cased) models using Hugging Face

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact
  6. Acknowledgments

About The Project

Fine-tuning DistilBERT, BERT, and Large BERT cased models for sentiment analysis of financial data and creating a user interface that allows a user to select one of the models and enter a sentence for analysis.

Built With

  • HuggingFace
  • PyTorch
  • Scikit-Learn
  • Seaborn

Getting Started

Prerequisites

Required Libraries/Frameworks:
HuggingFace, PyTorch, Scikit-Learn, Seaborn, Numpy, and Pandas

Recommended:
PyTorch built with CUDA and NVidia GPU

Installation

  1. Clone the Repo
git clone https://github.com/zjshermanburke/FineTuningBERT.git
  1. Run all cells in the Jupyter Notebook

Usage

Run the Python script "Model_UI.py", enter a model (DistilBERT, BERT, or LargeBERT), and when prompted enter a statement. This will return a sentiment (Negative, Positive, or Neutral) and the BERT score.

License

Distributed under the Unlicense license. See LICENSE.txtfor more information.

Contact

Zachary Sherman-Burke - LinkedIn - zjshermanburke@gmail.com

Project Link: https://github.com/zjshermanburke/FineTuningBERT

Acknowledgments

About

Project Fine-Tuning and Comparing performance of DistilBERT, BERT, and BERT Large (cased) models using Hugging Face

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages