Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/EmreTaha/Unsupervised-Domain-Adaptation-with-BERT

Unsupervised domain adaptation with BERT for Amazon food product reviews sentiment analysis.
https://github.com/EmreTaha/Unsupervised-Domain-Adaptation-with-BERT

adversarial-learning amazon-food-reviews bert bert-model colab domain-adaptation nlp sentiment-analysis tensorflow unsupervised-learning

Last synced: 27 days ago
JSON representation

Unsupervised domain adaptation with BERT for Amazon food product reviews sentiment analysis.

Awesome Lists containing this project

README

        

# Unsupervised-Domain-Adaptation-with-BERT
A novel approach for BERT usage in an adversarial unsupervised domain adaptation manner for a NLP tasks. The topic is **Unsupervised domain adaptation between two Amazon product reviews categories with BERT and a domain discriminator network for the sentiment analysis**.

Please cite original [BERT](https://arxiv.org/abs/1810.04805) paper when using the code.

The code based on BERT in the TF-Hub. `BERTOptimizer.py` file is modified for freezing the network partially.

## Getting Started
Upload ipynb file, `BERTOptimizer.py`, `utils.py` files to Google Colab. The data (from Stanford) is downloaded and processed within the code

## Requirements
* Python 3.6
* pandas
* Tensorflow 1.x
* Numpy
* Matplotlib
* Scipy
* Google Colab