The top portion of the campus entrance gate showing IISER Pune logo

Large Language Models: a mathematician's notes to self

By Prof. T. R. Ramadas from CMI

Madhava Hall, Main Building, 3rd Floor, Math Department

Abstract

I will give an outline of how large language models (such as the ones
powering Gemini or ChatGPT) work. The aim will be to furnish enough detail that a
mathematician can have an informed understanding of the "attention'' mechanism and transformer architecture, the "size'' of a model, how a model is trained and 
then used for inference (i.e., text generation in response to a query), how queries
are processed and how to better frame them, why hallucinations happen, why early 
models struggled to quote sources and how the interaction differs from search.

⚠️ External Link Warning

You are about to leave this site and open an external link.

• The content on external websites is not controlled or endorsed by us.
• Please ensure the link is safe before proceeding.
• Continue only if you trust the destination.

⚠️ बाहरी लिंक चेतावनी

आप इस साइट को छोड़कर एक बाहरी लिंक खोलने वाले हैं।

• बाहरी वेबसाइटों की सामग्री हमारे नियंत्रण या समर्थन में नहीं है।
• कृपया आगे बढ़ने से पहले सुनिश्चित करें कि लिंक सुरक्षित है।
• केवल तभी जारी रखें जब आप गंतव्य पर भरोसा करते हों।

Continue आगे