Transformer-Explainability
multi-label-sentiment-classifier
Transformer-Explainability | multi-label-sentiment-classifier | |
---|---|---|
1 | 1 | |
1,664 | 17 | |
- | - | |
0.0 | 1.8 | |
3 months ago | about 3 years ago | |
Jupyter Notebook | Jupyter Notebook | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Transformer-Explainability
-
[Project] Recent Class Activation Map Methods for CNNs and Vision Transformers
Not exactly the same but since you mentioned using ViT's attention outputs as a 2D feature map for the CAM you can consider this paper (Transformer Interpretability Beyond Attention Visualization) where they study the question of how to choose/mix the attention scores in a way that can be visualized (so similar to the CAMs). Maybe it can lead to better results. https://arxiv.org/abs/2012.09838 https://github.com/hila-chefer/Transformer-Explainability
multi-label-sentiment-classifier
-
Training a Multi-Label Emotion Classifier with Tez and PyTorch to detect +20 different emotions
code: https://github.com/ahmedbesbes/multi-label-sentiment-classifier
What are some alternatives?
pytorch-grad-cam - Advanced AI Explainability for computer vision. Support for CNNs, Vision Transformers, Classification, Object detection, Segmentation, Image similarity and more.
ganbert-pytorch - Enhancing the BERT training with Semi-supervised Generative Adversarial Networks in Pytorch/HuggingFace
shap - A game theoretic approach to explain the output of any machine learning model.
detoxify - Trained models & code to predict toxic comments on all 3 Jigsaw Toxic Comment Challenges. Built using ⚡ Pytorch Lightning and 🤗 Transformers. For access to our API, please email us at [email protected].
T2T-ViT - ICCV2021, Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet
aws-lambda-docker-serverless-inference - Serve scikit-learn, XGBoost, TensorFlow, and PyTorch models with AWS Lambda container images support.
HugsVision - HugsVision is a easy to use huggingface wrapper for state-of-the-art computer vision
predict-subreddit - NLP model that predicts subreddit based on the title of a post
tf-metal-experiments - TensorFlow Metal Backend on Apple Silicon Experiments (just for fun)
huggingpics - 🤗🖼️ HuggingPics: Fine-tune Vision Transformers for anything using images found on the web.