Skip to content

anjalirj27/Sarcasm_Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Sarcasm Detection using Hierarchical BERT + BiLSTM + CNN

This project implements a sarcasm detection system using a hybrid NLP architecture combining BERT, BiLSTM, and CNN layers. It identifies whether a given news headline is sarcastic or not.

๐Ÿ“ Dataset

๐Ÿงช Model Architecture

  • BERT Tokenizer for contextual token embeddings
  • TFBertModel from Hugging Face as base
  • BiLSTM layer to capture sequence dependencies
  • CNN layers to extract n-gram level features
  • Dense layer for binary classification

๐Ÿ“Š Performance

  • Trained on 10,000 samples
  • Robust at detecting sarcastic patterns

๐Ÿ› ๏ธ Tech Stack

  • Python
  • TensorFlow + Keras
  • Hugging Face Transformers
  • Pandas, NumPy
  • Streamlit (for deployment)

About

This project implements a sarcasm detection system using a hybrid NLP architecture.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published