Publish ea-decoder-channel-transformer
Browse files- README.md +4 -4
- SEED00/best_model.pt +1 -1
- SEED00/feature_scaler.npz +1 -1
- SEED01/best_model.pt +1 -1
- SEED01/feature_scaler.npz +1 -1
- SEED02/best_model.pt +1 -1
- SEED02/feature_scaler.npz +1 -1
- SEED03/best_model.pt +1 -1
- SEED03/feature_scaler.npz +1 -1
- SEED04/best_model.pt +1 -1
- SEED04/feature_scaler.npz +1 -1
- checksums.json +15 -15
- ephysatlas_model.json +2 -1
- example/expected_predictions.parquet +2 -2
- example/features_sample.parquet +1 -1
README.md
CHANGED
|
@@ -10,7 +10,7 @@ tags:
|
|
| 10 |
- international-brain-lab
|
| 11 |
---
|
| 12 |
|
| 13 |
-
# Ephys Atlas channel transformer
|
| 14 |
|
| 15 |
Predicts the **brain region of each Neuropixels recording channel** from electrophysiological
|
| 16 |
features alone -- no histology required. Unlike the per-channel region classifier, this model is a
|
|
@@ -29,7 +29,7 @@ Ephys Atlas feature release `2026_W42`.
|
|
| 29 |
import pandas as pd
|
| 30 |
from ephysatlas import load_pretrained
|
| 31 |
|
| 32 |
-
model = load_pretrained("int-brain-lab/ea-decoder-channel-transformer", revision="
|
| 33 |
df = pd.read_parquet("example/features_sample.parquet") # or your own features
|
| 34 |
out = model.predict(df)
|
| 35 |
print(out[["predicted_acronym", "prediction_probability", "seed_agreement"]].head())
|
|
@@ -94,7 +94,7 @@ that this card cannot drift from the numbers it claims.
|
|
| 94 |
|
| 95 |
## Reproducibility
|
| 96 |
|
| 97 |
-
**Pin the revision.** `revision="
|
| 98 |
to `main`, which tracks whichever model is currently recommended and *will* change when a new
|
| 99 |
feature vintage is published -- fine for a first look, not for anything you publish or re-run.
|
| 100 |
|
|
@@ -108,5 +108,5 @@ model.selftest()
|
|
| 108 |
|
| 109 |
## Citation
|
| 110 |
|
| 111 |
-
Please cite the International Brain Laboratory Ephys Atlas. Model id `ea-decoder-channel-transformer`,
|
| 112 |
feature vintage `2026_W42`.
|
|
|
|
| 10 |
- international-brain-lab
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Ephys Atlas channel transformer 0.0.1 (Cosmos)
|
| 14 |
|
| 15 |
Predicts the **brain region of each Neuropixels recording channel** from electrophysiological
|
| 16 |
features alone -- no histology required. Unlike the per-channel region classifier, this model is a
|
|
|
|
| 29 |
import pandas as pd
|
| 30 |
from ephysatlas import load_pretrained
|
| 31 |
|
| 32 |
+
model = load_pretrained("int-brain-lab/ea-decoder-channel-transformer", revision="0.0.1")
|
| 33 |
df = pd.read_parquet("example/features_sample.parquet") # or your own features
|
| 34 |
out = model.predict(df)
|
| 35 |
print(out[["predicted_acronym", "prediction_probability", "seed_agreement"]].head())
|
|
|
|
| 94 |
|
| 95 |
## Reproducibility
|
| 96 |
|
| 97 |
+
**Pin the revision.** `revision="0.0.1"` is an immutable tag. Omitting `revision` resolves
|
| 98 |
to `main`, which tracks whichever model is currently recommended and *will* change when a new
|
| 99 |
feature vintage is published -- fine for a first look, not for anything you publish or re-run.
|
| 100 |
|
|
|
|
| 108 |
|
| 109 |
## Citation
|
| 110 |
|
| 111 |
+
Please cite the International Brain Laboratory Ephys Atlas. Model id `ea-decoder-channel-transformer`, version `0.0.1`,
|
| 112 |
feature vintage `2026_W42`.
|
SEED00/best_model.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3227829
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10c8e77e411ce9c7b55fa1a44cbe2ef6b7faad8eb31e97d3067fcb03058218b4
|
| 3 |
size 3227829
|
SEED00/feature_scaler.npz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1316
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a693f2e965bfb7d85540677fbb58ab30833f8d2615e5252b2b7541dbd288de6
|
| 3 |
size 1316
|
SEED01/best_model.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3227829
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5e2b387553e465afb073061c01484ab48e637c0f376669866469ed1adef06e2
|
| 3 |
size 3227829
|
SEED01/feature_scaler.npz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1316
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a693f2e965bfb7d85540677fbb58ab30833f8d2615e5252b2b7541dbd288de6
|
| 3 |
size 1316
|
SEED02/best_model.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3227829
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1498453eb34000e28713dcc8bc9c398cf5b39327453160a5f070a13878359441
|
| 3 |
size 3227829
|
SEED02/feature_scaler.npz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1316
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a693f2e965bfb7d85540677fbb58ab30833f8d2615e5252b2b7541dbd288de6
|
| 3 |
size 1316
|
SEED03/best_model.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3227829
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3be9e4f30eb4cb9260153fd0831c1e8a6fdb88f59d05dacf61c84fe744eafaae
|
| 3 |
size 3227829
|
SEED03/feature_scaler.npz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1316
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a693f2e965bfb7d85540677fbb58ab30833f8d2615e5252b2b7541dbd288de6
|
| 3 |
size 1316
|
SEED04/best_model.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3227829
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ec73ea0f6139ca0be8dc9c7524ec612583c18fbb95ab39d7729a857e216dc94
|
| 3 |
size 3227829
|
SEED04/feature_scaler.npz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1316
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a693f2e965bfb7d85540677fbb58ab30833f8d2615e5252b2b7541dbd288de6
|
| 3 |
size 1316
|
checksums.json
CHANGED
|
@@ -3,67 +3,67 @@
|
|
| 3 |
"files": [
|
| 4 |
{
|
| 5 |
"path": "SEED00/best_model.pt",
|
| 6 |
-
"hash": "
|
| 7 |
"bytes": 3227829
|
| 8 |
},
|
| 9 |
{
|
| 10 |
"path": "SEED00/feature_scaler.npz",
|
| 11 |
-
"hash": "
|
| 12 |
"bytes": 1316
|
| 13 |
},
|
| 14 |
{
|
| 15 |
"path": "SEED01/best_model.pt",
|
| 16 |
-
"hash": "
|
| 17 |
"bytes": 3227829
|
| 18 |
},
|
| 19 |
{
|
| 20 |
"path": "SEED01/feature_scaler.npz",
|
| 21 |
-
"hash": "
|
| 22 |
"bytes": 1316
|
| 23 |
},
|
| 24 |
{
|
| 25 |
"path": "SEED02/best_model.pt",
|
| 26 |
-
"hash": "
|
| 27 |
"bytes": 3227829
|
| 28 |
},
|
| 29 |
{
|
| 30 |
"path": "SEED02/feature_scaler.npz",
|
| 31 |
-
"hash": "
|
| 32 |
"bytes": 1316
|
| 33 |
},
|
| 34 |
{
|
| 35 |
"path": "SEED03/best_model.pt",
|
| 36 |
-
"hash": "
|
| 37 |
"bytes": 3227829
|
| 38 |
},
|
| 39 |
{
|
| 40 |
"path": "SEED03/feature_scaler.npz",
|
| 41 |
-
"hash": "
|
| 42 |
"bytes": 1316
|
| 43 |
},
|
| 44 |
{
|
| 45 |
"path": "SEED04/best_model.pt",
|
| 46 |
-
"hash": "
|
| 47 |
"bytes": 3227829
|
| 48 |
},
|
| 49 |
{
|
| 50 |
"path": "SEED04/feature_scaler.npz",
|
| 51 |
-
"hash": "
|
| 52 |
"bytes": 1316
|
| 53 |
},
|
| 54 |
{
|
| 55 |
"path": "ephysatlas_model.json",
|
| 56 |
-
"hash": "
|
| 57 |
-
"bytes":
|
| 58 |
},
|
| 59 |
{
|
| 60 |
"path": "example/expected_predictions.parquet",
|
| 61 |
-
"hash": "
|
| 62 |
-
"bytes":
|
| 63 |
},
|
| 64 |
{
|
| 65 |
"path": "example/features_sample.parquet",
|
| 66 |
-
"hash": "
|
| 67 |
"bytes": 392681
|
| 68 |
}
|
| 69 |
]
|
|
|
|
| 3 |
"files": [
|
| 4 |
{
|
| 5 |
"path": "SEED00/best_model.pt",
|
| 6 |
+
"hash": "69799f955b49efca2d0a7cdc1f2434bb722c83e8",
|
| 7 |
"bytes": 3227829
|
| 8 |
},
|
| 9 |
{
|
| 10 |
"path": "SEED00/feature_scaler.npz",
|
| 11 |
+
"hash": "1390854ca73da9267fc3336f612c44f7a2f5f4aa",
|
| 12 |
"bytes": 1316
|
| 13 |
},
|
| 14 |
{
|
| 15 |
"path": "SEED01/best_model.pt",
|
| 16 |
+
"hash": "3c91a89b051d46c51e5f8e70f024208c02f9054c",
|
| 17 |
"bytes": 3227829
|
| 18 |
},
|
| 19 |
{
|
| 20 |
"path": "SEED01/feature_scaler.npz",
|
| 21 |
+
"hash": "1390854ca73da9267fc3336f612c44f7a2f5f4aa",
|
| 22 |
"bytes": 1316
|
| 23 |
},
|
| 24 |
{
|
| 25 |
"path": "SEED02/best_model.pt",
|
| 26 |
+
"hash": "ee5e4937b23922e904b0221f7cfb065692e27651",
|
| 27 |
"bytes": 3227829
|
| 28 |
},
|
| 29 |
{
|
| 30 |
"path": "SEED02/feature_scaler.npz",
|
| 31 |
+
"hash": "1390854ca73da9267fc3336f612c44f7a2f5f4aa",
|
| 32 |
"bytes": 1316
|
| 33 |
},
|
| 34 |
{
|
| 35 |
"path": "SEED03/best_model.pt",
|
| 36 |
+
"hash": "0ec4c1bfbd910ec8ce6016cd49fa6d2c570b7ae5",
|
| 37 |
"bytes": 3227829
|
| 38 |
},
|
| 39 |
{
|
| 40 |
"path": "SEED03/feature_scaler.npz",
|
| 41 |
+
"hash": "1390854ca73da9267fc3336f612c44f7a2f5f4aa",
|
| 42 |
"bytes": 1316
|
| 43 |
},
|
| 44 |
{
|
| 45 |
"path": "SEED04/best_model.pt",
|
| 46 |
+
"hash": "b547dd151f94d8fc1f2b884ea144421b8071a4ed",
|
| 47 |
"bytes": 3227829
|
| 48 |
},
|
| 49 |
{
|
| 50 |
"path": "SEED04/feature_scaler.npz",
|
| 51 |
+
"hash": "1390854ca73da9267fc3336f612c44f7a2f5f4aa",
|
| 52 |
"bytes": 1316
|
| 53 |
},
|
| 54 |
{
|
| 55 |
"path": "ephysatlas_model.json",
|
| 56 |
+
"hash": "00fc848d744b2e66d5f466b76325c1674bd84694",
|
| 57 |
+
"bytes": 2989
|
| 58 |
},
|
| 59 |
{
|
| 60 |
"path": "example/expected_predictions.parquet",
|
| 61 |
+
"hash": "499615e21e742a6553759393cf6ef7500db4309c",
|
| 62 |
+
"bytes": 70317
|
| 63 |
},
|
| 64 |
{
|
| 65 |
"path": "example/features_sample.parquet",
|
| 66 |
+
"hash": "7e18c15b680f2c3ad03c5039b5e574995219dd69",
|
| 67 |
"bytes": 392681
|
| 68 |
}
|
| 69 |
]
|
ephysatlas_model.json
CHANGED
|
@@ -2,7 +2,8 @@
|
|
| 2 |
"task": "region-classification-transformer",
|
| 3 |
"model_class": "ProbeTransformer",
|
| 4 |
"model_id": "ea-decoder-channel-transformer",
|
| 5 |
-
"
|
|
|
|
| 6 |
"granularity": "channel",
|
| 7 |
"config": {
|
| 8 |
"classes": [
|
|
|
|
| 2 |
"task": "region-classification-transformer",
|
| 3 |
"model_class": "ProbeTransformer",
|
| 4 |
"model_id": "ea-decoder-channel-transformer",
|
| 5 |
+
"model_version": "0.0.1",
|
| 6 |
+
"data_vintage": "2026_W42",
|
| 7 |
"granularity": "channel",
|
| 8 |
"config": {
|
| 9 |
"classes": [
|
example/expected_predictions.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9f1314c467eb21c796b6e51ef68482010047e02df844392f5e44d780415b397
|
| 3 |
+
size 70317
|
example/features_sample.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 392681
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b1f7071fd3050a689d149d3dcab126bfdff065039e35763ab28f3cf8b328316
|
| 3 |
size 392681
|