A Natural Language Processing (NLP) project for SemEval 2025 Task 9, using DistilBERT with a custom attention mechanism that integrates textual and temporal features to detect food hazards in text.
1
stars
20
commits
Jupyter Notebook
primary language
Mar 26, 2025
updated
A collaborative project for SemEval 2025 Task 9: The Food Hazard Detection Challenge, leveraging advanced natural language processing (NLP) models. This repository contains implementations, experiments, and reports focused on detecting food hazards based on textual data.
This project aims to develop an efficient solution for detecting food hazards from text, using Transformers and Natural Language Processing (NLP) techniques.
The core approach includes:
├── data/ # Raw data, preprocessed datasets, and preparation scripts
├── notebooks/ # Jupyter notebooks for experimentation and analysis
├── report/ # Collaborative LaTeX report (Overleaf)
└── README.md # Project documentation (this file)
The implemented architecture is based on DistilBERT, enhanced with extensions that integrate additional (temporal) features into the classification head. Key components include:
The classification head is modified to integrate textual and additional features:
CrossEntropyLoss for multi-class classification.
AdamW for improved weight regularization.results/ folder for detailed charts and metrics."Recall Notification: FSIS-033-94 - Sausage contaminated"
Risk Category: Biological"Plastic fragments in chicken breast - High risk"
Risk Category: Foreign BodyEach team member contributed to different aspects of the project:
Detailed contributions can be found in the report.
20 commits
Jupyter Notebook
97.0%
Python
3.0%
A Natural Language Processing (NLP) project for SemEval 2025 Task 9, using DistilBERT with a custom attention mechanism that integrates textual and temporal features to detect food hazards in text.
1
stars
20
commits
Jupyter Notebook
primary language
Mar 26, 2025
updated
A collaborative project for SemEval 2025 Task 9: The Food Hazard Detection Challenge, leveraging advanced natural language processing (NLP) models. This repository contains implementations, experiments, and reports focused on detecting food hazards based on textual data.
This project aims to develop an efficient solution for detecting food hazards from text, using Transformers and Natural Language Processing (NLP) techniques.
The core approach includes:
├── data/ # Raw data, preprocessed datasets, and preparation scripts
├── notebooks/ # Jupyter notebooks for experimentation and analysis
├── report/ # Collaborative LaTeX report (Overleaf)
└── README.md # Project documentation (this file)
The implemented architecture is based on DistilBERT, enhanced with extensions that integrate additional (temporal) features into the classification head. Key components include:
The classification head is modified to integrate textual and additional features:
CrossEntropyLoss for multi-class classification.
AdamW for improved weight regularization.results/ folder for detailed charts and metrics."Recall Notification: FSIS-033-94 - Sausage contaminated"
Risk Category: Biological"Plastic fragments in chicken breast - High risk"
Risk Category: Foreign BodyEach team member contributed to different aspects of the project:
Detailed contributions can be found in the report.
20 commits
Jupyter Notebook
97.0%
Python
3.0%