~/talk

Look Inside a Large Language Model to Become a Better Java Developer

Talkat JavaOne 2026 · 2026-03-17..03-19· [java, large-language-models]
links:none on file
slides:none on file

Shows how a working LLM can be expressed in Java using DeepLearning4J and JTok, with tokenization by byte-pair encoding, token embeddings, positional embeddings, and attention implemented via query/key/value matrices; points out GPT2-like sizes (≈52,000 tokens, claims ~175 billion dimensions) and uses gradient descent plus GELU-based feed‑forward nonlinearity (GELU). Demonstrates a translated Karpathy mini-model that trains on a laptop in ~1 minute to generate plausible baby names, and notes production-scale training needs CUDA/GPU and Project Babylon’s heterogeneous accelerator toolkit.

AI-written summary · about

  1. 0:00Large language models intro
  2. 1:45Introduction
  3. 3:15Why Java for large language models
  4. 5:47DeepLearning4J implementation
  5. 6:08How LLMs predict tokens
  6. 8:13Understanding tokenization in language models
  7. 10:25Byte pair encoding
  8. 14:44Neurons and neural networks
  9. 17:57Vectors matrices dot products
  10. 21:11Neural network architecture
  11. 22:58Token embeddings
  12. 23:41Training neural networks
  13. 24:23Gradient descent
  14. 26:33Vectors and meaning
  15. 27:38Vector arithmetic
  16. 30:08Positional embedding
  17. 31:13Attention mechanism
  18. 34:33Attention word relationships
  19. 37:55Training attention matrices
  20. 40:04GPUs for attention
  21. 41:06Feed forward networks
  22. 44:00Universal approximation theorem
  23. 46:36GELU functions
  24. 47:43Java small LLM
  25. 48:31Java LLM demo
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.