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/allenai/aokvqa",4 "url": "https://github.com/allenai/aokvqa",5 "host": "github.com",6 "commit": "83786de0b24c4fef0bfe39420684f6f73d9f3581",7 "license": "Apache-2.0",8 "license_confirmed_by": "license file LICENSE",9 "redistribution": "yes",10 "files": [11 {12 "path": "LICENSE",13 "sha256": "3bcf720dc872fe00ef7bf7e07ebc7bc720e71cb6f7b43cb90241b9104f0ab617",14 "language": "License",15 "lines": 201,16 "truncated": false,17 "block": 20,18 "row": 885819 },20 {21 "path": "README.md",22 "sha256": "ee2bd89d8675b9cb45d74e4587fe0aa4d1b2275d3f8dbd3f334f9e946ae2ac87",23 "language": "Text",24 "lines": 207,25 "truncated": false,26 "block": 21,27 "row": 320728 },29 {30 "path": "data_scripts/build_vocab.py",31 "sha256": "4a30c55ba26185c2fa040c93e6ede52bbcb800c9233d164677f8ee8c5b640381",32 "language": "Python",33 "lines": 45,34 "truncated": false,35 "block": 20,36 "row": 1453837 },38 {39 "path": "data_scripts/encode_vocab_clip.py",40 "sha256": "e2659f6a30af2a7ff30bf11ac11f34f1edc3f42435f5118af37e8129430cf686",41 "language": "Python",42 "lines": 26,43 "truncated": false,44 "block": 20,45 "row": 1428846 },47 {48 "path": "data_scripts/extract_bert_features.py",49 "sha256": "fd5aaa1f1781548364db590561c68ccb0b9627ec611d0b42f0fbb2a1c4556203",50 "language": "Python",51 "lines": 50,52 "truncated": false,53 "block": 20,54 "row": 1522355 },56 {57 "path": "data_scripts/extract_clip_features.py",58 "sha256": "4ed2533b981d3019648c5c4e3d010c1f81c4842187705ebbea99faf9a38cb86d",59 "language": "Python",60 "lines": 51,61 "truncated": false,62 "block": 20,63 "row": 1511064 },65 {66 "path": "data_scripts/extract_resnet_features.py",67 "sha256": "ba856be299e295323ce599716844c94bc712e241d3670d3504898087c9f966ff",68 "language": "Python",69 "lines": 62,70 "truncated": false,71 "block": 20,72 "row": 1528173 },74 {75 "path": "evaluation/eval_predictions.py",76 "sha256": "7234655c05764a554c9c5a592cfa069e4469d1a0db5d0b2361b5d4f1eb372b76",77 "language": "Python",78 "lines": 97,79 "truncated": false,80 "block": 20,81 "row": 1666982 },83 {84 "path": "evaluation/prepare_predictions.py",85 "sha256": "4d0263201ff09fca705302d2024bb3e5b162d1fb1630d752e39d67c46d97c4de",86 "language": "Python",87 "lines": 31,88 "truncated": false,89 "block": 20,90 "row": 1451991 },92 {93 "path": "evaluation/remap_predictions.py",94 "sha256": "64ec8eeabb12d164dbab24355e9af9abd4d61d2bd4bc47fc69fcf03957c2a171",95 "language": "Python",96 "lines": 44,97 "truncated": false,98 "block": 20,99 "row": 15169100 },101 {102 "path": "gpt3/caption_inputs.py",103 "sha256": "ffe2086e0ba6c9f68512a142697e85263fdd717783ff2ac72d082e9a60ebebdd",104 "language": "Python",105 "lines": 23,106 "truncated": false,107 "block": 20,108 "row": 13990109 },110 {111 "path": "gpt3/query_gpt3.py",112 "sha256": "c771e95a76d398f90d5904ffd699b934f13feccd7fbeaf88ef62c243dc4138b9",113 "language": "Python",114 "lines": 79,115 "truncated": false,116 "block": 20,117 "row": 16282118 },119 {120 "path": "gpt3/rationale_inputs.py",121 "sha256": "08d7885e2c085523627375792b17ddeb5fdaa2a7765106483fd9e5b7280e06fb",122 "language": "Python",123 "lines": 16,124 "truncated": false,125 "block": 20,126 "row": 13512127 },128 {129 "path": "heuristics/most_common_answer.py",130 "sha256": "6885c0f7086986f6465b3cb4b4f1a616fb24085b92b86d68d251dc444dfaa3a9",131 "language": "Python",132 "lines": 39,133 "truncated": false,134 "block": 20,135 "row": 14384136 },137 {138 "path": "heuristics/random_unweighted.py",139 "sha256": "1937b2b68a60860c35095900ff253a056367675fd77afb266b6624449369cdba",140 "language": "Python",141 "lines": 38,142 "truncated": false,143 "block": 20,144 "row": 14149145 },146 {147 "path": "heuristics/random_weighted.py",148 "sha256": "48505920d5a2898ab891fe7aed75586c7599ab174cf9b762a05bf4d3d517d78c",149 "language": "Python",150 "lines": 46,151 "truncated": false,152 "block": 20,153 "row": 14643154 },155 {156 "path": "load_aokvqa.py",157 "sha256": "df7fce7d633ef923591663777bbf928725b4a2a1eb81daf74a26ef95c725081c",158 "language": "Python",159 "lines": 13,160 "truncated": false,161 "block": 20,162 "row": 13109163 },164 {165 "path": "transfer_experiments/predict.py",166 "sha256": "96efbc844bf1614482741191ba2009c4ed00daaffd13436c86402cbd32694ad1",167 "language": "Python",168 "lines": 126,169 "truncated": false,170 "block": 20,171 "row": 18079172 },173 {174 "path": "transfer_experiments/train.py",175 "sha256": "abf8c7168fe0a8f4bd127a41f013b43cec41a7041777bb720769d87c654c992c",176 "language": "Python",177 "lines": 263,178 "truncated": false,179 "block": 20,180 "row": 19944181 }182 ]183}