Upload SAE model weights, config, and training state
Browse files- README.md +4 -4
- config.json +1 -1
- model.safetensors +1 -1
- 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**:
|
| 42 |
- **Optimizer**: adam
|
| 43 |
|
| 44 |
## Usage
|
| 45 |
|
| 46 |
```python
|
| 47 |
-
from
|
| 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
|
| 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
|
| 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":
|
| 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:
|
| 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:
|
| 3 |
size 1942998303
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ba5e2c03dacbbf979d83915e1b57c5b4d685d69cda7f7403bf8e989697edae8
|
| 3 |
size 1942998303
|