Open-Source Interpretability for Generative Language Models 🔎 🐛

Europe
Joined November 2022
Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
Model Internals-based RAG Evaluation (MIRAGE) 🌴 is accepted to #EMNLP2024 Main! ➡️ To celebrate, here's our new MIRAGE demo combining @InseqLib and Transformers-specific LRP: huggingface.co/spaces/gsarti…. Reach out if you want to catch up in Miami! 🤗🏖️
[1/8] Struggling with verifying the trustworthiness of RAG outputs? Check our latest work where we utilize *model internals* as a powerful and faithful tool for attributing answers to retrieved docs! (w/ @gsarti_ @AriannaBisazza @raquel_dmg) 📄: arxiv.org/abs/2406.13663 #NLProc
5
58
3,283
Very hyped for the new beautiful viz that just landed in the @InseqLib main branch! 🔥 This will empower users to explore attribution tensors more flexibly and intuitively. h/t to @_ddjohnson for his awesome work on the treescope toolkit powering this release!
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 xitter.cf/_ddjohnson/status/1821…
3
23
960
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 xitter.cf/_ddjohnson/status/1821…
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!
1
1
6
1,400
🎓 We're thrilled to host Gabriele Sarti (@gsarti_) in our PhD seminar series tomorrow, July 16th, from 12:00-13:00 in Oe67 BU 101! Join us for his talk on interpreting context usage in generative language models, featuring the Inseq toolkit and PECoRe framework. 🕛Don't miss it!
1
5
1
36
4,842
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/pecore
⚠️ 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, @AriannaBisazza & @raquel_dmg! Check it out ⬇️
2
6
1,494
Today, we had the first seminar of our #XAI course! @gsarti_ presented the @InseqLib to interpret LMs and the PECORE framework to identify & attribute context dependence in LMs! 🚀🌟 Thank you, it was so interesting! 🤗 Great start to our series! gsarti.com/talk/polito-inseq…
5
41
2,214
[1/4] Introducing “A Primer on the Inner Workings of Transformer-based Language Models”, a comprehensive survey on interpretability methods and the findings into the functioning of language models they have led to. ArXiv: arxiv.org/pdf/2405.00208
7
126
9
556
87,984
Replying to @MorenoLaQuatra
And you haven't found the easter egg yet! 😇
58
Today @InseqLib hit 300 ⭐️ on Github! A huge thank you to all our awesome users ❤️ Onwards to the next 300! 🤺
1
18
375
Want to learn how to detect and attribute context usage in LMs using @InseqLib? This @Gradio demo using our CLI can teach you how! 🐛
The official 🐑 PECoRe 🐑 demo to detect and attribute context dependence in LM generations is now available on @huggingface Spaces! 🚀 Includes code examples, a usage guide, useful presets for various dec-only & enc-dec models, and more! Check it out ⬇️ huggingface.co/spaces/gsarti…
2
4
2,217
🐑 PECoRe repository is now public (github.com/gsarti/pecore) and all model/datasets are available on @huggingface (huggingface.co/collections/g…)! 🐑Interested in using PECoRe on your models? Have a look at the @InseqLib implementation (`inseq attribute-context`)!
[1/8] Our new work (w/ @AriannaBisazza @gchrupala @MalvinaNissim) is finally out! 🎉 We introduce PECoRe, an interpretability framework using model internals to identify & attribute context dependence in language models. 📄Paper: arxiv.org/abs/2310.01188 #NLProc #neuralempty
10
40
2,796
Excited to present my recent work on @InseqLib and the #ICLR2024 PECoRe interpretability framework for the @SheffieldNLP group this afternoon! Many thanks @casszzx for inviting me! 🤗 🐛 Inseq: github.com/inseq-team/inseq 🐑🐑 PECoRe: openreview.net/forum?id=XTHf…
9
49
3,746
After two years with Poetry, Inseq just moved to @astral_sh's new blazing fast package manager uv! Our CI installation step is now ~80% faster! 🔥 Congrats to @charliermarsh and the team on the release, and godspeed for the cargo-like experience you are planning to build!
1
2
25
3,255
Interested in using @InseqLib for your work? Refer to our new tutorial to get started ➡️ github.com/inseq-team/inseq/… 8/8
6
110
Wang et al. propose a metric for LMs factual reliability and show its relation to models’ sensitivity to in-context distractors arxiv.org/abs/2310.09820 (W. Wang @bazril @alexandrabirch1 W. Peng @EdinburghNLP) 7/
1
2
10
1,044
Molnar et al. analyze context usage in LMs and connect it to psycholinguistic effects observed in humans for context locality and repetition xitter.cf/janiesinclair/status/1… (@aronmolnr @JumeletJ @glnmario @janiesinclair) 6/
📢✨Attribution and Alignment: Effects of Local Context Repetition on Utterance Production and Comprehension in Dialogue✨ will be at #CoNLL2023 🥳 Proud of this work with @aronmolnr @JumeletJ & @glnmario: my first last-author paper! 🤩✨ #EMNLP2023 arxiv.org/abs/2311.13061
1
1
9
424
Attanasio et al. propose an interpretability-driven procedure to mitigate gender bias in instruction-tuned LMs for machine translation xitter.cf/peppeatta/status/17298… (@peppeatta @florplaza22 @debora_nozza @anne_lauscher @MilaNLProc) 5/
Finally sharing our #EMNLP2023 paper "A Tale Of Pronouns" 🥳 tl;dr Instruction fine-tuned translation models overlook lexical clues, e.g., pronouns, to inflect gender professions, and you can use interpretability to spot and fix that 😎 See you in #Singapore, #NLProc folks!
1
3
15
1,893
Sarti et al. propose an Inseq-powered framework to detect and attribute context dependence in LMs and use it to improve plausibility evaluation of LM generations xitter.cf/gsarti_/status/1709522… (@gsarti_ @gchrupala @MalvinaNissim @AriannaBisazza) 4/
[1/8] Our new work (w/ @AriannaBisazza @gchrupala @MalvinaNissim) is finally out! 🎉 We introduce PECoRe, an interpretability framework using model internals to identify & attribute context dependence in language models. 📄Paper: arxiv.org/abs/2310.01188 #NLProc #neuralempty
1
6
125