augmented-interpretable-models
language-planner
augmented-interpretable-models | language-planner | |
---|---|---|
1 | 1 | |
37 | 213 | |
- | - | |
7.4 | 0.0 | |
19 days ago | almost 2 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.
augmented-interpretable-models
-
[R] Emb-GAM: an Interpretable and Efficient Predictor using Pre-trained Language Models
Deep learning models have achieved impressive prediction performance but often sacrifice interpretability, a critical consideration in high-stakes domains such as healthcare or policymaking. In contrast, generalized additive models (GAMs) can maintain interpretability but often suffer from poor prediction performance due to their inability to effectively capture feature interactions. In this work, we aim to bridge this gap by using pre-trained neural language models to extract embeddings for each input before learning a linear model in the embedding space. The final model (which we call Emb-GAM) is a transparent, linear function of its input features and feature interactions. Leveraging the language model allows Emb-GAM to learn far fewer linear coefficients, model larger interactions, and generalize well to novel inputs (e.g. unseen ngrams in text). Across a variety of NLP datasets, Emb-GAM achieves strong prediction performance without sacrificing interpretability. All code is made available on Github.
language-planner
What are some alternatives?
shap - A game theoretic approach to explain the output of any machine learning model. [Moved to: https://github.com/shap/shap]
gpt-3-simple-tutorial - Generate SQL from Natural Language Sentences using OpenAI's GPT-3 Model
scikit-learn-ts - Powerful machine learning library for Node.js – uses Python's scikit-learn under the hood.
alpaca_eval - An automatic evaluator for instruction-following language models. Human-validated, high-quality, cheap, and fast.
DeepLearning - Contains all my works, references for deep learning
tldr-transformers - The "tl;dr" on a few notable transformer papers (pre-2022).
handson-ml - ⛔️ DEPRECATED – See https://github.com/ageron/handson-ml3 instead.
BLOOM-fine-tuning - Finetune BLOOM
gan-vae-pretrained-pytorch - Pretrained GANs + VAEs + classifiers for MNIST/CIFAR in pytorch.
Fast-Transformer - An implementation of Fastformer: Additive Attention Can Be All You Need, a Transformer Variant in TensorFlow
AutoCog - Automaton & Cognition
mgpt - Multilingual Generative Pretrained Model