Skip to content

Adding multi class classification and tuning for dense and dropout la…#208

Closed
nsriharshavardhan wants to merge 11 commits intoDataBytes-Organisation:developfrom
nsriharshavardhan:develop
Closed

Adding multi class classification and tuning for dense and dropout la…#208
nsriharshavardhan wants to merge 11 commits intoDataBytes-Organisation:developfrom
nsriharshavardhan:develop

Conversation

@nsriharshavardhan
Copy link
Contributor

Changed the sentiments from binary bad, good to multiclass bad, good and neutral adjusted the bidirectional LSTM model accordingly. Added hyperparameter tuning to the Dense and Dropout layers of the model and added couple of extra layers. Also tried BERT model at the end but the accuracy was not satisfactory and the model takes a long time to run.

…yers including bert model

Signed-off-by: nsriharshavardhan <121825733+nsriharshavardhan@users.noreply.github.com>
Signed-off-by: nsriharshavardhan <121825733+nsriharshavardhan@users.noreply.github.com>
The last dataset being used did not represent the data or the sentiments that are precisely required in applying the sentiment analysis yielding lower accuracy. This new BERT model implemented using pytorch rectifies this problem and increases the accuracy to 78%.

Signed-off-by: nsriharshavardhan <121825733+nsriharshavardhan@users.noreply.github.com>
Signed-off-by: nsriharshavardhan <121825733+nsriharshavardhan@users.noreply.github.com>
… files, cleaned and documented

Signed-off-by: nsriharshavardhan <121825733+nsriharshavardhan@users.noreply.github.com>
Signed-off-by: nsriharshavardhan <121825733+nsriharshavardhan@users.noreply.github.com>
@nsriharshavardhan nsriharshavardhan marked this pull request as draft April 30, 2024 10:25
@nsriharshavardhan nsriharshavardhan marked this pull request as ready for review April 30, 2024 10:50
Copy link
Collaborator

@Samruddhi-ds Samruddhi-ds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

You have an error while implementing BERT. Are you planning to resolve it and submit?

@nsriharshavardhan
Copy link
Contributor Author

Fixed the version and integrated it with the feedback form on another branch. Pull request #265 #265

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants