convaiinnovations commited on
Commit
df9a3c4
·
verified ·
1 Parent(s): 9751f7b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +4 -11
README.md CHANGED
@@ -48,7 +48,7 @@ This repository contains the **Flux Physics World Model**, a specialized archite
48
  * `final_flux_adapters.pt`: The trained weights for the Flux Adapters.
49
  * `final_physics_controller.pt`: The trained weights for the Physics Controller.
50
  * `modeling_physics_rl.py`: The core PyTorch definition of the Flux architecture.
51
- * `continuous_learning_session.py`: Interactive script for running TTT sessions.
52
 
53
  ## 💻 Usage
54
 
@@ -63,7 +63,7 @@ pip install torch transformers peft accelerate
63
  Launch a session and start teaching the model:
64
 
65
  ```bash
66
- python continuous_learning_session.py
67
  ```
68
 
69
  * **User**: "Drop a hammer in zero-g."
@@ -80,17 +80,10 @@ from modeling_physics_rl import PhysicsModel
80
 
81
  # Initialize Flux Engine
82
  model = PhysicsModel()
83
- model.load_weights("final_liquid_adapters.pt")
84
 
85
  # Teach (One-Shot Update)
86
- model.learn(
87
- input="The sky is green.",
88
- correction="Correct. In this world, the sky is green."
89
- )
90
-
91
- # Inference
92
- response = model.generate("What color is the sky?")
93
- # Output: "Green"
94
  ```
95
 
96
  ## ️ Training
 
48
  * `final_flux_adapters.pt`: The trained weights for the Flux Adapters.
49
  * `final_physics_controller.pt`: The trained weights for the Physics Controller.
50
  * `modeling_physics_rl.py`: The core PyTorch definition of the Flux architecture.
51
+ * `continuous_learning_cumulative.py`: Script for cumulative TTT sessions.
52
 
53
  ## 💻 Usage
54
 
 
63
  Launch a session and start teaching the model:
64
 
65
  ```bash
66
+ python continuous_learning_cumulative.py
67
  ```
68
 
69
  * **User**: "Drop a hammer in zero-g."
 
80
 
81
  # Initialize Flux Engine
82
  model = PhysicsModel()
83
+ model.load_weights("final_flux_adapters.pt")
84
 
85
  # Teach (One-Shot Update)
86
+ # See continuous_learning_cumulative.py for implementation details
 
 
 
 
 
 
 
87
  ```
88
 
89
  ## ️ Training