multi-label-sentiment-classifier
Transformer-Explainability
multi-label-sentiment-classifier | Transformer-Explainability | |
---|---|---|
1 | 1 | |
17 | 1,664 | |
- | - | |
1.8 | 0.0 | |
about 3 years ago | 3 months 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.
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
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
What are some alternatives?
ganbert-pytorch - Enhancing the BERT training with Semi-supervised Generative Adversarial Networks in Pytorch/HuggingFace
pytorch-grad-cam - Advanced AI Explainability for computer vision. Support for CNNs, Vision Transformers, Classification, Object detection, Segmentation, Image similarity and more.
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].
shap - A game theoretic approach to explain the output of any machine learning model.
aws-lambda-docker-serverless-inference - Serve scikit-learn, XGBoost, TensorFlow, and PyTorch models with AWS Lambda container images support.
T2T-ViT - ICCV2021, Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet
predict-subreddit - NLP model that predicts subreddit based on the title of a post
HugsVision - HugsVision is a easy to use huggingface wrapper for state-of-the-art computer vision
huggingpics - 🤗🖼️ HuggingPics: Fine-tune Vision Transformers for anything using images found on the web.
tf-metal-experiments - TensorFlow Metal Backend on Apple Silicon Experiments (just for fun)
browser-ml-inference - Edge Inference in Browser with Transformer NLP model
deep-text-recognition-benchmark - PyTorch code of my ICDAR 2021 paper Vision Transformer for Fast and Efficient Scene Text Recognition (ViTSTR)