hmohebbi/ValueZeroing

The official repo for the EACL 2023 paper "Quantifying Context Mixing in Transformers"

27
/ 100
Experimental

When analyzing how Large Language Models (LLMs) understand text, it's crucial to know how different words influence each other. This tool helps you quantify exactly how much information from one word is mixed into another word's representation within a Transformer model. It takes a trained Transformer model and text input, then outputs a score indicating the degree of 'context mixing' for each word. AI researchers and NLP practitioners who develop or fine-tune LLMs will find this useful for model interpretation and debugging.

No commits in the last 6 months.

Use this if you need to precisely measure how contextual information flows and mixes between tokens inside a Transformer model to better understand its decision-making.

Not ideal if you are looking for a tool to train new models or simply apply pre-trained models without needing deep insights into their internal workings.

LLM-interpretation NLP-model-analysis Transformer-debugging linguistic-probing AI-explainability
No License Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 5 / 25
Maturity 8 / 25
Community 14 / 25

How are scores calculated?

Stars

12

Forks

3

Language

Python

License

Last pushed

Mar 31, 2023

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/hmohebbi/ValueZeroing"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.