InTraVisTo: Inside Transformer Visualisation Tool
The reasoning capabilities of Large Language Models (LLMs) have increased greatly over the last few years, as have their size and complexity. Nonetheless, the use of LLMs in production remains challenging due to their unpredictable nature and discrepancies that can exist between their desired behavior and their actual model output. In this paper, we introduce a new tool, InTraVisTo (Inside Transformer Visualisation Tool), designed to enable researchers to investigate and trace the computational process that generates each token in a Transformer-based LLM. InTraVisTo provides a visualization of both the internal state of the Transformer model (by decoding token embeddings at each layer of the model) and the information flow between the various components across the different layers of the model (using a Sankey diagram). With InTraVisTo, we aim to help researchers and practitioners better understand the computations being performed within the Transformer model and thus to shed some light on internal patterns and reasoning processes employed by LLMs.
Code (0)
등록된 구현이 없습니다.
Similar Papers 제목 키워드 기반
Going Beyond T-SNE: Exposing whatlies in Text Embeddings
We introduce whatlies, an open source toolkit for visually inspecting word and sentence embeddings. The project offers a unified and extensible API with current support for a range of popular embedding backends including…
Dimensionality ReductionSentenceSentence EmbeddingsWord EmbeddingsGoing Beyond T-SNE: Exposing \texttt{whatlies} in Text Embeddings
We introduce whatlies, an open source toolkit for visually inspecting word and sentence embeddings. The project offers a unified and extensible API with current support for a range of popular embedding backends including…
Dimensionality ReductionSentenceSentence EmbeddingsWord EmbeddingsSanity checks for patch visualisation in prototype-based image classification
In this work, we perform an analysis of the visualisation methods implemented in ProtoPNet and ProtoTree, two self-explaining visual classifiers based on prototypes. We show that such methods do not correctly identify th…
image-classificationImage ClassificationDeep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Maps
This paper addresses the visualisation of image classification models, learnt using deep Convolutional Networks (ConvNets). We consider two visualisation techniques, based on computing the gradient of the class score wit…
General ClassificationImage Attributionimage-classificationImage Classification+3Sanity checks and improvements for patch visualisation in prototype-based image classification
In this work, we perform an in-depth analysis of the visualisation methods implemented in two popular self-explaining models for visual classification based on prototypes - ProtoPNet and ProtoTree. Using two fine-grained…
image-classificationImage Classification