rpranav commited on
Commit
80fe66c
·
verified ·
1 Parent(s): 1a8b2a3

Publish ea-decoder-channel-transformer

Browse files
README.md CHANGED
@@ -10,7 +10,7 @@ tags:
10
  - international-brain-lab
11
  ---
12
 
13
- # Ephys Atlas channel transformer (2026_W42, 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,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="2026_W42")
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="2026_W42"` 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,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:8714939ddcba55f87e0f9e710e66f65d54e1ea89913b98c5069f5e3c0b10b5f1
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:19372f67fcb09a96daaaa740bea7f6ff27fe52908c0e141a92d151dfb68669b9
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:cac6f6ba869b0593e4bd01660c1fee73334c1e6dd880c1f715deeaa336eda8b0
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:19372f67fcb09a96daaaa740bea7f6ff27fe52908c0e141a92d151dfb68669b9
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:43883d471ac507c653aa20cd27692b152a727c4ad6bd38bef94c78153e4cf3f3
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:19372f67fcb09a96daaaa740bea7f6ff27fe52908c0e141a92d151dfb68669b9
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:44d5970fba9a8541c59e36bad781ba6533bf39ee8d8a3c5416752715534c7518
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:19372f67fcb09a96daaaa740bea7f6ff27fe52908c0e141a92d151dfb68669b9
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:55e7a1dc096a809861b5e6ce9977429f7a638b0756081da08d21fd60d2c61d50
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:19372f67fcb09a96daaaa740bea7f6ff27fe52908c0e141a92d151dfb68669b9
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": "94694d0df55f2fa62492a90c87fe9c0436d294a2",
7
  "bytes": 3227829
8
  },
9
  {
10
  "path": "SEED00/feature_scaler.npz",
11
- "hash": "e172aa4dad31624e969422b091be9178973814bf",
12
  "bytes": 1316
13
  },
14
  {
15
  "path": "SEED01/best_model.pt",
16
- "hash": "3d1535c9b58310c068b7992020db04322072ff1d",
17
  "bytes": 3227829
18
  },
19
  {
20
  "path": "SEED01/feature_scaler.npz",
21
- "hash": "e172aa4dad31624e969422b091be9178973814bf",
22
  "bytes": 1316
23
  },
24
  {
25
  "path": "SEED02/best_model.pt",
26
- "hash": "eadc54070bfc2067f202ae34c469bf0d83780cf9",
27
  "bytes": 3227829
28
  },
29
  {
30
  "path": "SEED02/feature_scaler.npz",
31
- "hash": "e172aa4dad31624e969422b091be9178973814bf",
32
  "bytes": 1316
33
  },
34
  {
35
  "path": "SEED03/best_model.pt",
36
- "hash": "affeb211e7258dabdb1012cf87d4abf7124cf2b4",
37
  "bytes": 3227829
38
  },
39
  {
40
  "path": "SEED03/feature_scaler.npz",
41
- "hash": "e172aa4dad31624e969422b091be9178973814bf",
42
  "bytes": 1316
43
  },
44
  {
45
  "path": "SEED04/best_model.pt",
46
- "hash": "6ba390eb0725bbc5c1cee5cd6f2085a33154d75f",
47
  "bytes": 3227829
48
  },
49
  {
50
  "path": "SEED04/feature_scaler.npz",
51
- "hash": "e172aa4dad31624e969422b091be9178973814bf",
52
  "bytes": 1316
53
  },
54
  {
55
  "path": "ephysatlas_model.json",
56
- "hash": "58ac37652f24b5b03d8e90445f2d24137993964e",
57
- "bytes": 2956
58
  },
59
  {
60
  "path": "example/expected_predictions.parquet",
61
- "hash": "5acc788af6ea1844179dbb375d7d98e26ffdda8b",
62
- "bytes": 70327
63
  },
64
  {
65
  "path": "example/features_sample.parquet",
66
- "hash": "c26205bb99b943e0686dc5265305001912fec1f3",
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
- "vintage": "2026_W42",
 
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:27e3beec5ce1e857b0aefc1470d933ff0ab197ce2834dcd277ffb2bf036997f2
3
- size 70327
 
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:fa2e55bfb1da32ac9ede20c89be041dc629822bc15b136558714030f9bd00c77
3
  size 392681
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b1f7071fd3050a689d149d3dcab126bfdff065039e35763ab28f3cf8b328316
3
  size 392681