OpenScientificCodeRegistry/Database
Open Scientific Code Registry (OSCR): the authors' scripts The code published by the authors of open-access neuroscience papers, as found and verified by Open Scientific Code Registry (OSCR). Each file is here exactly as it is at the source, at the verified commit, under the license of its repository. 421,275 unique files (3,782 MB of text) from 8,849 repositories, in 24 Parquet block(s). Only files whose repository's license allows redistribution, confirmed by the repository's… See the full description on the dataset page: https://huggingface.co/datasets/OpenScientificCodeRegistry/Database.
05.6k
1{2 "format": "oscr-script-manifest/1",3 "repository": "github.com/anthony-wang/crabnet",4 "url": "https://github.com/anthony-wang/CrabNet",5 "host": "github.com",6 "commit": "457b4d4835737ecbe4dd33e53174bd818bd82143",7 "license": "MIT",8 "license_confirmed_by": "license file LICENSE.md",9 "redistribution": "yes",10 "files": [11 {12 "path": "LICENSE.md",13 "sha256": "fa5ec26308b1458d0480f897d9fa8be3afe8e436b81aa5e1d94f890864e0169b",14 "language": "License",15 "lines": 22,16 "truncated": false,17 "block": 6,18 "row": 191119 },20 {21 "path": "README.md",22 "sha256": "9cb0d52601341f8f579c9d3317cc6921a36c91b7572dbb5b10b0f62e8249e345",23 "language": "Text",24 "lines": 70,25 "truncated": false,26 "block": 8,27 "row": 1004528 },29 {30 "path": "crabnet/kingcrab.py",31 "sha256": "bc4918199d1b9df95d5781a5e195cc90003f4e2298b0d326f09019cc4eaf985f",32 "language": "Python",33 "lines": 246,34 "truncated": false,35 "block": 7,36 "row": 158137 },38 {39 "path": "crabnet/model.py",40 "sha256": "6ce933db74e336442d33445cf2ce5c5dcd03ca6269e1220e78c2b27c0b459f72",41 "language": "Python",42 "lines": 407,43 "truncated": false,44 "block": 7,45 "row": 773146 },47 {48 "path": "data/element_properties/elmd_element_props/parse_elmd_elemdict.py",49 "sha256": "3fbdffc3d358ea256ff9778538bd06942ead628161048d6bdf13632632366580",50 "language": "Python",51 "lines": 31,52 "truncated": false,53 "block": 6,54 "row": 2378155 },56 {57 "path": "metrics/get_predictions_metrics.py",58 "sha256": "5a729db8d9c1706037244d85f862c026a4e6efea6353b559a939f3691f667889",59 "language": "Python",60 "lines": 194,61 "truncated": false,62 "block": 7,63 "row": 120264 },65 {66 "path": "publication_CrabNet/Paper_FIG_1.py",67 "sha256": "aef7668cab91c487b02bd4c7074d4271280fefc1086b2659e85b881a72848f58",68 "language": "Python",69 "lines": 309,70 "truncated": false,71 "block": 7,72 "row": 289573 },74 {75 "path": "publication_CrabNet/Paper_FIG_2.py",76 "sha256": "ba3938f2adb1f7e040bfc15e266e5ed34cc29b233ba8ba1669aa4a04c40f5232",77 "language": "Python",78 "lines": 328,79 "truncated": false,80 "block": 7,81 "row": 439582 },83 {84 "path": "publication_CrabNet/Paper_FIG_3.py",85 "sha256": "32adb271312a40437967dcffe938b68ce19e110e9664be13101b16727a32a36e",86 "language": "Python",87 "lines": 279,88 "truncated": false,89 "block": 7,90 "row": 353091 },92 {93 "path": "publication_CrabNet/Paper_FIG_4.py",94 "sha256": "bef53544671cd74d0bd3690c89b5ea62ba8df2d68ff69334c5daf6a65b9f7974",95 "language": "Python",96 "lines": 203,97 "truncated": false,98 "block": 7,99 "row": 1108100 },101 {102 "path": "publication_CrabNet/Paper_SI_Figure_positional_encodings.py",103 "sha256": "3f53ff0e2f3446042e9a7647e13c81c2e4de80016655cd552e8f2dcb189cf4a8",104 "language": "Python",105 "lines": 246,106 "truncated": false,107 "block": 7,108 "row": 1392109 },110 {111 "path": "publication_CrabNet/Paper_TABLE_2.py",112 "sha256": "c2f34e829d8b53774c1c8be09b461b847ba2dd2b404fb9e6427d49879ddf0160",113 "language": "Python",114 "lines": 228,115 "truncated": false,116 "block": 7,117 "row": 875118 },119 {120 "path": "publication_CrabNet/benchmark_crabnet.py",121 "sha256": "25929b09ae9347ecf4b96a574ae60ed686b11085a0ac74c492a825009df56954",122 "language": "Python",123 "lines": 131,124 "truncated": false,125 "block": 6,126 "row": 40658127 },128 {129 "path": "publication_CrabNet/benchmark_rf.py",130 "sha256": "c7aaee8c92c2bd01c106e743cc18b183ac7303c940684df7086027bd85233852",131 "language": "Python",132 "lines": 106,133 "truncated": false,134 "block": 6,135 "row": 36633136 },137 {138 "path": "publication_CrabNet/matbench_crabnet.py",139 "sha256": "00c2d0cd45fcac9fce7734ee72ab46699f95d6fd8562cb897e930b5ba71df430",140 "language": "Python",141 "lines": 137,142 "truncated": false,143 "block": 6,144 "row": 41313145 },146 {147 "path": "publication_CrabNet/matbench_rf.py",148 "sha256": "3f85ddda1168dfc4dd86ccc00340e7c8bf7e2746d443562d01408f071fb84467",149 "language": "Python",150 "lines": 106,151 "truncated": false,152 "block": 6,153 "row": 36577154 },155 {156 "path": "publication_CrabNet/retrain_rf.py",157 "sha256": "0a01338ccfe07b4a39b1fdf8309d1a3b3c2cbde2b5e8957fbf21683c0059f1a3",158 "language": "Python",159 "lines": 301,160 "truncated": false,161 "block": 7,162 "row": 4077163 },164 {165 "path": "publication_CrabNet/train_crabnet.py",166 "sha256": "1f12932ed3f3cbb2d89094b03ef1a0a8851228e3be7c8996f251f1c0fe3bfd0d",167 "language": "Python",168 "lines": 146,169 "truncated": false,170 "block": 6,171 "row": 42198172 },173 {174 "path": "publication_ExplainableGap/generate_attention_videos.py",175 "sha256": "6971d432293d1186f00906c5216338aed8ec1b163ad6a6e90a659ac4790f360e",176 "language": "Python",177 "lines": 373,178 "truncated": false,179 "block": 7,180 "row": 5991181 },182 {183 "path": "publication_ExplainableGap/get_crabnet_embeddings.py",184 "sha256": "7435ca1e656a63c4b9aa1316859b81e87e308386d6f9596267a551e07c37a373",185 "language": "Python",186 "lines": 293,187 "truncated": false,188 "block": 7,189 "row": 2170190 },191 {192 "path": "publication_ExplainableGap/get_dataset_stats.py",193 "sha256": "107dbebb8b833f1a2322dbaa447e3cec25d5d213870f9ed4b25e43e3ba4b2c9f",194 "language": "Python",195 "lines": 260,196 "truncated": false,197 "block": 7,198 "row": 4088199 },200 {201 "path": "publication_ExplainableGap/get_training_attention.py",202 "sha256": "3b918d245599be1bfe01e85f99786862bb30bfc2c49404ee372804aa49f71955",203 "language": "Python",204 "lines": 452,205 "truncated": false,206 "block": 7,207 "row": 7395208 },209 {210 "path": "publication_ExplainableGap/guess_oxidation.py",211 "sha256": "0fdeaa59064616df3fe04d902abd13aa016d62514f60ecf31b9eae6a5f4cb715",212 "language": "Python",213 "lines": 115,214 "truncated": false,215 "block": 6,216 "row": 39440217 },218 {219 "path": "publication_ExplainableGap/plot_element_correlation.py",220 "sha256": "6a267329d945e0742a5e8e20530fd216d04cf2b30c6782090cebd4f6577dc85c",221 "language": "Python",222 "lines": 180,223 "truncated": false,224 "block": 6,225 "row": 42674226 },227 {228 "path": "publication_ExplainableGap/plot_global_edm_umap.py",229 "sha256": "76b5c61158c0f179e0e516c10042849cd0aa0b97579b53fc6d8fe9e6dedf06f4",230 "language": "Python",231 "lines": 623,232 "truncated": false,233 "block": 7,234 "row": 9414235 },236 {237 "path": "publication_ExplainableGap/plot_local_edm_umap.py",238 "sha256": "bf93f36d8bc0b0ca9aa5393ef88fc650a27dc9fb01ae17287459a9e4d670f12d",239 "language": "Python",240 "lines": 557,241 "truncated": false,242 "block": 7,243 "row": 9198244 },245 {246 "path": "utils/attention_utils.py",247 "sha256": "15155dad3f65dc3a2f7f2789f09028c6aebd4c7ddaaae25661d443561428dd4b",248 "language": "Python",249 "lines": 553,250 "truncated": false,251 "block": 7,252 "row": 7740253 },254 {255 "path": "utils/composition.py",256 "sha256": "d756543862ca50d0f0e366383a3f59723ad60621933bd99c4c6b1c07a8893755",257 "language": "Python",258 "lines": 351,259 "truncated": false,260 "block": 7,261 "row": 4330262 },263 {264 "path": "utils/estimatorselectionhelper.py",265 "sha256": "5cf128ffac9eff34f27345a4389fcc6ed4efa996683ea8206db1bce4b27a6dd1",266 "language": "Python",267 "lines": 117,268 "truncated": false,269 "block": 6,270 "row": 40044271 },272 {273 "path": "utils/figures.py",274 "sha256": "c5a881d5777a7582c38a8dc33671045faba096dfc0a91572b96981e8f7139528",275 "language": "Python",276 "lines": 448,277 "truncated": false,278 "block": 7,279 "row": 6182280 },281 {282 "path": "utils/get_compute_device.py",283 "sha256": "ddd807b2ef585eefec130deae21b2643e60c8c982667ec128e8534e0569f674f",284 "language": "Python",285 "lines": 21,286 "truncated": false,287 "block": 6,288 "row": 23004289 },290 {291 "path": "utils/get_core_count.py",292 "sha256": "767aeafca43cd17e082729f39ced84822e8b26c4bccb26e5383a89993e8344a1",293 "language": "Python",294 "lines": 115,295 "truncated": false,296 "block": 6,297 "row": 35065298 },299 {300 "path": "utils/modelselectionhelper.py",301 "sha256": "e30f8751f8ef3a0ec269c39d04c26b446f6199c0c5085b27f2cdc50c56fbbbad",302 "language": "Python",303 "lines": 97,304 "truncated": false,305 "block": 6,306 "row": 37849307 },308 {309 "path": "utils/optim.py",310 "sha256": "d4ce309e479ff7a6df4883a8f22f57b39e31732268984882587b0c13b18a0b63",311 "language": "Python",312 "lines": 367,313 "truncated": false,314 "block": 7,315 "row": 6819316 },317 {318 "path": "utils/oxidation_utils.py",319 "sha256": "85767ff4ffcbceacbb7857ccd0ffb4fcf7ca941bfc9c642b7f246c10372e3cd3",320 "language": "Python",321 "lines": 52,322 "truncated": false,323 "block": 6,324 "row": 27328325 },326 {327 "path": "utils/utils.py",328 "sha256": "e845eb360c579ca79d2afd2e63193c3b48f744f69241c9796d9c0670e7fd1f2b",329 "language": "Python",330 "lines": 843,331 "truncated": false,332 "block": 7,333 "row": 10629334 }335 ]336}