Lemma

From arXiv link to notes you keep, in under a minute.

Lemma is a Mac app for reading research papers with your own AI beside you. Every highlight, answer and summary lands as Markdown in your Obsidian vault, or any folder you choose.

Download for Mac Free for 30 days with everything unlocked. No account, no card.
Lemma

Attention Is All You Need

Vaswani, Shazeer, Parmar et al., 2017

We compute the dot products of the query with all keys, divide each by dk\sqrt{d_k}, and apply a softmax function to obtain the weights on the values.

In practice, we compute the attention function on a set of queries simultaneously, packed together into a matrix QQ.

Why divide by dk\sqrt{d_k}?

Saved to your vault: 2017 - Attention Is All You Need.md

A reader built for papers with math in them

arXiv papers open as clean, reflowing pages with real typeset equations, figures and a clickable outline. When a paper only exists as a PDF, or its HTML version is broken, the PDF view is one click away, with the same highlights and search.

The Lemma reader: a paper's outline on the left, the paper with two highlights and an equation in the middle, and an AI answer about that equation on the right.

The real app, with a real answer. The line under the answer shows which model replied and how much of your own plan it used.

Every paper you read makes the next one easier

Lemma writes into your Obsidian vault as you read: a note for each paper, and a note for each idea in it. When a later paper uses an idea you have already met, that idea's note gains a line. Your concepts collect everything you have read about them, and the graph grows with you.

Research vault
  • Literature
  • 2017 - Attention Is All You Need
  • 2018 - BERT
  • 2020 - GPT-3
  • 2020 - Vision Transformer
  • Concepts
  • Self-attention
  • Softmax
  • Positional encoding
  • Multi-head attention
  • Dot product
  • Masked language modelling
  • Pre-training
  • In-context learning
  • Image patches

type concept
domain deep learning
status stub

Self-attention

Each token builds its representation as a weighted mix of every other token in the sequence.

Prerequisites

Appears in

  • [[2017 - Attention Is All You Need]] introduced as scaled dot-product attention
  • [[2018 - BERT]] bidirectional, in every encoder layer
  • [[2020 - GPT-3]] masked so each token sees only the past
  • [[2020 - Vision Transformer]] over image patches instead of words

 

Works with the vault you have
Point Lemma at your vault and it uses the folders already there. Notes are plain Markdown with properties, so the graph, backlinks, search and your own plugins all see them.
Concepts that grow
Each idea starts as a short drafted note with a definition and its prerequisites, linked. Rewrite it in your own words once it clicks; Lemma only ever adds the next paper under Appears in.
Status you can query
Reading status, dates, time spent and a one-line summary sit in each note's properties, and comparisons are written as Bases views you can sort and filter.
Your writing stays yours
Edit any note in Obsidian. Lemma keeps your text as you left it, and if you change a status there, the app picks it up.

It uses the AI you already have

Lemma does not sell AI or add a markup to it. Connect whichever of these you have, switch whenever you like, and the paper goes only to the one you picked.

Your Claude or ChatGPT plan
If Claude Code or Codex is installed and signed in, Lemma answers through it, on the subscription you already pay for.
An API key
Anthropic, OpenAI, Google or OpenRouter, billed per use by the provider. Keys stay on your Mac.
A model on your Mac
Ollama or LM Studio. Nothing leaves the machine, and it costs nothing to run.

Explain a passage, break down an equation, list what you need to know first, or just ask. Summaries and concept notes are drafts you edit before they are saved.

Lay several papers side by side

Pick the papers, name the columns you care about, and Lemma fills the table from each paper's text. Then ask for a synthesis note: where they agree, where they differ, and what is still open.

PaperArchitectureTrained toShown on
Attention Is All You NeedVaswani et al., 2017Encoder and decoder, attention onlyTranslate, with supervised sentence pairsWMT 2014 English to German and English to French
Improving Language Understanding by Generative Pre-TrainingRadford et al., 2018Decoder only, left to rightPredict the next token, then fine-tune per taskInference, question answering, similarity, classification
BERTDevlin et al., 2018Encoder only, bidirectionalFill in masked tokens and predict the next sentence, then fine-tuneGLUE, SQuAD and SWAG

The table and the synthesis are saved to your folder too, as a Markdown table or an Obsidian Bases view. AI-filled columns and synthesis are part of Pro.

The rest of a research desk

Lemma's home screen: papers to continue, the queue, recently finished papers with one-line summaries, and a year of reading activity.

Free to read. Pro when papers pile up.

Free

$0

For as long as you like.

  • Unlimited papers and the whole reader
  • Highlights and notes saved to your folder
  • Explain, Break down, Ask and Chat on any passage
  • AI summaries and concept notes for 3 papers a month
  • Citations, Discover and reading stats

Pro

$4a month, billed yearly ($48)

Or $5 a month. Cancel anytime; everything you wrote stays in your folder.

  • Everything in Free
  • AI summaries and concept notes for every paper
  • AI-filled comparison columns
  • The synthesis note across papers

Every install starts with 30 days of Pro, with no account and no card. AI runs on your own plan, key or local model, so Lemma's price never includes AI usage.

Get Lemma

The first public build is almost ready.

For Macs with Apple silicon. Free for 30 days, then free or Pro.