marcotcr / lime

Lime: Explaining the predictions of any machine learning classifier
BSD 2-Clause "Simplified" License
11.64k stars 1.81k forks source link

Create text classification tutorial using tensorflow #702

Open Nour-Aldein2 opened 2 years ago

Nour-Aldein2 commented 2 years ago

I've noticed that a few people are talking about using LIME with TensorFlow models. There was an issue, which was addressed before, but I believe this tutorial can provide a guide for users since it uses a very popular dataset (Kaggle's tweets classification).

In this notebook, I've used the Universal Sentence Encoder from TensorFlow Hub to classify the text data.

Hopefully, it will be helpful.