1. X
  2. Inseq
Log inSign up
Inseq
57 posts
Inseq profile banner
user avatar

Inseq

@InseqLib
Open-Source Interpretability for Generative Language Models πŸ”Ž πŸ›
Europe
github.com/inseq-team/ins…
Joined November 2022
608
Following
340
Followers
RepliesRepliesMediaMedia
  • Pinned
    user avatar
    Inseq
    @InseqLib
    Dec 13, 2022
    Hello world! πŸ›
    user avatar
    Gabriele Sarti
    @gsarti_
    Dec 13, 2022
    After a year of restless development, I'm finally happy to announce Inseq, a new tool to democratize post-hoc interpretability of sequence generation models πŸ› github.com/inseq-team/ins… #nlproc #xai Some highlights πŸ‘‡ 1/
  • user avatar
    Inseq
    @InseqLib
    Aug 14, 2024
    Thanks to the new treescope integration, @InseqLib now supports interactive visualizations for multidimensional attributions (show_granular), token highlights (show_tokens) and improved viz for attribute_context CLI! πŸš€ Install main, will appear in v0.7 x.com/_ddjohnson/sta…
    Granular visualization of an attention weight matrix for Gemma 2B on a summarization task. The slider on the bottom allows to visualize scores for individual heads without aggregation.
    Generated text with probability highlights (in green). For every generated token, source and target attribution scores can be visualized by opening the collapsed section (scores for token "colore" shown in figure)
    Output visualization of the attribute_context command for a chain-of-thought reasoning task with output-side context. The token "pairs" in the generated sentence "20 pairs of legs." is found to be context-sensitive and its prediction over the non-contextual alternative "horses" is motivated mainly by the presence of "pairs" in the output context.
    A Google Colab notebook that loads the pretranied Pythia-1B model from HuggingFace and then visualizes it with Treescope.
    A Google Colab notebook that converts the pretranied Pythia-1B model from HuggingFace to a Penzai model and then visualizes it with Treescope.
    user avatar
    Daniel Johnson
    @_ddjohnson
    Aug 7, 2024
    By popular demand, the Treescope pretty-printer from the Penzai neural net library can now be installed separately, and supports both JAX and PyTorch! And that's not all: Penzai itself now has less boilerplate and includes more pretrained Transformer models!
  • user avatar
    Inseq
    @InseqLib
    Jun 22, 2024
    The πŸ‘ PECoRe / 🌴 MIRAGE demo on @huggingface Spaces is powered by our new attribute-context CLI command released in v0.6, and allows to export the code to reproduce your results locally with πŸ› Inseq. Check it out ➑️ hf.co/spaces/gsarti/…
    Image
    Image
    user avatar
    Gabriele Sarti
    @gsarti_
    Jun 22, 2024
    ⚠️ Citations from prompting or NLI seem plausible, but may not faithfully reflect LLM reasoning. 🏝️ MIRAGE detects context dependence in generations via model internals, producing granular and faithful RAG citations. πŸš€ Demo: huggingface.co/spaces/gsarti/… Fun collab w/ @Jirui_Qi,
  • user avatar
    Inseq
    @InseqLib
    May 2, 2024
    Today @InseqLib hit 300 ⭐️ on Github! A huge thank you to all our awesome users ❀️ Onwards to the next 300! 🀺
    [points to Pyvene]
Inseq: You there, what is your profession?
Pyvene: I do trainable inference-time interventions... sir.
Inseq: [points to another library] And you, TransformerLens, what is your profession?
TransformerLens: I provide a unified hookable architecture to support mechinterp analyses on Transformer models, sir.
Inseq: I see...
[turns to a third soldier]
Inseq: You?
SAELens: I enable the training of sparse autoencoders to mitigate superposition in latent features.
Inseq: [turns back shouting] INSEQ USERS! What is OUR profession?
Inseq Users: HA-OOH! HA-OOH! HA-OOH!
Inseq Users: We do feature attribution of generative LMs! πŸ˜‡
  • user avatar
    Inseq
    @InseqLib
    Apr 13, 2024
    @InseqLib v0.6 is out now on PyPI! πŸ”₯ New CLI command for context attribution (@gsarti_), new perturbation-based methods by @hmohebbi75 & @casszzx and optimizations incl. multi-gpu support! ⚑️ Huge shoutout to our contributors! ❀️ Release notes ⬇️
    Image
    Release v0.6.0: Context Attribution CLI, New Attribution Methods, Performance Improvements and more...
    From github.com

Log in or sign up for X

See what’s happening and join the conversation

Continue with phone
or
Log in with username or email
TermsΒ·PrivacyΒ·CookiesΒ·AccessibilityΒ·Ads InfoΒ·Β© 2026 X Corp.
Advertisement
Advertisement