Simple React app which illustrates ideas from "Defeating Nondeterminism in LLM Inference" by Thinking Machines
0
stars
6
commits
JavaScript
primary language
Sep 22, 2025
updated
Deterministic Mode |
Non-Deterministic Mode |
An interactive React application that demonstrates and explains nondeterminism in Large Language Model (LLM) inference, based on the research "Defeating Nondeterminism in LLM Inference" by Thinking Machines Lab.
This single-page application explores why LLMs such as Google's Gemma produce different outputs even at temperature=0, and provides practical solutions for achieving determinism.
python3 -m http.server 8000
http://localhost:8000Note: A local server is required to avoid CORS issues when loading the JSX component file.
LLM-determinism-app/
├── index.html # Main HTML file with React setup
├── LLMDeterminismApp.jsx # Complete React application
└── README.md # This file
The app demonstrates that deterministic mode typically results in:
Based on "Defeating Nondeterminism in LLM Inference" research demonstrating:
To modify the application:
python3 -m http.server 8000LLMDeterminismApp.jsx (uses React hooks, no ES6 imports)http://localhost:8000The component uses React hooks for state management and includes hover effects, animations, and interactive simulations.
React.useState callswindow.LLMDeterminismApp for browser compatibilityThis educational demonstration is provided as-is for learning purposes.
6 commits
JavaScript
95.8%
HTML
4.2%
Simple React app which illustrates ideas from "Defeating Nondeterminism in LLM Inference" by Thinking Machines
0
stars
6
commits
JavaScript
primary language
Sep 22, 2025
updated
Deterministic Mode |
Non-Deterministic Mode |
An interactive React application that demonstrates and explains nondeterminism in Large Language Model (LLM) inference, based on the research "Defeating Nondeterminism in LLM Inference" by Thinking Machines Lab.
This single-page application explores why LLMs such as Google's Gemma produce different outputs even at temperature=0, and provides practical solutions for achieving determinism.
python3 -m http.server 8000
http://localhost:8000Note: A local server is required to avoid CORS issues when loading the JSX component file.
LLM-determinism-app/
├── index.html # Main HTML file with React setup
├── LLMDeterminismApp.jsx # Complete React application
└── README.md # This file
The app demonstrates that deterministic mode typically results in:
Based on "Defeating Nondeterminism in LLM Inference" research demonstrating:
To modify the application:
python3 -m http.server 8000LLMDeterminismApp.jsx (uses React hooks, no ES6 imports)http://localhost:8000The component uses React hooks for state management and includes hover effects, animations, and interactive simulations.
React.useState callswindow.LLMDeterminismApp for browser compatibilityThis educational demonstration is provided as-is for learning purposes.
6 commits
JavaScript
95.8%
HTML
4.2%