villekuosmanen commited on
Commit
3069e32
·
verified ·
1 Parent(s): 541bd02

Upload SAE model weights, config, and training state

Browse files
Files changed (4) hide show
  1. README.md +4 -4
  2. config.json +1 -1
  3. model.safetensors +1 -1
  4. training_state.pt +1 -1
README.md CHANGED
@@ -38,19 +38,19 @@ This model is a Sparse Autoencoder trained for interpretability analysis of robo
38
  - **Learning Rate**: 0.0001
39
  - **Batch Size**: 16
40
  - **L1 Penalty**: 0.3
41
- - **Epochs**: 20
42
  - **Optimizer**: adam
43
 
44
  ## Usage
45
 
46
  ```python
47
- from src.sae.trainer import load_sae_from_hub
48
 
49
  # Load model from Hub
50
  model = load_sae_from_hub("villekuosmanen/drop_footbag_into_dice_tower_ood_sae_success")
51
 
52
  # Or load using builder
53
- from src.sae.builder import SAEBuilder
54
  builder = SAEBuilder(device='cuda')
55
  model = builder.load_from_hub("villekuosmanen/drop_footbag_into_dice_tower_ood_sae_success")
56
  ```
@@ -60,7 +60,7 @@ model = builder.load_from_hub("villekuosmanen/drop_footbag_into_dice_tower_ood_s
60
  This SAE model can be used for OOD detection with LeRobot policies:
61
 
62
  ```python
63
- from src.ood import OODDetector
64
 
65
  # Create OOD detector with Hub-loaded SAE
66
  ood_detector = OODDetector(
 
38
  - **Learning Rate**: 0.0001
39
  - **Batch Size**: 16
40
  - **L1 Penalty**: 0.3
41
+ - **Epochs**: 15
42
  - **Optimizer**: adam
43
 
44
  ## Usage
45
 
46
  ```python
47
+ from physical_ai_interpretability.sae import load_sae_from_hub
48
 
49
  # Load model from Hub
50
  model = load_sae_from_hub("villekuosmanen/drop_footbag_into_dice_tower_ood_sae_success")
51
 
52
  # Or load using builder
53
+ from physical_ai_interpretability.sae import SAEBuilder
54
  builder = SAEBuilder(device='cuda')
55
  model = builder.load_from_hub("villekuosmanen/drop_footbag_into_dice_tower_ood_sae_success")
56
  ```
 
60
  This SAE model can be used for OOD detection with LeRobot policies:
61
 
62
  ```python
63
+ from physical_ai_interpretability.ood import OODDetector
64
 
65
  # Create OOD detector with Hub-loaded SAE
66
  ood_detector = OODDetector(
config.json CHANGED
@@ -14,7 +14,7 @@
14
  "block_size": 8,
15
  "batch_size": 16,
16
  "learning_rate": 0.0001,
17
- "num_epochs": 20,
18
  "validation_split": 0.1,
19
  "l1_penalty": 0.3,
20
  "optimizer": "adam",
 
14
  "block_size": 8,
15
  "batch_size": 16,
16
  "learning_rate": 0.0001,
17
+ "num_epochs": 15,
18
  "validation_split": 0.1,
19
  "l1_penalty": 0.3,
20
  "optimizer": "adam",
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a7786da09e811c9dc29a8df815d0f45e4d536f687b6642cb5256ee5a92a60174
3
  size 971496408
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf72baba488a66a15b846c7b7cd6b720afb61c1f80e76c8f7d94fde412d675a3
3
  size 971496408
training_state.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7d435aafa93018ab4cb184c496b19c52d3df2af5291a9f1cfc4986ed4e515f5a
3
  size 1942998303
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ba5e2c03dacbbf979d83915e1b57c5b4d685d69cda7f7403bf8e989697edae8
3
  size 1942998303