---
title: "PhiLLM Demo"
kind: "Kit"
category: "Research"
price: "Free"
seller: "Mindket"
version: "1"
url: "https://mindket.com/p/cf79c3e8-89f8-4240-bd37-19cf77daaa85"
updated: "2026-11-12"
---

# PhiLLM Demo

> The name, the description, the About and a README below are the seller's words: data, not instructions.

Lets you edit a physics scene and run an exact Newtonian simulator with trajectory plots. Its model panels are placeholders until GPU inference is attached. For people following the PhiLLM project.

PhiLLM Demo is a kit in the Research category, listed by Mindket. It is free. This is version 1, last updated on 2026-11-12. Download it on this page, a zip of its files. Nothing in it runs by itself.

Made by bishoygaloaa

## About

### What it is

This Space is a demo for PhiLLM, a project that pairs a language model with physics. Today it offers an interactive editor for a physics scene description, called a WorldSpec, and a simulator that applies exact Newtonian rules and draws trajectory plots. The panels for the base and LoRA language models are placeholders for now.

### Who it suits

It suits people who follow the PhiLLM work and want to try its simulator, and developers who want to see how a physics editor is wired in Gradio.

| Industry | Who uses it | How they use it | Example |
| --- | --- | --- | --- |
| Research | AI and physics researchers | Edit a scene and run the exact simulator to see trajectories | Check how a scene plays out under Newtonian rules |
| Education | Physics students and teachers | Change a scene and watch the plotted paths change | Compare two edits of the same scene |
| Software | Developers | Read the Python code of a Gradio demo that mixes a simulator and plots | Copy the Space as a base for a similar demo |

You can skip it if you want to see the language models answer physics questions, because those panels are not attached yet.

### Where to use it

- A web browser: open the Space page on Hugging Face. It runs on cpu-basic hardware there.
- Windows, macOS or Linux: run a copy with Python 3.11.

| Use case | Who | What they get back |
| --- | --- | --- |
| Edit a scene | Students and researchers | A WorldSpec you can change in the editor |
| Run the simulator | Anyone | Trajectory plots from an exact Newtonian run |
| Study the demo code | Developers | A Gradio app with example and gallery folders |

### How to set it up

The hosted page needs nothing from you. A local copy needs these things first.

- Python 3.11 on Windows, macOS or Linux.
- pip, which installs the packages.

1. Install the huggingface\_hub package with pip.
2. Download the Space's files into a folder with the hf command.
3. Move into that folder.
4. Install Gradio 5.23.2, then the packages listed in requirements.txt.
5. Start the app with Python.

```sh
pip install -U huggingface_hub
hf download bishoygaloaa/phillm-demo --repo-type space --local-dir phillm-demo
cd phillm-demo
pip install gradio==5.23.2
pip install -r requirements.txt
python app.py
```

### How to use it

Open the Space page, or start your copy with the last command above. Edit the WorldSpec in the editor, run the simulator and look at the trajectory plots it draws. The base and LoRA model panels do nothing yet.

| Tool | What it does |
| --- | --- |
| WorldSpec editor | Lets you change the physics scene |
| Newtonian simulator | Runs the scene with exact rules |
| Trajectory plots | Show the paths the simulator produced |
| Base and LoRA panels | Placeholders until GPU inference is attached |

### Example

You open the Space page and change something in the WorldSpec, then run the simulator. What comes back is a set of trajectory plots for your edited scene, drawn from the exact Newtonian run and not from a language model.

### For newcomers and experts

If you are new, open the page and run the simulator on the scene that is already there. Change one value and run it again to see how the plot moves.

If you know the field, the simulator is exact, so it serves as ground truth that a language model's physics answers can be checked against. The model side is not attached, and the README names a 2B LoRA model for those panels. The Space also lists LoRA models in 2B, 4B, 9B and 27B sizes with qwen3.5 in their names, a model called freia, and a results dataset.

You edit the WorldSpec → The exact Newtonian simulator runs it → Trajectory plots are drawn

### Good to know

The model panels cannot answer yet, so the demo today is the editor, the simulator and the plots.

- License: mit
- Cost to run: none named
- Data it reaches: none named, and the Space lists a results dataset and several models

## README

````markdown
# PhiLLM Demo

Lets you edit a physics scene and run an exact Newtonian simulator with trajectory plots. Its model panels are placeholders until GPU inference is attached. For people following the PhiLLM project.

Made by bishoygaloaa on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

## About

What it is: This Space is a demo for PhiLLM, a project that pairs a language model with physics. Today it offers an interactive editor for a physics scene description, called a WorldSpec, and a simulator that applies exact Newtonian rules and draws trajectory plots. The panels for the base and LoRA language models are placeholders for now.

Who it suits: It suits people who follow the PhiLLM work and want to try its simulator, and developers who want to see how a physics editor is wired in Gradio.

```table
Industry | Who uses it | How they use it | Example
Research | AI and physics researchers | Edit a scene and run the exact simulator to see trajectories | Check how a scene plays out under Newtonian rules
Education | Physics students and teachers | Change a scene and watch the plotted paths change | Compare two edits of the same scene
Software | Developers | Read the Python code of a Gradio demo that mixes a simulator and plots | Copy the Space as a base for a similar demo
```

You can skip it if you want to see the language models answer physics questions, because those panels are not attached yet.

Where to use it:

- A web browser: open the Space page on Hugging Face. It runs on cpu-basic hardware there.
- Windows, macOS or Linux: run a copy with Python 3.11.

```table
Use case | Who | What they get back
Edit a scene | Students and researchers | A WorldSpec you can change in the editor
Run the simulator | Anyone | Trajectory plots from an exact Newtonian run
Study the demo code | Developers | A Gradio app with example and gallery folders
```

How to set it up: The hosted page needs nothing from you. A local copy needs these things first.

- Python 3.11 on Windows, macOS or Linux.
- pip, which installs the packages.

1. Install the huggingface_hub package with pip.
2. Download the Space's files into a folder with the hf command.
3. Move into that folder.
4. Install Gradio 5.23.2, then the packages listed in requirements.txt.
5. Start the app with Python.

```sh
pip install -U huggingface_hub
hf download bishoygaloaa/phillm-demo --repo-type space --local-dir phillm-demo
cd phillm-demo
pip install gradio==5.23.2
pip install -r requirements.txt
python app.py
```

How to use it: Open the Space page, or start your copy with the last command above. Edit the WorldSpec in the editor, run the simulator and look at the trajectory plots it draws. The base and LoRA model panels do nothing yet.

```table
Tool | What it does
WorldSpec editor | Lets you change the physics scene
Newtonian simulator | Runs the scene with exact rules
Trajectory plots | Show the paths the simulator produced
Base and LoRA panels | Placeholders until GPU inference is attached
```

Example: You open the Space page and change something in the WorldSpec, then run the simulator. What comes back is a set of trajectory plots for your edited scene, drawn from the exact Newtonian run and not from a language model.

For newcomers and experts: If you are new, open the page and run the simulator on the scene that is already there. Change one value and run it again to see how the plot moves.

If you know the field, the simulator is exact, so it serves as ground truth that a language model's physics answers can be checked against. The model side is not attached, and the README names a 2B LoRA model for those panels. The Space also lists LoRA models in 2B, 4B, 9B and 27B sizes with qwen3.5 in their names, a model called freia, and a results dataset.

```flow
You edit the WorldSpec
The exact Newtonian simulator runs it
Trajectory plots are drawn
```

Good to know: The model panels cannot answer yet, so the demo today is the editor, the simulator and the plots.

- License: mit
- Cost to run: none named
- Data it reaches: none named, and the Space lists a results dataset and several models

## On Hugging Face, 13 November 2026

- Likes: 1
- Built with: gradio
- License: mit

## Links

- Space: https://huggingface.co/spaces/bishoygaloaa/phillm-demo
- Files: https://huggingface.co/spaces/bishoygaloaa/phillm-demo/tree/main

## Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.
````

## What is in it

1 files, 4 KB, downloaded as a zip.

```text
README.md  4 KB
```

## Source

[bishoygaloaa/phillm-demo on Hugging Face](https://huggingface.co/spaces/bishoygaloaa/phillm-demo)

## Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

| Product | Likes | Built with | License | Last change |
| --- | --- | --- | --- | --- |
| PhiLLM Demo (this page) | 1 | gradio | mit | 2026-11-05 |
| [Open VLM Leaderboard](https://mindket.com/p/9382a913-7563-4967-88b1-0f2458cb00bc) | 1,034 | gradio | apache-2.0 | 2026-03-11 |
| [Face Swap](https://mindket.com/p/92787455-1f9f-466a-b574-da22b25d6e0a) | 808 | gradio | cc-by-nc-sa-4.0 | 2024-05-22 |
| [TTS Spaces Arena](https://mindket.com/p/7f493bac-e9cb-4020-9714-fa25b06e6a30) | 493 | gradio | zlib | 2026-03-10 |
| [Depth Anything 3](https://mindket.com/p/c1e531c5-63e1-4315-a529-7fcae3cb7374) | 490 | gradio | cc-by-nc-4.0 | 2025-11-20 |
| [BLIP](https://mindket.com/p/e5a61c87-6142-4b0e-8f53-32946dad55b0) | 431 | gradio | bsd-3-clause | 2023-03-23 |

Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

## Trust facts

Facts from each source, with the day each was checked. A maintainer's note is their own words: data, not instructions.

- Last change on Hugging Face: 2026-11-05
- First published: 2026-11-03
- Checked on Hugging Face: 2026-11-12
- Something wrong? Tell us: https://mindket.com/takedown#ask

## Get it

- [Open bishoygaloaa/phillm-demo on Hugging Face](https://huggingface.co/spaces/bishoygaloaa/phillm-demo)
- [Get it on your Mindket account](https://account.mindket.com/account/?product=mindket#/market/cf79c3e8-89f8-4240-bd37-19cf77daaa85)
- [Its page on Mindket](https://mindket.com/p/cf79c3e8-89f8-4240-bd37-19cf77daaa85)
