marcotcr / lime

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

Create text classification tutorial using tensorflow #702

Open Nour-Aldein2 opened 1 year ago

Nour-Aldein2 commented 1 year 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.