Upload batch 23 (20 files, last=openalex-snapshot/data/fields/manifest)
Browse files- .gitattributes +2 -0
- MAPLE/Biology/venues.txt +100 -0
- logs/csrankings_citations_2336133.err +0 -0
- logs/csrankings_citations_2336133.out +3 -0
- logs/enrich_sscholar_2348858.err +17 -0
- logs/enrich_sscholar_2348858.out +3 -0
- logs/llama32_all_fields_2832379.err +181 -0
- logs/llama32_all_fields_2832379.out +2 -0
- logs/llama32_all_fields_2832403.err +180 -0
- logs/llama32_all_fields_2832403.out +2 -0
- logs/llama32_best_paper_17085241.err +541 -0
- logs/llama32_best_paper_17085241.out +61 -0
- logs/match_sampled_maple_openalex_2252005.err +0 -0
- logs/match_sampled_maple_openalex_2252005.out +0 -0
- logs/match_sampled_maple_openalex_2292872.err +0 -0
- logs/match_sampled_maple_openalex_2292872.out +0 -0
- openalex-snapshot/LICENSE.txt +121 -0
- openalex-snapshot/README.txt +4 -0
- openalex-snapshot/RELEASE_NOTES.txt +245 -0
- openalex-snapshot/browse.html +749 -0
- openalex-snapshot/data/fields/manifest +10 -0
.gitattributes
CHANGED
|
@@ -196,3 +196,5 @@ MAPLE/Chemistry/papers.json filter=lfs diff=lfs merge=lfs -text
|
|
| 196 |
MAPLE/Philosophy/papers.json filter=lfs diff=lfs merge=lfs -text
|
| 197 |
MAPLE/Biology/authors.txt filter=lfs diff=lfs merge=lfs -text
|
| 198 |
MAPLE/Biology/papers.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 196 |
MAPLE/Philosophy/papers.json filter=lfs diff=lfs merge=lfs -text
|
| 197 |
MAPLE/Biology/authors.txt filter=lfs diff=lfs merge=lfs -text
|
| 198 |
MAPLE/Biology/papers.json filter=lfs diff=lfs merge=lfs -text
|
| 199 |
+
logs/csrankings_citations_2336133.out filter=lfs diff=lfs merge=lfs -text
|
| 200 |
+
logs/enrich_sscholar_2348858.out filter=lfs diff=lfs merge=lfs -text
|
MAPLE/Biology/venues.txt
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
137773608 nature Nature
|
| 2 |
+
3880285 science Science
|
| 3 |
+
110447773 cell Cell
|
| 4 |
+
125754415 proceedings of the national academy of sciences of the united states of america Proceedings of the National Academy of Sciences of the United States of America
|
| 5 |
+
137905309 nature genetics Nature Genetics
|
| 6 |
+
134668137 nucleic acids research Nucleic Acids Research
|
| 7 |
+
140251998 journal of biological chemistry Journal of Biological Chemistry
|
| 8 |
+
22947807 journal of experimental medicine Journal of Experimental Medicine
|
| 9 |
+
96410829 journal of cell biology Journal of Cell Biology
|
| 10 |
+
114430552 journal of clinical investigation Journal of Clinical Investigation
|
| 11 |
+
168778273 genes development Genes & Development
|
| 12 |
+
168522863 cancer research Cancer Research
|
| 13 |
+
127916151 the embo journal The EMBO Journal
|
| 14 |
+
203256638 nature medicine Nature Medicine
|
| 15 |
+
38008053 journal of immunology Journal of Immunology
|
| 16 |
+
200071133 blood Blood
|
| 17 |
+
45757444 neuron Neuron
|
| 18 |
+
5555990 the journal of neuroscience The Journal of Neuroscience
|
| 19 |
+
106963461 nature biotechnology Nature Biotechnology
|
| 20 |
+
199671312 immunity Immunity
|
| 21 |
+
81455967 molecular and cellular biology Molecular and Cellular Biology
|
| 22 |
+
156208185 molecular cell Molecular Cell
|
| 23 |
+
196724125 nature reviews molecular cell biology Nature Reviews Molecular Cell Biology
|
| 24 |
+
86558740 development Development
|
| 25 |
+
48849333 the plant cell The Plant Cell
|
| 26 |
+
8553189 nature reviews genetics Nature Reviews Genetics
|
| 27 |
+
158228368 applied and environmental microbiology Applied and Environmental Microbiology
|
| 28 |
+
2785285 the journal of comparative neurology The Journal of Comparative Neurology
|
| 29 |
+
41063453 nature immunology Nature Immunology
|
| 30 |
+
96615428 journal of virology Journal of Virology
|
| 31 |
+
128439998 oncogene Oncogene
|
| 32 |
+
160464432 nature reviews cancer Nature Reviews Cancer
|
| 33 |
+
93373720 nature reviews immunology Nature Reviews Immunology
|
| 34 |
+
151741590 nature cell biology Nature Cell Biology
|
| 35 |
+
42294715 plant physiology Plant Physiology
|
| 36 |
+
41066938 biochimica et biophysica acta Biochimica et Biophysica Acta
|
| 37 |
+
35917800 ecology Ecology
|
| 38 |
+
128425624 current biology Current Biology
|
| 39 |
+
133274750 journal of bacteriology Journal of Bacteriology
|
| 40 |
+
65932378 genetics Genetics
|
| 41 |
+
109088427 annual review of immunology Annual Review of Immunology
|
| 42 |
+
203035050 physiological reviews Physiological Reviews
|
| 43 |
+
134425043 american journal of human genetics American Journal of Human Genetics
|
| 44 |
+
49861241 the lancet The Lancet
|
| 45 |
+
53860259 annual review of biochemistry Annual Review of Biochemistry
|
| 46 |
+
202381698 plos one PLOS ONE
|
| 47 |
+
10652568 circulation research Circulation Research
|
| 48 |
+
5677253 journal of cell science Journal of Cell Science
|
| 49 |
+
46058472 journal of molecular biology Journal of Molecular Biology
|
| 50 |
+
43092948 genome research Genome Research
|
| 51 |
+
79131028 trends in ecology and evolution Trends in Ecology and Evolution
|
| 52 |
+
25671836 cancer cell Cancer Cell
|
| 53 |
+
145577119 american journal of pathology American Journal of Pathology
|
| 54 |
+
122176235 the american naturalist The American Naturalist
|
| 55 |
+
53087977 journal of clinical microbiology Journal of Clinical Microbiology
|
| 56 |
+
56802129 nature reviews microbiology Nature Reviews Microbiology
|
| 57 |
+
129060628 diabetes Diabetes
|
| 58 |
+
67862205 plant journal Plant Journal
|
| 59 |
+
157527038 endocrinology Endocrinology
|
| 60 |
+
128227336 infection and immunity Infection and Immunity
|
| 61 |
+
44425019 biochemical journal Biochemical Journal
|
| 62 |
+
143352558 gastroenterology Gastroenterology
|
| 63 |
+
136233269 trends in biochemical sciences Trends in Biochemical Sciences
|
| 64 |
+
166515463 human molecular genetics Human Molecular Genetics
|
| 65 |
+
2298632 nature neuroscience Nature Neuroscience
|
| 66 |
+
151589183 biochemical and biophysical research communications Biochemical and Biophysical Research Communications
|
| 67 |
+
102549058 molecular microbiology Molecular Microbiology
|
| 68 |
+
103771297 current opinion in cell biology Current Opinion in Cell Biology
|
| 69 |
+
136634221 developmental biology Developmental Biology
|
| 70 |
+
47215897 antimicrobial agents and chemotherapy Antimicrobial Agents and Chemotherapy
|
| 71 |
+
87560609 evolution Evolution
|
| 72 |
+
183149254 clinical cancer research Clinical Cancer Research
|
| 73 |
+
154343897 plos biology PLOS Biology
|
| 74 |
+
96638545 brain research Brain Research
|
| 75 |
+
104830714 febs letters FEBS Letters
|
| 76 |
+
201780205 trends in plant science Trends in Plant Science
|
| 77 |
+
25293849 the faseb journal The FASEB Journal
|
| 78 |
+
112662651 clinical microbiology reviews Clinical Microbiology Reviews
|
| 79 |
+
13493133 endocrine reviews Endocrine Reviews
|
| 80 |
+
67154222 oecologia Oecologia
|
| 81 |
+
3006207977 proceedings of the royal society b biological sciences Proceedings of The Royal Society B: Biological Sciences
|
| 82 |
+
58631098 new phytologist New Phytologist
|
| 83 |
+
92576693 annual review of entomology Annual Review of Entomology
|
| 84 |
+
83804233 developmental cell Developmental Cell
|
| 85 |
+
127827428 nature methods Nature Methods
|
| 86 |
+
54542293 the journal of infectious diseases The Journal of Infectious Diseases
|
| 87 |
+
177533077 cell metabolism Cell Metabolism
|
| 88 |
+
139283865 trends in genetics Trends in Genetics
|
| 89 |
+
205775358 the journal of clinical endocrinology and metabolism The Journal of Clinical Endocrinology and Metabolism
|
| 90 |
+
62468778 the new england journal of medicine The New England Journal of Medicine
|
| 91 |
+
128124174 cell stem cell Cell Stem Cell
|
| 92 |
+
81160022 genome biology Genome Biology
|
| 93 |
+
6147291 virology Virology
|
| 94 |
+
75702506 gene Gene
|
| 95 |
+
119405978 annual review of ecology evolution and systematics Annual Review of Ecology, Evolution, and Systematics
|
| 96 |
+
114966740 trends in neurosciences Trends in Neurosciences
|
| 97 |
+
118628157 trends in cell biology Trends in Cell Biology
|
| 98 |
+
126191069 european journal of immunology European Journal of Immunology
|
| 99 |
+
188085164 molecular biology of the cell Molecular Biology of the Cell
|
| 100 |
+
32610980 journal of experimental botany Journal of Experimental Botany
|
logs/csrankings_citations_2336133.err
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
logs/csrankings_citations_2336133.out
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c48ff12edbed46748daf09925d331f3d9bed3018ae5156e4d2ec95db6c7949c6
|
| 3 |
+
size 48601213
|
logs/enrich_sscholar_2348858.err
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
-------------------------------------------------------------------------------
|
| 2 |
+
There are messages associated with the following module(s):
|
| 3 |
+
-------------------------------------------------------------------------------
|
| 4 |
+
|
| 5 |
+
awscli/2.13.37:
|
| 6 |
+
!!! WARNING !!!! The AWS Command Line Interface stores credentials in
|
| 7 |
+
plaintext in your $HOME/.aws directory. Be sure to maintain proper
|
| 8 |
+
user-only permissions on your $HOME directory (i.e. chmod 700 $HOME).
|
| 9 |
+
That will prevent access by other users. Be aware, all HPRC staff have
|
| 10 |
+
the ability to view your AWS credentials. If that is a concern, please
|
| 11 |
+
take whatever measures you feel appropriate. We are currently
|
| 12 |
+
investigating encryption options for the files in $HOME/.aws and hope to
|
| 13 |
+
offer possible remedies soon.
|
| 14 |
+
|
| 15 |
+
-------------------------------------------------------------------------------
|
| 16 |
+
|
| 17 |
+
|
logs/enrich_sscholar_2348858.out
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:237a0aa1e9f9dc09b285af1fd95a72debcc30752178dc7b5b4de04fd92aa3539
|
| 3 |
+
size 38474785
|
logs/llama32_all_fields_2832379.err
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/transformers/utils/hub.py:110: FutureWarning: Using `TRANSFORMERS_CACHE` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead.
|
| 2 |
+
warnings.warn(
|
| 3 |
+
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x14e0b0324050>: Failed to establish a new connection: [Errno 101] Network is unreachable')))"), '(Request ID: 9f34e89b-ab77-4f27-9f8b-314e9defcf37)')' thrown while requesting HEAD https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json
|
| 4 |
+
Retrying in 1s [Retry 1/5].
|
| 5 |
+
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x14e0b0308910>: Failed to establish a new connection: [Errno 101] Network is unreachable')))"), '(Request ID: ca5d895d-f145-4521-84ff-0dfa87355f95)')' thrown while requesting HEAD https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json
|
| 6 |
+
Retrying in 2s [Retry 2/5].
|
| 7 |
+
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x14e0b0308e10>: Failed to establish a new connection: [Errno 101] Network is unreachable')))"), '(Request ID: c6c95d9e-2a3e-419c-b4f2-837fe748b5cf)')' thrown while requesting HEAD https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json
|
| 8 |
+
Retrying in 4s [Retry 3/5].
|
| 9 |
+
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x14e0b0309090>: Failed to establish a new connection: [Errno 101] Network is unreachable')))"), '(Request ID: 1e11b07d-3c23-43c4-8622-1e7b8e11933a)')' thrown while requesting HEAD https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json
|
| 10 |
+
Retrying in 8s [Retry 4/5].
|
| 11 |
+
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x14e0b0309310>: Failed to establish a new connection: [Errno 101] Network is unreachable')))"), '(Request ID: 1c16c1a4-099b-4520-9b98-3e27329ed53e)')' thrown while requesting HEAD https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json
|
| 12 |
+
Retrying in 8s [Retry 5/5].
|
| 13 |
+
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x14e0b0309590>: Failed to establish a new connection: [Errno 101] Network is unreachable')))"), '(Request ID: 71b038e5-cf01-4083-bb05-ceca365b1292)')' thrown while requesting HEAD https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json
|
| 14 |
+
Traceback (most recent call last):
|
| 15 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/connection.py", line 198, in _new_conn
|
| 16 |
+
sock = connection.create_connection(
|
| 17 |
+
(self._dns_host, self.port),
|
| 18 |
+
...<2 lines>...
|
| 19 |
+
socket_options=self.socket_options,
|
| 20 |
+
)
|
| 21 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/util/connection.py", line 85, in create_connection
|
| 22 |
+
raise err
|
| 23 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/util/connection.py", line 73, in create_connection
|
| 24 |
+
sock.connect(sa)
|
| 25 |
+
~~~~~~~~~~~~^^^^
|
| 26 |
+
OSError: [Errno 101] Network is unreachable
|
| 27 |
+
|
| 28 |
+
The above exception was the direct cause of the following exception:
|
| 29 |
+
|
| 30 |
+
Traceback (most recent call last):
|
| 31 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/connectionpool.py", line 773, in urlopen
|
| 32 |
+
self._prepare_proxy(conn)
|
| 33 |
+
~~~~~~~~~~~~~~~~~~~^^^^^^
|
| 34 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/connectionpool.py", line 1042, in _prepare_proxy
|
| 35 |
+
conn.connect()
|
| 36 |
+
~~~~~~~~~~~~^^
|
| 37 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/connection.py", line 704, in connect
|
| 38 |
+
self.sock = sock = self._new_conn()
|
| 39 |
+
~~~~~~~~~~~~~~^^
|
| 40 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/connection.py", line 213, in _new_conn
|
| 41 |
+
raise NewConnectionError(
|
| 42 |
+
self, f"Failed to establish a new connection: {e}"
|
| 43 |
+
) from e
|
| 44 |
+
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x14e0b0309590>: Failed to establish a new connection: [Errno 101] Network is unreachable
|
| 45 |
+
|
| 46 |
+
The above exception was the direct cause of the following exception:
|
| 47 |
+
|
| 48 |
+
urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x14e0b0309590>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
|
| 49 |
+
|
| 50 |
+
The above exception was the direct cause of the following exception:
|
| 51 |
+
|
| 52 |
+
Traceback (most recent call last):
|
| 53 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/requests/adapters.py", line 667, in send
|
| 54 |
+
resp = conn.urlopen(
|
| 55 |
+
method=request.method,
|
| 56 |
+
...<9 lines>...
|
| 57 |
+
chunked=chunked,
|
| 58 |
+
)
|
| 59 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/connectionpool.py", line 841, in urlopen
|
| 60 |
+
retries = retries.increment(
|
| 61 |
+
method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
|
| 62 |
+
)
|
| 63 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/util/retry.py", line 519, in increment
|
| 64 |
+
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
|
| 65 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 66 |
+
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x14e0b0309590>: Failed to establish a new connection: [Errno 101] Network is unreachable')))
|
| 67 |
+
|
| 68 |
+
During handling of the above exception, another exception occurred:
|
| 69 |
+
|
| 70 |
+
Traceback (most recent call last):
|
| 71 |
+
File "/scratch/user/hangxiao/paper_impact/construct_citations_dataset/llama32_all_fields_eval.py", line 372, in <module>
|
| 72 |
+
main()
|
| 73 |
+
~~~~^^
|
| 74 |
+
File "/scratch/user/hangxiao/paper_impact/construct_citations_dataset/llama32_all_fields_eval.py", line 262, in main
|
| 75 |
+
backend = ModelBackend()
|
| 76 |
+
File "/scratch/user/hangxiao/paper_impact/construct_citations_dataset/llama32_all_fields_eval.py", line 231, in __init__
|
| 77 |
+
self.llm = LLM(**llm_kwargs)
|
| 78 |
+
~~~^^^^^^^^^^^^^^
|
| 79 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/vllm/entrypoints/llm.py", line 297, in __init__
|
| 80 |
+
self.llm_engine = LLMEngine.from_engine_args(
|
| 81 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| 82 |
+
engine_args=engine_args, usage_context=UsageContext.LLM_CLASS)
|
| 83 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 84 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/vllm/v1/engine/llm_engine.py", line 169, in from_engine_args
|
| 85 |
+
vllm_config = engine_args.create_engine_config(usage_context)
|
| 86 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/vllm/engine/arg_utils.py", line 1135, in create_engine_config
|
| 87 |
+
self.speculative_config) = maybe_override_with_speculators(
|
| 88 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| 89 |
+
model=self.model,
|
| 90 |
+
^^^^^^^^^^^^^^^^^
|
| 91 |
+
...<3 lines>...
|
| 92 |
+
vllm_speculative_config=self.speculative_config,
|
| 93 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 94 |
+
)
|
| 95 |
+
^
|
| 96 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/vllm/transformers_utils/config.py", line 501, in maybe_override_with_speculators
|
| 97 |
+
config_dict, _ = PretrainedConfig.get_config_dict(
|
| 98 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| 99 |
+
model if gguf_model_repo is None else gguf_model_repo,
|
| 100 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 101 |
+
...<3 lines>...
|
| 102 |
+
**kwargs,
|
| 103 |
+
^^^^^^^^^
|
| 104 |
+
)
|
| 105 |
+
^
|
| 106 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/transformers/configuration_utils.py", line 662, in get_config_dict
|
| 107 |
+
config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
|
| 108 |
+
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 109 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/transformers/configuration_utils.py", line 721, in _get_config_dict
|
| 110 |
+
resolved_config_file = cached_file(
|
| 111 |
+
pretrained_model_name_or_path,
|
| 112 |
+
...<10 lines>...
|
| 113 |
+
_commit_hash=commit_hash,
|
| 114 |
+
)
|
| 115 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/transformers/utils/hub.py", line 322, in cached_file
|
| 116 |
+
file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs)
|
| 117 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/transformers/utils/hub.py", line 567, in cached_files
|
| 118 |
+
raise e
|
| 119 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/transformers/utils/hub.py", line 479, in cached_files
|
| 120 |
+
hf_hub_download(
|
| 121 |
+
~~~~~~~~~~~~~~~^
|
| 122 |
+
path_or_repo_id,
|
| 123 |
+
^^^^^^^^^^^^^^^^
|
| 124 |
+
...<10 lines>...
|
| 125 |
+
local_files_only=local_files_only,
|
| 126 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 127 |
+
)
|
| 128 |
+
^
|
| 129 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 130 |
+
return fn(*args, **kwargs)
|
| 131 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1007, in hf_hub_download
|
| 132 |
+
return _hf_hub_download_to_cache_dir(
|
| 133 |
+
# Destination
|
| 134 |
+
...<14 lines>...
|
| 135 |
+
force_download=force_download,
|
| 136 |
+
)
|
| 137 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1070, in _hf_hub_download_to_cache_dir
|
| 138 |
+
(url_to_download, etag, commit_hash, expected_size, xet_file_data, head_call_error) = _get_metadata_or_catch_error(
|
| 139 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| 140 |
+
repo_id=repo_id,
|
| 141 |
+
^^^^^^^^^^^^^^^^
|
| 142 |
+
...<10 lines>...
|
| 143 |
+
relative_filename=relative_filename,
|
| 144 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 145 |
+
)
|
| 146 |
+
^
|
| 147 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1543, in _get_metadata_or_catch_error
|
| 148 |
+
metadata = get_hf_file_metadata(
|
| 149 |
+
url=url, proxies=proxies, timeout=etag_timeout, headers=headers, token=token, endpoint=endpoint
|
| 150 |
+
)
|
| 151 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 152 |
+
return fn(*args, **kwargs)
|
| 153 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1460, in get_hf_file_metadata
|
| 154 |
+
r = _request_wrapper(
|
| 155 |
+
method="HEAD",
|
| 156 |
+
...<5 lines>...
|
| 157 |
+
timeout=timeout,
|
| 158 |
+
)
|
| 159 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 283, in _request_wrapper
|
| 160 |
+
response = _request_wrapper(
|
| 161 |
+
method=method,
|
| 162 |
+
...<2 lines>...
|
| 163 |
+
**params,
|
| 164 |
+
)
|
| 165 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 306, in _request_wrapper
|
| 166 |
+
response = http_backoff(method=method, url=url, **params)
|
| 167 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 325, in http_backoff
|
| 168 |
+
raise err
|
| 169 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 306, in http_backoff
|
| 170 |
+
response = session.request(method=method, url=url, **kwargs)
|
| 171 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/requests/sessions.py", line 589, in request
|
| 172 |
+
resp = self.send(prep, **send_kwargs)
|
| 173 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/requests/sessions.py", line 703, in send
|
| 174 |
+
r = adapter.send(request, **kwargs)
|
| 175 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 95, in send
|
| 176 |
+
return super().send(request, *args, **kwargs)
|
| 177 |
+
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 178 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/requests/adapters.py", line 694, in send
|
| 179 |
+
raise ProxyError(e, request=request)
|
| 180 |
+
requests.exceptions.ProxyError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x14e0b0309590>: Failed to establish a new connection: [Errno 101] Network is unreachable')))"), '(Request ID: 71b038e5-cf01-4083-bb05-ceca365b1292)')
|
| 181 |
+
slurmstepd: error: *** JOB 2832379 ON fc040 CANCELLED AT 2025-11-13T17:25:15 ***
|
logs/llama32_all_fields_2832379.out
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
INFO 11-13 17:08:58 [__init__.py:216] Automatically detected platform cuda.
|
| 2 |
+
INFO 11-13 17:20:28 [utils.py:233] non-default args: {'dtype': 'bfloat16', 'disable_log_stats': True, 'model': 'meta-llama/Llama-3.2-3B-Instruct'}
|
logs/llama32_all_fields_2832403.err
ADDED
|
@@ -0,0 +1,180 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/transformers/utils/hub.py:110: FutureWarning: Using `TRANSFORMERS_CACHE` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead.
|
| 2 |
+
warnings.warn(
|
| 3 |
+
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x147148954050>: Failed to establish a new connection: [Errno 101] Network is unreachable')))"), '(Request ID: 0437bef0-fccb-492f-98dd-e548ef962124)')' thrown while requesting HEAD https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json
|
| 4 |
+
Retrying in 1s [Retry 1/5].
|
| 5 |
+
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x147148940910>: Failed to establish a new connection: [Errno 101] Network is unreachable')))"), '(Request ID: fb8ad498-a24e-4d75-8619-82cdf0619d17)')' thrown while requesting HEAD https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json
|
| 6 |
+
Retrying in 2s [Retry 2/5].
|
| 7 |
+
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x147148940e10>: Failed to establish a new connection: [Errno 101] Network is unreachable')))"), '(Request ID: 66bd2844-7273-4a66-ab79-0ea895dda339)')' thrown while requesting HEAD https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json
|
| 8 |
+
Retrying in 4s [Retry 3/5].
|
| 9 |
+
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x147148941090>: Failed to establish a new connection: [Errno 101] Network is unreachable')))"), '(Request ID: 565522ad-928f-49ac-b274-2169a6b1d293)')' thrown while requesting HEAD https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json
|
| 10 |
+
Retrying in 8s [Retry 4/5].
|
| 11 |
+
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x147148941310>: Failed to establish a new connection: [Errno 101] Network is unreachable')))"), '(Request ID: 895edf8c-f7d9-4163-a13d-9799b50a8542)')' thrown while requesting HEAD https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json
|
| 12 |
+
Retrying in 8s [Retry 5/5].
|
| 13 |
+
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x147148941590>: Failed to establish a new connection: [Errno 101] Network is unreachable')))"), '(Request ID: e07de39e-29b8-4d5e-98ce-73de7489d4dc)')' thrown while requesting HEAD https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json
|
| 14 |
+
Traceback (most recent call last):
|
| 15 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/connection.py", line 198, in _new_conn
|
| 16 |
+
sock = connection.create_connection(
|
| 17 |
+
(self._dns_host, self.port),
|
| 18 |
+
...<2 lines>...
|
| 19 |
+
socket_options=self.socket_options,
|
| 20 |
+
)
|
| 21 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/util/connection.py", line 85, in create_connection
|
| 22 |
+
raise err
|
| 23 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/util/connection.py", line 73, in create_connection
|
| 24 |
+
sock.connect(sa)
|
| 25 |
+
~~~~~~~~~~~~^^^^
|
| 26 |
+
OSError: [Errno 101] Network is unreachable
|
| 27 |
+
|
| 28 |
+
The above exception was the direct cause of the following exception:
|
| 29 |
+
|
| 30 |
+
Traceback (most recent call last):
|
| 31 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/connectionpool.py", line 773, in urlopen
|
| 32 |
+
self._prepare_proxy(conn)
|
| 33 |
+
~~~~~~~~~~~~~~~~~~~^^^^^^
|
| 34 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/connectionpool.py", line 1042, in _prepare_proxy
|
| 35 |
+
conn.connect()
|
| 36 |
+
~~~~~~~~~~~~^^
|
| 37 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/connection.py", line 704, in connect
|
| 38 |
+
self.sock = sock = self._new_conn()
|
| 39 |
+
~~~~~~~~~~~~~~^^
|
| 40 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/connection.py", line 213, in _new_conn
|
| 41 |
+
raise NewConnectionError(
|
| 42 |
+
self, f"Failed to establish a new connection: {e}"
|
| 43 |
+
) from e
|
| 44 |
+
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x147148941590>: Failed to establish a new connection: [Errno 101] Network is unreachable
|
| 45 |
+
|
| 46 |
+
The above exception was the direct cause of the following exception:
|
| 47 |
+
|
| 48 |
+
urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x147148941590>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
|
| 49 |
+
|
| 50 |
+
The above exception was the direct cause of the following exception:
|
| 51 |
+
|
| 52 |
+
Traceback (most recent call last):
|
| 53 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/requests/adapters.py", line 667, in send
|
| 54 |
+
resp = conn.urlopen(
|
| 55 |
+
method=request.method,
|
| 56 |
+
...<9 lines>...
|
| 57 |
+
chunked=chunked,
|
| 58 |
+
)
|
| 59 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/connectionpool.py", line 841, in urlopen
|
| 60 |
+
retries = retries.increment(
|
| 61 |
+
method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
|
| 62 |
+
)
|
| 63 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/urllib3/util/retry.py", line 519, in increment
|
| 64 |
+
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
|
| 65 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 66 |
+
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x147148941590>: Failed to establish a new connection: [Errno 101] Network is unreachable')))
|
| 67 |
+
|
| 68 |
+
During handling of the above exception, another exception occurred:
|
| 69 |
+
|
| 70 |
+
Traceback (most recent call last):
|
| 71 |
+
File "/scratch/user/hangxiao/paper_impact/construct_citations_dataset/llama32_all_fields_eval.py", line 412, in <module>
|
| 72 |
+
main()
|
| 73 |
+
~~~~^^
|
| 74 |
+
File "/scratch/user/hangxiao/paper_impact/construct_citations_dataset/llama32_all_fields_eval.py", line 302, in main
|
| 75 |
+
backend = ModelBackend()
|
| 76 |
+
File "/scratch/user/hangxiao/paper_impact/construct_citations_dataset/llama32_all_fields_eval.py", line 255, in __init__
|
| 77 |
+
self.llm = LLM(**llm_kwargs)
|
| 78 |
+
~~~^^^^^^^^^^^^^^
|
| 79 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/vllm/entrypoints/llm.py", line 297, in __init__
|
| 80 |
+
self.llm_engine = LLMEngine.from_engine_args(
|
| 81 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| 82 |
+
engine_args=engine_args, usage_context=UsageContext.LLM_CLASS)
|
| 83 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 84 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/vllm/v1/engine/llm_engine.py", line 169, in from_engine_args
|
| 85 |
+
vllm_config = engine_args.create_engine_config(usage_context)
|
| 86 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/vllm/engine/arg_utils.py", line 1135, in create_engine_config
|
| 87 |
+
self.speculative_config) = maybe_override_with_speculators(
|
| 88 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| 89 |
+
model=self.model,
|
| 90 |
+
^^^^^^^^^^^^^^^^^
|
| 91 |
+
...<3 lines>...
|
| 92 |
+
vllm_speculative_config=self.speculative_config,
|
| 93 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 94 |
+
)
|
| 95 |
+
^
|
| 96 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/vllm/transformers_utils/config.py", line 501, in maybe_override_with_speculators
|
| 97 |
+
config_dict, _ = PretrainedConfig.get_config_dict(
|
| 98 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| 99 |
+
model if gguf_model_repo is None else gguf_model_repo,
|
| 100 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 101 |
+
...<3 lines>...
|
| 102 |
+
**kwargs,
|
| 103 |
+
^^^^^^^^^
|
| 104 |
+
)
|
| 105 |
+
^
|
| 106 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/transformers/configuration_utils.py", line 662, in get_config_dict
|
| 107 |
+
config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
|
| 108 |
+
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 109 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/transformers/configuration_utils.py", line 721, in _get_config_dict
|
| 110 |
+
resolved_config_file = cached_file(
|
| 111 |
+
pretrained_model_name_or_path,
|
| 112 |
+
...<10 lines>...
|
| 113 |
+
_commit_hash=commit_hash,
|
| 114 |
+
)
|
| 115 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/transformers/utils/hub.py", line 322, in cached_file
|
| 116 |
+
file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs)
|
| 117 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/transformers/utils/hub.py", line 567, in cached_files
|
| 118 |
+
raise e
|
| 119 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/transformers/utils/hub.py", line 479, in cached_files
|
| 120 |
+
hf_hub_download(
|
| 121 |
+
~~~~~~~~~~~~~~~^
|
| 122 |
+
path_or_repo_id,
|
| 123 |
+
^^^^^^^^^^^^^^^^
|
| 124 |
+
...<10 lines>...
|
| 125 |
+
local_files_only=local_files_only,
|
| 126 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 127 |
+
)
|
| 128 |
+
^
|
| 129 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 130 |
+
return fn(*args, **kwargs)
|
| 131 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1007, in hf_hub_download
|
| 132 |
+
return _hf_hub_download_to_cache_dir(
|
| 133 |
+
# Destination
|
| 134 |
+
...<14 lines>...
|
| 135 |
+
force_download=force_download,
|
| 136 |
+
)
|
| 137 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1070, in _hf_hub_download_to_cache_dir
|
| 138 |
+
(url_to_download, etag, commit_hash, expected_size, xet_file_data, head_call_error) = _get_metadata_or_catch_error(
|
| 139 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| 140 |
+
repo_id=repo_id,
|
| 141 |
+
^^^^^^^^^^^^^^^^
|
| 142 |
+
...<10 lines>...
|
| 143 |
+
relative_filename=relative_filename,
|
| 144 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 145 |
+
)
|
| 146 |
+
^
|
| 147 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1543, in _get_metadata_or_catch_error
|
| 148 |
+
metadata = get_hf_file_metadata(
|
| 149 |
+
url=url, proxies=proxies, timeout=etag_timeout, headers=headers, token=token, endpoint=endpoint
|
| 150 |
+
)
|
| 151 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 152 |
+
return fn(*args, **kwargs)
|
| 153 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1460, in get_hf_file_metadata
|
| 154 |
+
r = _request_wrapper(
|
| 155 |
+
method="HEAD",
|
| 156 |
+
...<5 lines>...
|
| 157 |
+
timeout=timeout,
|
| 158 |
+
)
|
| 159 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 283, in _request_wrapper
|
| 160 |
+
response = _request_wrapper(
|
| 161 |
+
method=method,
|
| 162 |
+
...<2 lines>...
|
| 163 |
+
**params,
|
| 164 |
+
)
|
| 165 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 306, in _request_wrapper
|
| 166 |
+
response = http_backoff(method=method, url=url, **params)
|
| 167 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 325, in http_backoff
|
| 168 |
+
raise err
|
| 169 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 306, in http_backoff
|
| 170 |
+
response = session.request(method=method, url=url, **kwargs)
|
| 171 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/requests/sessions.py", line 589, in request
|
| 172 |
+
resp = self.send(prep, **send_kwargs)
|
| 173 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/requests/sessions.py", line 703, in send
|
| 174 |
+
r = adapter.send(request, **kwargs)
|
| 175 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 95, in send
|
| 176 |
+
return super().send(request, *args, **kwargs)
|
| 177 |
+
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 178 |
+
File "/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/requests/adapters.py", line 694, in send
|
| 179 |
+
raise ProxyError(e, request=request)
|
| 180 |
+
requests.exceptions.ProxyError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /meta-llama/Llama-3.2-3B-Instruct/resolve/main/config.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x147148941590>: Failed to establish a new connection: [Errno 101] Network is unreachable')))"), '(Request ID: e07de39e-29b8-4d5e-98ce-73de7489d4dc)')
|
logs/llama32_all_fields_2832403.out
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
INFO 11-13 17:51:45 [__init__.py:216] Automatically detected platform cuda.
|
| 2 |
+
INFO 11-13 18:07:02 [utils.py:233] non-default args: {'dtype': 'bfloat16', 'disable_log_stats': True, 'model': 'meta-llama/Llama-3.2-3B-Instruct'}
|
logs/llama32_best_paper_17085241.err
ADDED
|
@@ -0,0 +1,541 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/transformers/utils/hub.py:110: FutureWarning: Using `TRANSFORMERS_CACHE` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead.
|
| 2 |
+
warnings.warn(
|
| 3 |
+
`torch_dtype` is deprecated! Use `dtype` instead!
|
| 4 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m /scratch/user/hangxiao/.conda/envs/paper_impact/lib/python3.13/site-packages/vllm/executor/uniproc_executor.py:60: UserWarning: Failed to get the IP address, using 0.0.0.0 by default.The value can be set by the environment variable VLLM_HOST_IP or HOST_IP.
|
| 5 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m get_ip(), get_open_port())
|
| 6 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m
|
| 7 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m
|
| 8 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m
|
| 9 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m
|
| 10 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m
|
| 11 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m
|
| 12 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
|
| 108 |
+
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
|
| 122 |
+
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
|
| 144 |
+
|
| 145 |
+
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
|
| 149 |
+
|
| 150 |
+
|
| 151 |
+
|
| 152 |
+
|
| 153 |
+
|
| 154 |
+
|
| 155 |
+
|
| 156 |
+
|
| 157 |
+
|
| 158 |
+
|
| 159 |
+
|
| 160 |
+
|
| 161 |
+
|
| 162 |
+
|
| 163 |
+
|
| 164 |
+
|
| 165 |
+
|
| 166 |
+
|
| 167 |
+
|
| 168 |
+
|
| 169 |
+
|
| 170 |
+
|
| 171 |
+
|
| 172 |
+
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
|
| 176 |
+
|
| 177 |
+
|
| 178 |
+
|
| 179 |
+
|
| 180 |
+
|
| 181 |
+
|
| 182 |
+
|
| 183 |
+
|
| 184 |
+
|
| 185 |
+
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
|
| 189 |
+
|
| 190 |
+
|
| 191 |
+
|
| 192 |
+
|
| 193 |
+
|
| 194 |
+
|
| 195 |
+
|
| 196 |
+
|
| 197 |
+
|
| 198 |
+
|
| 199 |
+
|
| 200 |
+
|
| 201 |
+
|
| 202 |
+
|
| 203 |
+
|
| 204 |
+
|
| 205 |
+
|
| 206 |
+
|
| 207 |
+
|
| 208 |
+
|
| 209 |
+
|
| 210 |
+
|
| 211 |
+
|
| 212 |
+
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
|
| 216 |
+
|
| 217 |
+
|
| 218 |
+
|
| 219 |
+
|
| 220 |
+
|
| 221 |
+
|
| 222 |
+
|
| 223 |
+
|
| 224 |
+
|
| 225 |
+
|
| 226 |
+
|
| 227 |
+
|
| 228 |
+
|
| 229 |
+
|
| 230 |
+
|
| 231 |
+
|
| 232 |
+
|
| 233 |
+
|
| 234 |
+
|
| 235 |
+
|
| 236 |
+
|
| 237 |
+
|
| 238 |
+
|
| 239 |
+
|
| 240 |
+
|
| 241 |
+
|
| 242 |
+
|
| 243 |
+
|
| 244 |
+
|
| 245 |
+
|
| 246 |
+
|
| 247 |
+
|
| 248 |
+
|
| 249 |
+
|
| 250 |
+
|
| 251 |
+
|
| 252 |
+
|
| 253 |
+
|
| 254 |
+
|
| 255 |
+
|
| 256 |
+
|
| 257 |
+
|
| 258 |
+
|
| 259 |
+
|
| 260 |
+
|
| 261 |
+
|
| 262 |
+
|
| 263 |
+
|
| 264 |
+
|
| 265 |
+
|
| 266 |
+
|
| 267 |
+
|
| 268 |
+
|
| 269 |
+
|
| 270 |
+
|
| 271 |
+
|
| 272 |
+
|
| 273 |
+
|
| 274 |
+
|
| 275 |
+
|
| 276 |
+
|
| 277 |
+
|
| 278 |
+
|
| 279 |
+
|
| 280 |
+
|
| 281 |
+
|
| 282 |
+
|
| 283 |
+
|
| 284 |
+
|
| 285 |
+
|
| 286 |
+
|
| 287 |
+
|
| 288 |
+
|
| 289 |
+
|
| 290 |
+
|
| 291 |
+
|
| 292 |
+
|
| 293 |
+
|
| 294 |
+
|
| 295 |
+
|
| 296 |
+
|
| 297 |
+
|
| 298 |
+
|
| 299 |
+
|
| 300 |
+
|
| 301 |
+
|
| 302 |
+
|
| 303 |
+
|
| 304 |
+
|
| 305 |
+
|
| 306 |
+
|
| 307 |
+
|
| 308 |
+
|
| 309 |
+
|
| 310 |
+
|
| 311 |
+
|
| 312 |
+
|
| 313 |
+
|
| 314 |
+
|
| 315 |
+
|
| 316 |
+
|
| 317 |
+
|
| 318 |
+
|
| 319 |
+
|
| 320 |
+
|
| 321 |
+
|
| 322 |
+
|
| 323 |
+
|
| 324 |
+
|
| 325 |
+
|
| 326 |
+
|
| 327 |
+
|
| 328 |
+
|
| 329 |
+
|
| 330 |
+
|
| 331 |
+
|
| 332 |
+
|
| 333 |
+
|
| 334 |
+
|
| 335 |
+
|
| 336 |
+
|
| 337 |
+
|
| 338 |
+
|
| 339 |
+
|
| 340 |
+
|
| 341 |
+
|
| 342 |
+
|
| 343 |
+
|
| 344 |
+
|
| 345 |
+
|
| 346 |
+
|
| 347 |
+
|
| 348 |
+
|
| 349 |
+
|
| 350 |
+
|
| 351 |
+
|
| 352 |
+
|
| 353 |
+
|
| 354 |
+
|
| 355 |
+
|
| 356 |
+
|
| 357 |
+
|
| 358 |
+
|
| 359 |
+
|
| 360 |
+
|
| 361 |
+
|
| 362 |
+
|
| 363 |
+
|
| 364 |
+
|
| 365 |
+
|
| 366 |
+
|
| 367 |
+
|
| 368 |
+
|
| 369 |
+
|
| 370 |
+
|
| 371 |
+
|
| 372 |
+
|
| 373 |
+
|
| 374 |
+
|
| 375 |
+
|
| 376 |
+
|
| 377 |
+
|
| 378 |
+
|
| 379 |
+
|
| 380 |
+
|
| 381 |
+
|
| 382 |
+
|
| 383 |
+
|
| 384 |
+
|
| 385 |
+
|
| 386 |
+
|
| 387 |
+
|
| 388 |
+
|
| 389 |
+
|
| 390 |
+
|
| 391 |
+
|
| 392 |
+
|
| 393 |
+
|
| 394 |
+
|
| 395 |
+
|
| 396 |
+
|
| 397 |
+
|
| 398 |
+
|
| 399 |
+
|
| 400 |
+
|
| 401 |
+
|
| 402 |
+
|
| 403 |
+
|
| 404 |
+
|
| 405 |
+
|
| 406 |
+
|
| 407 |
+
|
| 408 |
+
|
| 409 |
+
|
| 410 |
+
|
| 411 |
+
|
| 412 |
+
|
| 413 |
+
|
| 414 |
+
|
| 415 |
+
|
| 416 |
+
|
| 417 |
+
|
| 418 |
+
|
| 419 |
+
|
| 420 |
+
|
| 421 |
+
|
| 422 |
+
|
| 423 |
+
|
| 424 |
+
|
| 425 |
+
|
| 426 |
+
|
| 427 |
+
|
| 428 |
+
|
| 429 |
+
|
| 430 |
+
|
| 431 |
+
|
| 432 |
+
|
| 433 |
+
|
| 434 |
+
|
| 435 |
+
|
| 436 |
+
|
| 437 |
+
|
| 438 |
+
|
| 439 |
+
|
| 440 |
+
|
| 441 |
+
|
| 442 |
+
|
| 443 |
+
|
| 444 |
+
|
| 445 |
+
|
| 446 |
+
|
| 447 |
+
|
| 448 |
+
|
| 449 |
+
|
| 450 |
+
|
| 451 |
+
|
| 452 |
+
|
| 453 |
+
|
| 454 |
+
|
| 455 |
+
|
| 456 |
+
|
| 457 |
+
|
| 458 |
+
|
| 459 |
+
|
| 460 |
+
|
| 461 |
+
|
| 462 |
+
|
| 463 |
+
|
| 464 |
+
|
| 465 |
+
|
| 466 |
+
|
| 467 |
+
|
| 468 |
+
|
| 469 |
+
|
| 470 |
+
|
| 471 |
+
|
| 472 |
+
|
| 473 |
+
|
| 474 |
+
|
| 475 |
+
|
| 476 |
+
|
| 477 |
+
|
| 478 |
+
|
| 479 |
+
|
| 480 |
+
|
| 481 |
+
|
| 482 |
+
|
| 483 |
+
|
| 484 |
+
|
| 485 |
+
|
| 486 |
+
|
| 487 |
+
|
| 488 |
+
|
| 489 |
+
|
| 490 |
+
|
| 491 |
+
|
| 492 |
+
|
| 493 |
+
|
| 494 |
+
|
| 495 |
+
|
| 496 |
+
|
| 497 |
+
|
| 498 |
+
|
| 499 |
+
|
| 500 |
+
|
| 501 |
+
|
| 502 |
+
|
| 503 |
+
|
| 504 |
+
|
| 505 |
+
|
| 506 |
+
|
| 507 |
+
|
| 508 |
+
|
| 509 |
+
|
| 510 |
+
|
| 511 |
+
|
| 512 |
+
|
| 513 |
+
|
| 514 |
+
|
| 515 |
+
|
| 516 |
+
|
| 517 |
+
|
| 518 |
+
|
| 519 |
+
|
| 520 |
+
|
| 521 |
+
|
| 522 |
+
|
| 523 |
+
|
| 524 |
+
|
| 525 |
+
|
| 526 |
+
|
| 527 |
+
|
| 528 |
+
|
| 529 |
+
|
| 530 |
+
|
| 531 |
+
|
| 532 |
+
|
| 533 |
+
|
| 534 |
+
|
| 535 |
+
|
| 536 |
+
|
| 537 |
+
|
| 538 |
+
|
| 539 |
+
|
| 540 |
+
|
| 541 |
+
|
logs/llama32_best_paper_17085241.out
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Initializing model backend...
|
| 2 |
+
INFO 11-14 08:53:53 [__init__.py:216] Automatically detected platform cuda.
|
| 3 |
+
INFO 11-14 09:00:11 [utils.py:233] non-default args: {'dtype': 'bfloat16', 'disable_log_stats': True, 'model': 'meta-llama/Llama-3.2-3B-Instruct'}
|
| 4 |
+
INFO 11-14 09:00:12 [model.py:547] Resolved architecture: LlamaForCausalLM
|
| 5 |
+
INFO 11-14 09:00:12 [model.py:1510] Using max model len 131072
|
| 6 |
+
INFO 11-14 09:00:39 [scheduler.py:205] Chunked prefill is enabled with max_num_batched_tokens=8192.
|
| 7 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:00:41 [core.py:644] Waiting for init message from front-end.
|
| 8 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:00:41 [core.py:77] Initializing a V1 LLM engine (v0.11.0) with config: model='meta-llama/Llama-3.2-3B-Instruct', speculative_config=None, tokenizer='meta-llama/Llama-3.2-3B-Instruct', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=131072, download_dir=None, load_format=auto, tensor_parallel_size=1, pipeline_parallel_size=1, data_parallel_size=1, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, kv_cache_dtype=auto, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_fallback=False, disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser=''), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None), seed=0, served_model_name=meta-llama/Llama-3.2-3B-Instruct, enable_prefix_caching=True, chunked_prefill_enabled=True, pooler_config=None, compilation_config={"level":3,"debug_dump_path":"","cache_dir":"","backend":"","custom_ops":[],"splitting_ops":["vllm.unified_attention","vllm.unified_attention_with_output","vllm.mamba_mixer2","vllm.mamba_mixer","vllm.short_conv","vllm.linear_attention","vllm.plamo2_mamba_mixer","vllm.gdn_attention","vllm.sparse_attn_indexer"],"use_inductor":true,"compile_sizes":[],"inductor_compile_config":{"enable_auto_functionalized_v2":false},"inductor_passes":{},"cudagraph_mode":[2,1],"use_cudagraph":true,"cudagraph_num_of_warmups":1,"cudagraph_capture_sizes":[512,504,496,488,480,472,464,456,448,440,432,424,416,408,400,392,384,376,368,360,352,344,336,328,320,312,304,296,288,280,272,264,256,248,240,232,224,216,208,200,192,184,176,168,160,152,144,136,128,120,112,104,96,88,80,72,64,56,48,40,32,24,16,8,4,2,1],"cudagraph_copy_inputs":false,"full_cuda_graph":false,"use_inductor_graph_partition":false,"pass_config":{},"max_capture_size":512,"local_cache_dir":null}
|
| 9 |
+
[Gloo] Rank 0 is connected to 0 peer ranks. Expected number of connected peer ranks is : 0
|
| 10 |
+
[Gloo] Rank 0 is connected to 0 peer ranks. Expected number of connected peer ranks is : 0
|
| 11 |
+
[Gloo] Rank 0 is connected to 0 peer ranks. Expected number of connected peer ranks is : 0
|
| 12 |
+
[Gloo] Rank 0 is connected to 0 peer ranks. Expected number of connected peer ranks is : 0
|
| 13 |
+
[Gloo] Rank 0 is connected to 0 peer ranks. Expected number of connected peer ranks is : 0
|
| 14 |
+
[Gloo] Rank 0 is connected to 0 peer ranks. Expected number of connected peer ranks is : 0
|
| 15 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:01:49 [parallel_state.py:1208] rank 0 in world size 1 is assigned as DP rank 0, PP rank 0, TP rank 0, EP rank 0
|
| 16 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m WARNING 11-14 09:01:50 [topk_topp_sampler.py:66] FlashInfer is not available. Falling back to the PyTorch-native implementation of top-p & top-k sampling. For the best performance, please install FlashInfer.
|
| 17 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:01:51 [gpu_model_runner.py:2602] Starting to load model meta-llama/Llama-3.2-3B-Instruct...
|
| 18 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:01:51 [gpu_model_runner.py:2634] Loading model from scratch...
|
| 19 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:01:58 [cuda.py:366] Using Flash Attention backend on V1 engine.
|
| 20 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:01:59 [weight_utils.py:392] Using model weights format ['*.safetensors']
|
| 21 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:02:09 [default_loader.py:267] Loading weights took 9.46 seconds
|
| 22 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:02:09 [gpu_model_runner.py:2653] Model loading took 6.0160 GiB and 17.367721 seconds
|
| 23 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:04:30 [backends.py:548] Using cache directory: /home/hangxiao/.cache/vllm/torch_compile_cache/60631d1593/rank_0_0/backbone for vLLM's torch.compile
|
| 24 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:04:30 [backends.py:559] Dynamo bytecode transform time: 140.60 s
|
| 25 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:04:35 [backends.py:164] Directly load the compiled graph(s) for dynamic shape from the cache, took 4.680 s
|
| 26 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:04:44 [monitor.py:34] torch.compile takes 140.60 s in total
|
| 27 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:04:52 [gpu_worker.py:298] Available KV cache memory: 28.18 GiB
|
| 28 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:04:53 [kv_cache_utils.py:1087] GPU KV cache size: 263,824 tokens
|
| 29 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:04:53 [kv_cache_utils.py:1091] Maximum concurrency for 131,072 tokens per request: 2.01x
|
| 30 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:05:03 [gpu_model_runner.py:3480] Graph capturing finished in 11 secs, took 2.57 GiB
|
| 31 |
+
[1;36m(EngineCore_DP0 pid=3289378)[0;0m INFO 11-14 09:05:03 [core.py:210] init engine (profile, create kv cache, warmup model) took 174.03 seconds
|
| 32 |
+
INFO 11-14 09:05:04 [llm.py:306] Supported_tasks: ['generate']
|
| 33 |
+
Backend initialized: local vLLM mode
|
| 34 |
+
|
| 35 |
+
=== Evaluating split: test ===
|
| 36 |
+
{
|
| 37 |
+
"split": "test",
|
| 38 |
+
"pairs_count": 2385,
|
| 39 |
+
"evaluated_count": 2068,
|
| 40 |
+
"skipped_count": 317,
|
| 41 |
+
"correct_predictions": 1015,
|
| 42 |
+
"accuracy": 0.49081237911025144
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
=== Summary ===
|
| 46 |
+
{
|
| 47 |
+
"split": "test",
|
| 48 |
+
"accuracy": 0.49081237911025144,
|
| 49 |
+
"pairs_count": 2385,
|
| 50 |
+
"evaluated_pairs": 2068,
|
| 51 |
+
"skipped_pairs": 317,
|
| 52 |
+
"correct_predictions": 1015,
|
| 53 |
+
"elapsed_seconds": 1312.522710800171,
|
| 54 |
+
"model_name": "meta-llama/Llama-3.2-3B-Instruct",
|
| 55 |
+
"api_base": "http://127.0.0.1:8000/v1",
|
| 56 |
+
"backend_mode": "local_vllm"
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
Results saved to:
|
| 60 |
+
Summary: /scratch/user/hangxiao/paper_impact/best_paper/llama32_best_paper_results.json
|
| 61 |
+
Details: /scratch/user/hangxiao/paper_impact/best_paper/llama32_best_paper_predictions.jsonl
|
logs/match_sampled_maple_openalex_2252005.err
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
logs/match_sampled_maple_openalex_2252005.out
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
logs/match_sampled_maple_openalex_2292872.err
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
logs/match_sampled_maple_openalex_2292872.out
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
openalex-snapshot/LICENSE.txt
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Creative Commons Legal Code
|
| 2 |
+
|
| 3 |
+
CC0 1.0 Universal
|
| 4 |
+
|
| 5 |
+
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
|
| 6 |
+
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
|
| 7 |
+
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
|
| 8 |
+
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
|
| 9 |
+
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
|
| 10 |
+
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
|
| 11 |
+
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
|
| 12 |
+
HEREUNDER.
|
| 13 |
+
|
| 14 |
+
Statement of Purpose
|
| 15 |
+
|
| 16 |
+
The laws of most jurisdictions throughout the world automatically confer
|
| 17 |
+
exclusive Copyright and Related Rights (defined below) upon the creator
|
| 18 |
+
and subsequent owner(s) (each and all, an "owner") of an original work of
|
| 19 |
+
authorship and/or a database (each, a "Work").
|
| 20 |
+
|
| 21 |
+
Certain owners wish to permanently relinquish those rights to a Work for
|
| 22 |
+
the purpose of contributing to a commons of creative, cultural and
|
| 23 |
+
scientific works ("Commons") that the public can reliably and without fear
|
| 24 |
+
of later claims of infringement build upon, modify, incorporate in other
|
| 25 |
+
works, reuse and redistribute as freely as possible in any form whatsoever
|
| 26 |
+
and for any purposes, including without limitation commercial purposes.
|
| 27 |
+
These owners may contribute to the Commons to promote the ideal of a free
|
| 28 |
+
culture and the further production of creative, cultural and scientific
|
| 29 |
+
works, or to gain reputation or greater distribution for their Work in
|
| 30 |
+
part through the use and efforts of others.
|
| 31 |
+
|
| 32 |
+
For these and/or other purposes and motivations, and without any
|
| 33 |
+
expectation of additional consideration or compensation, the person
|
| 34 |
+
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
|
| 35 |
+
is an owner of Copyright and Related Rights in the Work, voluntarily
|
| 36 |
+
elects to apply CC0 to the Work and publicly distribute the Work under its
|
| 37 |
+
terms, with knowledge of his or her Copyright and Related Rights in the
|
| 38 |
+
Work and the meaning and intended legal effect of CC0 on those rights.
|
| 39 |
+
|
| 40 |
+
1. Copyright and Related Rights. A Work made available under CC0 may be
|
| 41 |
+
protected by copyright and related or neighboring rights ("Copyright and
|
| 42 |
+
Related Rights"). Copyright and Related Rights include, but are not
|
| 43 |
+
limited to, the following:
|
| 44 |
+
|
| 45 |
+
i. the right to reproduce, adapt, distribute, perform, display,
|
| 46 |
+
communicate, and translate a Work;
|
| 47 |
+
ii. moral rights retained by the original author(s) and/or performer(s);
|
| 48 |
+
iii. publicity and privacy rights pertaining to a person's image or
|
| 49 |
+
likeness depicted in a Work;
|
| 50 |
+
iv. rights protecting against unfair competition in regards to a Work,
|
| 51 |
+
subject to the limitations in paragraph 4(a), below;
|
| 52 |
+
v. rights protecting the extraction, dissemination, use and reuse of data
|
| 53 |
+
in a Work;
|
| 54 |
+
vi. database rights (such as those arising under Directive 96/9/EC of the
|
| 55 |
+
European Parliament and of the Council of 11 March 1996 on the legal
|
| 56 |
+
protection of databases, and under any national implementation
|
| 57 |
+
thereof, including any amended or successor version of such
|
| 58 |
+
directive); and
|
| 59 |
+
vii. other similar, equivalent or corresponding rights throughout the
|
| 60 |
+
world based on applicable law or treaty, and any national
|
| 61 |
+
implementations thereof.
|
| 62 |
+
|
| 63 |
+
2. Waiver. To the greatest extent permitted by, but not in contravention
|
| 64 |
+
of, applicable law, Affirmer hereby overtly, fully, permanently,
|
| 65 |
+
irrevocably and unconditionally waives, abandons, and surrenders all of
|
| 66 |
+
Affirmer's Copyright and Related Rights and associated claims and causes
|
| 67 |
+
of action, whether now known or unknown (including existing as well as
|
| 68 |
+
future claims and causes of action), in the Work (i) in all territories
|
| 69 |
+
worldwide, (ii) for the maximum duration provided by applicable law or
|
| 70 |
+
treaty (including future time extensions), (iii) in any current or future
|
| 71 |
+
medium and for any number of copies, and (iv) for any purpose whatsoever,
|
| 72 |
+
including without limitation commercial, advertising or promotional
|
| 73 |
+
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
|
| 74 |
+
member of the public at large and to the detriment of Affirmer's heirs and
|
| 75 |
+
successors, fully intending that such Waiver shall not be subject to
|
| 76 |
+
revocation, rescission, cancellation, termination, or any other legal or
|
| 77 |
+
equitable action to disrupt the quiet enjoyment of the Work by the public
|
| 78 |
+
as contemplated by Affirmer's express Statement of Purpose.
|
| 79 |
+
|
| 80 |
+
3. Public License Fallback. Should any part of the Waiver for any reason
|
| 81 |
+
be judged legally invalid or ineffective under applicable law, then the
|
| 82 |
+
Waiver shall be preserved to the maximum extent permitted taking into
|
| 83 |
+
account Affirmer's express Statement of Purpose. In addition, to the
|
| 84 |
+
extent the Waiver is so judged Affirmer hereby grants to each affected
|
| 85 |
+
person a royalty-free, non transferable, non sublicensable, non exclusive,
|
| 86 |
+
irrevocable and unconditional license to exercise Affirmer's Copyright and
|
| 87 |
+
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
| 88 |
+
maximum duration provided by applicable law or treaty (including future
|
| 89 |
+
time extensions), (iii) in any current or future medium and for any number
|
| 90 |
+
of copies, and (iv) for any purpose whatsoever, including without
|
| 91 |
+
limitation commercial, advertising or promotional purposes (the
|
| 92 |
+
"License"). The License shall be deemed effective as of the date CC0 was
|
| 93 |
+
applied by Affirmer to the Work. Should any part of the License for any
|
| 94 |
+
reason be judged legally invalid or ineffective under applicable law, such
|
| 95 |
+
partial invalidity or ineffectiveness shall not invalidate the remainder
|
| 96 |
+
of the License, and in such case Affirmer hereby affirms that he or she
|
| 97 |
+
will not (i) exercise any of his or her remaining Copyright and Related
|
| 98 |
+
Rights in the Work or (ii) assert any associated claims and causes of
|
| 99 |
+
action with respect to the Work, in either case contrary to Affirmer's
|
| 100 |
+
express Statement of Purpose.
|
| 101 |
+
|
| 102 |
+
4. Limitations and Disclaimers.
|
| 103 |
+
|
| 104 |
+
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
| 105 |
+
surrendered, licensed or otherwise affected by this document.
|
| 106 |
+
b. Affirmer offers the Work as-is and makes no representations or
|
| 107 |
+
warranties of any kind concerning the Work, express, implied,
|
| 108 |
+
statutory or otherwise, including without limitation warranties of
|
| 109 |
+
title, merchantability, fitness for a particular purpose, non
|
| 110 |
+
infringement, or the absence of latent or other defects, accuracy, or
|
| 111 |
+
the present or absence of errors, whether or not discoverable, all to
|
| 112 |
+
the greatest extent permissible under applicable law.
|
| 113 |
+
c. Affirmer disclaims responsibility for clearing rights of other persons
|
| 114 |
+
that may apply to the Work or any use thereof, including without
|
| 115 |
+
limitation any person's Copyright and Related Rights in the Work.
|
| 116 |
+
Further, Affirmer disclaims responsibility for obtaining any necessary
|
| 117 |
+
consents, permissions or other rights required for any use of the
|
| 118 |
+
Work.
|
| 119 |
+
d. Affirmer understands and acknowledges that Creative Commons is not a
|
| 120 |
+
party to this document and has no duty or obligation with respect to
|
| 121 |
+
this CC0 or use of the Work.
|
openalex-snapshot/README.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
OPENALEX STANDARD-FORMAT README
|
| 2 |
+
|
| 3 |
+
This data is updated approximately once per month.
|
| 4 |
+
Documentation is at https://docs.openalex.org
|
openalex-snapshot/RELEASE_NOTES.txt
ADDED
|
@@ -0,0 +1,245 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
OPENALEX STANDARD-FORMAT SNAPSHOT RELEASE NOTES
|
| 2 |
+
|
| 3 |
+
RELEASE 2025-03-31
|
| 4 |
+
- added new works
|
| 5 |
+
|
| 6 |
+
RELEASE 2025-02-27
|
| 7 |
+
- added new works
|
| 8 |
+
|
| 9 |
+
RELEASE 2025-01-29
|
| 10 |
+
- removed 350k abstracts with invalid or junk content
|
| 11 |
+
- after this release, the snapshot will be updated quarterly
|
| 12 |
+
|
| 13 |
+
RELEASE 2024-12-31
|
| 14 |
+
- used new ROR matching algorithm to assign affiliations to institutions with zero works; 7.6k additional institutions now have work affiliations
|
| 15 |
+
- added affiliations to 4.5M authorships
|
| 16 |
+
|
| 17 |
+
RELEASE 2024-11-25
|
| 18 |
+
- added 3.5 million new author IDs after fixing bug introduced by ORCID integration
|
| 19 |
+
- added 103 new sources (journals) that started publishing in latter part of 2024
|
| 20 |
+
- ingested 145 author change requests with new curation form
|
| 21 |
+
- added/removed institution affiliations for 3.5k works based on works-magnet curation requests
|
| 22 |
+
- processed 50 source curation requests
|
| 23 |
+
- curated 5 institutions that were lacking affiliations
|
| 24 |
+
|
| 25 |
+
RELEASE 2024-10-31
|
| 26 |
+
- detect additional paratext
|
| 27 |
+
- fixed author alternate names bug
|
| 28 |
+
|
| 29 |
+
RELEASE 2024-09-27
|
| 30 |
+
- added ~14M affiliations to works
|
| 31 |
+
- adjusted year retrieved from Crossref, using the earliest from issued, published, approved, created, deposited. This affects ~20M works.
|
| 32 |
+
|
| 33 |
+
RELEASE 2024-08-29
|
| 34 |
+
- add new object citation_normalized_percentile to works, which is a percentile rank of citations normalized by the number of works in the same year and subfield
|
| 35 |
+
- add more references to works using previous MAG snapshot
|
| 36 |
+
- restored some missing affiliations
|
| 37 |
+
|
| 38 |
+
RELEASE 2024-07-30
|
| 39 |
+
- new work type: retraction
|
| 40 |
+
- used data from Pubmed to reclassify 4M works from type "article" to one of: editorial, erratum, letter, preprint, review, retraction
|
| 41 |
+
- improved type classification for works using string matching
|
| 42 |
+
- change titles (display_name) for ~30k journals based on data from Crossref
|
| 43 |
+
- delete 187,452 works: deleted Zenodo records. (merge into deleted id: W4285719527)
|
| 44 |
+
- clean up author names: remove non-name strings prepended to certain author names; remove non-printing characters and whitespace, delete authors with bad names (only whitespace, only numbers)
|
| 45 |
+
|
| 46 |
+
RELEASE 2024-06-30
|
| 47 |
+
- add new affiliations field to Work.authorships, allowing more detailed mapping of raw affiliation strings to institutions
|
| 48 |
+
- new is_core boolean added to sources and associated works based on dataset from CWTS: https://zenodo.org/records/10949671
|
| 49 |
+
- fixed bug causing some works' OA status to be out of sync with Unpaywall
|
| 50 |
+
- APC estimates (apc_paid) are no longer given for works with OA status of closed, bronze, or green
|
| 51 |
+
|
| 52 |
+
RELEASE 2024-05-30
|
| 53 |
+
- added 151M new references to works (7.61% increase) by matching references without DOIs using title/author/publication year
|
| 54 |
+
- updated authorship information for 17.9M works by syncing Crossref changes
|
| 55 |
+
- added 4 new work types, reclassifying existing works: “preprint” (5.7M), “libguides” (1.8M), “review” (820k), and “supplementary-materials” (50k)
|
| 56 |
+
- "super system" institutions such as University of California System are removed from institution lineage
|
| 57 |
+
- added datasets from DataCite: 1.07M from Cambridge Structural Database and 709k from Harvard Dataverse
|
| 58 |
+
|
| 59 |
+
RELEASE 2024-04-25
|
| 60 |
+
- added affiliations to ~2.5M works using open access PDFs parsed by grobid
|
| 61 |
+
- ingested 3.4M works from DataCite, primarily from Zenodo, Arxiv, and Figshare
|
| 62 |
+
- fixed language detection bug that occurred when title and abstract all uppercase
|
| 63 |
+
- override language assignment for some major English-language journals
|
| 64 |
+
- remove Author.last_known_institution in favor of Author.last_known_institution (in progress)
|
| 65 |
+
- remove Work.authorships.raw_affiliation_string in favor of Work.authorships.raw_affiliation_strings (in progress)
|
| 66 |
+
|
| 67 |
+
RELEASE 2024-03-27
|
| 68 |
+
- set up automatic updates for Retraction Watch (see https://doi.org/10.13003/c23rw1d9 for info about Retraction Watch)
|
| 69 |
+
- marked ~2k additional works as retracted, and corrected 1-2k works that were incorrectly labeled is_retracted
|
| 70 |
+
- add siblings to domains, field, subfields
|
| 71 |
+
|
| 72 |
+
RELEASE 2024-02-27
|
| 73 |
+
- added topics to works
|
| 74 |
+
- modified ID format for topic domain, field, and subfield within works, from integer to openalex string. About 60% of
|
| 75 |
+
works have the new format. The remaining 40% will be updated by the next release.
|
| 76 |
+
- added new topics, domains, fields, and subfields entities to the snapshot
|
| 77 |
+
- fixed host_organization bug within sources
|
| 78 |
+
|
| 79 |
+
RELEASE 2024-01-24
|
| 80 |
+
- added Author.last_known_institutions, a list of institutions for the affiliations of the author's most recent work (last_known_affiliation will be deprecated in the future)
|
| 81 |
+
- added indexed_in to works
|
| 82 |
+
- merged around 300 institutions based on ROR data
|
| 83 |
+
- removed the license type "publisher-specific, author manuscript" from ~140k work locations, changing them to either "publisher-specific-oa" or closed
|
| 84 |
+
|
| 85 |
+
RELEASE 2023-12-20
|
| 86 |
+
- added Author.affiliations, an author's 10 most recent associated institutions and years of publications
|
| 87 |
+
- merged 566k duplicated works associated with HAL repository
|
| 88 |
+
- removed old author IDs (ID less than 5000000000) from merged_ids/authors
|
| 89 |
+
- changed cited_by_percentile_year in works to an integer
|
| 90 |
+
|
| 91 |
+
RELEASE 2023-11-21
|
| 92 |
+
- improved affiliation matching for over 2 million works
|
| 93 |
+
- added keywords to works
|
| 94 |
+
- added cited_by_percentile_year to works
|
| 95 |
+
- removed 3.9 million authors with 0 works (merged into deleted profile)
|
| 96 |
+
- improved oa status classification, converting 2.1 million closed works to open access statuses
|
| 97 |
+
(ongoing - credit: https://subugoe.github.io/scholcomm_analytics/posts/oalex_oa_status/)
|
| 98 |
+
|
| 99 |
+
RELEASE 2023-10-18
|
| 100 |
+
- added new works
|
| 101 |
+
- added more sources
|
| 102 |
+
|
| 103 |
+
RELEASE 2023-09-20
|
| 104 |
+
- added raw author name to authorships objects in works
|
| 105 |
+
- institution lineage (parent institution IDs) available in works, authors, institutions
|
| 106 |
+
- sustainable development goals assigned to 209 million works
|
| 107 |
+
- improved institution matching for 1.1 million works
|
| 108 |
+
- countries distinct count available in works
|
| 109 |
+
- added ~700 new sources
|
| 110 |
+
- matched primary source for 248,647 old works
|
| 111 |
+
- abstract inverted index is correct object in snapshot (InvertedIndex key removed)
|
| 112 |
+
- updated_dates are in full ISO format
|
| 113 |
+
- documentation scripts updated for current snapshot
|
| 114 |
+
|
| 115 |
+
RELEASE 2023-08-18
|
| 116 |
+
- released new authors disambiguation feature
|
| 117 |
+
- fixed missing source assignment for 5.7M works
|
| 118 |
+
- improved affiliation matching resulting in additional ~1.1M works matched to institutions
|
| 119 |
+
- works with more than 100 authors no longer have authors truncated
|
| 120 |
+
- modified Work.type, added Work.type_crossref
|
| 121 |
+
- added APC data for 3,508 journals
|
| 122 |
+
- added authorships.countries attribute
|
| 123 |
+
- resolved minor snapshot bugs affecting abstract_inverted_index and manifest, removed "@" fields
|
| 124 |
+
|
| 125 |
+
RELEASE 2023-07-11
|
| 126 |
+
- add references_count to works
|
| 127 |
+
- add records across all entities
|
| 128 |
+
- updated and improved records across all entities
|
| 129 |
+
|
| 130 |
+
RELEASE 2023-06-02
|
| 131 |
+
- add new works
|
| 132 |
+
- add apc_payment to works
|
| 133 |
+
- add locations_count to works
|
| 134 |
+
- improved coverage of alternate titles, homepage, country code for funders, publishers, and sources
|
| 135 |
+
|
| 136 |
+
RELEASE 2023-05-03
|
| 137 |
+
- add funders entity
|
| 138 |
+
- add grants to works
|
| 139 |
+
- add APC payments to sources
|
| 140 |
+
|
| 141 |
+
RELEASE 2023-03-28
|
| 142 |
+
- truncate work display_names to 500 characters
|
| 143 |
+
- truncate author display_names to 100 characters
|
| 144 |
+
- added summary stats for every entity type except works
|
| 145 |
+
- added new publishers and works
|
| 146 |
+
|
| 147 |
+
RELEASE 2023-02-21
|
| 148 |
+
- merged ~170 million authors into deleted author record as part of disambigation project
|
| 149 |
+
- renamed venues to sources
|
| 150 |
+
- add publishers entity
|
| 151 |
+
- added new works
|
| 152 |
+
|
| 153 |
+
RELEASE 2022-12-21
|
| 154 |
+
- the values in host_venue have been added to alternate_host_venues in works, which paves way for the new locations
|
| 155 |
+
list that will contain all possible venues for a work
|
| 156 |
+
- added new works
|
| 157 |
+
|
| 158 |
+
RELEASE 2022-11-14
|
| 159 |
+
- new fields in venues: type, apc_usd, alternate_titles, abbreviated_title, fatcat_id, and wikidata_id
|
| 160 |
+
- added new works
|
| 161 |
+
|
| 162 |
+
RELEASE 2022-10-10
|
| 163 |
+
- implemented automated concept tagger v3, which provides complete paths to concept level 0
|
| 164 |
+
- restored 170M "lost" citations that were in MAG and we deleted
|
| 165 |
+
- added new works
|
| 166 |
+
|
| 167 |
+
RELEASE 2022-09-16
|
| 168 |
+
- added 1.3 million new Works
|
| 169 |
+
- removed 700 thousand duplicate Authors
|
| 170 |
+
|
| 171 |
+
RELEASE 2022-08-09
|
| 172 |
+
- removed duplicate institutions for each author in Work.authorships
|
| 173 |
+
- made DOIs unique across Works. removed incorrect DOIs from 500K works and merged 1M sets of works with the same DOI.
|
| 174 |
+
- added 900K new Works
|
| 175 |
+
|
| 176 |
+
RELEASE 2022-07-09
|
| 177 |
+
- added new papers and corresponding data
|
| 178 |
+
- added missing related works
|
| 179 |
+
- updated many concepts using improved algorithm
|
| 180 |
+
- updated many affiliation mappings using improved algorithm
|
| 181 |
+
- removed duplicate Authors and Works
|
| 182 |
+
|
| 183 |
+
RELEASE 2022-06-09
|
| 184 |
+
- added new papers and corresponding data
|
| 185 |
+
- added about 28 million papers with Crossref DOIs
|
| 186 |
+
- added 23 thousand new journal webpage links, thanks in large part to DOAJ data
|
| 187 |
+
- fixed a bug with cited_by_year in venues
|
| 188 |
+
- new works now use an improved algorithm for mapping affiliation data to ROR IDs
|
| 189 |
+
- merged some duplicate institutions and venues (all references have been consolidated to one of the IDs)
|
| 190 |
+
|
| 191 |
+
RELEASE 2022-05-12
|
| 192 |
+
- added new papers and corresponding data
|
| 193 |
+
|
| 194 |
+
RELEASE 2022-04-30
|
| 195 |
+
- implemented automated concept tagger v2, which uses more fields to assign concepts to works
|
| 196 |
+
- added new papers and corresponding data
|
| 197 |
+
- updated 8715 venues that had issn_l listed but no issns in "issns" key
|
| 198 |
+
|
| 199 |
+
RELEASE 2022-04-07
|
| 200 |
+
- added new papers and corresponding data
|
| 201 |
+
- add DOIs to 1,242,303 existing works
|
| 202 |
+
- new related works to many works missing them
|
| 203 |
+
|
| 204 |
+
RELEASE 2022-03-11
|
| 205 |
+
- added new papers and corresponding data
|
| 206 |
+
- added 1181 new journals to Venues
|
| 207 |
+
- updated publisher, title, ISSNs on a few hundred journals
|
| 208 |
+
|
| 209 |
+
RELEASE 2022-03-01
|
| 210 |
+
- added new papers and corresponding data
|
| 211 |
+
- added 45 new journals to Venues
|
| 212 |
+
- added ancestors to 1500 Concepts without ancestors
|
| 213 |
+
- fixed a bug with some tabs in the publisher field in Venues and Works
|
| 214 |
+
|
| 215 |
+
RELEASE 2022-02-22
|
| 216 |
+
- added new papers and corresponding data
|
| 217 |
+
- added "created_date" to all entities
|
| 218 |
+
|
| 219 |
+
Partial release on 2022-02-04 (updated Institutions and Venues)
|
| 220 |
+
- ensured each institution has a distinct ROR (identified some institutions that will be merged in a future release, details TBD)
|
| 221 |
+
- updated institution names and data to match what is in ROR
|
| 222 |
+
- added all ROR institutions to Institutions (about 81,000 new institutions)
|
| 223 |
+
- matched papers to new institutions (some errors, but will improve over time)
|
| 224 |
+
- updated last known institution for millions of authors
|
| 225 |
+
- don't show citation counts for future years in "counts_by_year"
|
| 226 |
+
- ensured each journal has a distinct ISSN-L (identified some journals that will be merged in a future release, details TBD)
|
| 227 |
+
- add many new journals to venues table, link to works when possible (about 73,000 new journals)
|
| 228 |
+
- add more links from works to venues using Crossref data
|
| 229 |
+
|
| 230 |
+
RELEASE 2022-01-31
|
| 231 |
+
- added new papers and corresponding data
|
| 232 |
+
- remove blank lines
|
| 233 |
+
- citation counts for concepts use improved algorithm
|
| 234 |
+
|
| 235 |
+
RELEASE 2022-01-24
|
| 236 |
+
- added work.abstract_inverted_index
|
| 237 |
+
- added work.affiliations.raw_affiliation_string
|
| 238 |
+
- changed the type of work.cited_by_api_url: was a list by mistake, now a string
|
| 239 |
+
- removed ids that have a NULL value from the "ids" dict for all five entity types
|
| 240 |
+
- corrected the spelling of institution.associated_institutions
|
| 241 |
+
- does not include new entities since last release: a new snapshot will be released soon with recently-published works
|
| 242 |
+
|
| 243 |
+
RELEASE 2022-01-02
|
| 244 |
+
Released on Jan 2, 2022 at s3://openalex/data/
|
| 245 |
+
- First release
|
openalex-snapshot/browse.html
ADDED
|
@@ -0,0 +1,749 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
Copyright 2014-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
| 5 |
+
|
| 6 |
+
Licensed under the Apache License, Version 2.0 (the "License").
|
| 7 |
+
|
| 8 |
+
You may not use this file except in compliance with the License. A copy
|
| 9 |
+
of the License is located at
|
| 10 |
+
|
| 11 |
+
https://aws.amazon.com/apache2.0/
|
| 12 |
+
|
| 13 |
+
or in the "license" file accompanying this file. This file is distributed
|
| 14 |
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
| 15 |
+
either express or implied. See the License for the specific language governing
|
| 16 |
+
permissions and limitations under the License.
|
| 17 |
+
-->
|
| 18 |
+
|
| 19 |
+
<html lang="en">
|
| 20 |
+
|
| 21 |
+
<head>
|
| 22 |
+
<title>AWS S3 Explorer</title>
|
| 23 |
+
<meta charset="utf-8">
|
| 24 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 25 |
+
<link rel="shortcut icon" href="https://aws.amazon.com/favicon.ico">
|
| 26 |
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css" integrity="sha384-PmY9l28YgO4JwMKbTvgaS7XNZJ30MK9FAZjjzXtlqyZCqBY6X6bXIkM++IkyinN+" crossorigin="anonymous">
|
| 27 |
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap-theme.min.css" integrity="sha384-jzngWsPS6op3fgRCDTESqrEJwRKck+CILhJVO5VvaAZCq8JYf8HsR/HPpBOOPZfR" crossorigin="anonymous">
|
| 28 |
+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.12.0/css/all.css">
|
| 29 |
+
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap.min.css">
|
| 30 |
+
<style type="text/css">
|
| 31 |
+
#wrapper {
|
| 32 |
+
padding-left: 0;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
#page-wrapper {
|
| 36 |
+
width: 100%;
|
| 37 |
+
padding: 5px 15px;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
#tb-s3objects {
|
| 41 |
+
width: 100% !Important;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
a {
|
| 45 |
+
color: #00B7FF;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
body {
|
| 49 |
+
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
td {
|
| 53 |
+
font: 12px "Lucida Grande", Helvetica, Arial, sans-serif;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
.title {
|
| 57 |
+
padding: 6px 12px;
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
.breadcrumb {
|
| 61 |
+
margin-bottom: 0;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
#navbuttons .btn {
|
| 65 |
+
padding: 3px 6px;
|
| 66 |
+
}
|
| 67 |
+
</style>
|
| 68 |
+
</head>
|
| 69 |
+
|
| 70 |
+
<!-- DEBUG: Enable this for red outline on all elements -->
|
| 71 |
+
<!-- <style media="screen" type="text/css"> * { outline: 1px red solid; } </style> -->
|
| 72 |
+
|
| 73 |
+
<body>
|
| 74 |
+
<div id="page-wrapper">
|
| 75 |
+
<div class="row">
|
| 76 |
+
<div class="col-lg-12">
|
| 77 |
+
<div class="panel panel-primary">
|
| 78 |
+
|
| 79 |
+
<!-- Panel including title, breadcrumbs, and controls -->
|
| 80 |
+
<div class="panel-heading clearfix">
|
| 81 |
+
<!-- Title and breadcrumbs -->
|
| 82 |
+
<div class="btn-group pull-left">
|
| 83 |
+
<!-- App title -->
|
| 84 |
+
<div class="title pull-left">
|
| 85 |
+
AWS S3 Explorer
|
| 86 |
+
</div>
|
| 87 |
+
<!-- Bucket breadcrumbs -->
|
| 88 |
+
<div class="pull-right">
|
| 89 |
+
<ul id="breadcrumb" class="breadcrumb pull-right">
|
| 90 |
+
<li class="active">
|
| 91 |
+
<a href="#"><bucket></a>
|
| 92 |
+
</li>
|
| 93 |
+
</ul>
|
| 94 |
+
</div>
|
| 95 |
+
</div>
|
| 96 |
+
<!-- Controls -->
|
| 97 |
+
<div id="navbuttons" class="pull-right">
|
| 98 |
+
<div>
|
| 99 |
+
<!-- Hide folders checkbox -->
|
| 100 |
+
<div class="btn-group">
|
| 101 |
+
<label class="btn">
|
| 102 |
+
<input type="checkbox" id="hidefolders"> Hide folders?
|
| 103 |
+
</label>
|
| 104 |
+
</div>
|
| 105 |
+
<!-- Folder/Bucket radio group -->
|
| 106 |
+
<div class="btn-group" data-toggle="buttons">
|
| 107 |
+
<label class="btn btn-primary active" title="View all objects in folder">
|
| 108 |
+
<i class="fa fa-angle-double-up"></i>
|
| 109 |
+
<input type="radio" name="optionsdepth" value="folder" id="optionfolder" checked> Folder
|
| 110 |
+
</label>
|
| 111 |
+
<label class="btn btn-primary" title="View all objects in bucket">
|
| 112 |
+
<i class="fa fa-angle-double-down"></i>
|
| 113 |
+
<input type="radio" name="optionsdepth" value="bucket" id="optionbucket"> Bucket
|
| 114 |
+
</label>
|
| 115 |
+
</div>
|
| 116 |
+
<!-- Bucket selection -->
|
| 117 |
+
<div class="btn-group" id="bucket">
|
| 118 |
+
<i id="bucket-chooser" style="cursor: pointer;" class="btn fa fa-cog fa-2x" title="Switch to a different S3 Bucket"></i>
|
| 119 |
+
</div>
|
| 120 |
+
<!-- Dual purpose: progress spinner and refresh button, plus object count -->
|
| 121 |
+
<div class="btn-group" id="refresh">
|
| 122 |
+
<span id="bucket-loader" style="cursor: pointer;" class="btn fa fa-refresh fa-2x pull-left" title="Refresh"></span>
|
| 123 |
+
<span id="badgecount" class="badge pull-right" title="Object count">42</span>
|
| 124 |
+
</div>
|
| 125 |
+
</div>
|
| 126 |
+
</div>
|
| 127 |
+
</div>
|
| 128 |
+
|
| 129 |
+
<!-- Panel including S3 object table -->
|
| 130 |
+
<div class="panel-body">
|
| 131 |
+
<table class="table table-bordered table-hover table-striped" id="tb-s3objects">
|
| 132 |
+
<thead>
|
| 133 |
+
<tr>
|
| 134 |
+
<th>Object</th>
|
| 135 |
+
<th>Folder</th>
|
| 136 |
+
<th>Last Modified</th>
|
| 137 |
+
<th>Timestamp</th>
|
| 138 |
+
<th>Size</th>
|
| 139 |
+
</tr>
|
| 140 |
+
</thead>
|
| 141 |
+
<tbody id="tbody-s3objects"></tbody>
|
| 142 |
+
</table>
|
| 143 |
+
</div>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
</body>
|
| 149 |
+
|
| 150 |
+
</html>
|
| 151 |
+
|
| 152 |
+
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
|
| 153 |
+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js" integrity="sha384-vhJnz1OVIdLktyixHY4Uk3OHEwdQqPppqYR8+5mjsauETgLOcEynD9oPHhhz18Nw" crossorigin="anonymous"></script>
|
| 154 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootbox.js/4.4.0/bootbox.min.js"></script>
|
| 155 |
+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.207.0.min.js"></script>
|
| 156 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.0/moment.min.js"></script>
|
| 157 |
+
<script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
|
| 158 |
+
<script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap.min.js"></script>
|
| 159 |
+
|
| 160 |
+
<script type="text/javascript">
|
| 161 |
+
var HIDE_INDEX = true;
|
| 162 |
+
var s3exp_config = {
|
| 163 |
+
Region: '',
|
| 164 |
+
Bucket: '',
|
| 165 |
+
Prefix: '',
|
| 166 |
+
Delimiter: '/'
|
| 167 |
+
};
|
| 168 |
+
var s3exp_lister = null;
|
| 169 |
+
var s3exp_columns = {
|
| 170 |
+
key: 1,
|
| 171 |
+
folder: 2,
|
| 172 |
+
date: 3,
|
| 173 |
+
size: 4
|
| 174 |
+
};
|
| 175 |
+
|
| 176 |
+
AWS.config.region = 'us-east-1';
|
| 177 |
+
console.log('Region: ' + AWS.config.region);
|
| 178 |
+
|
| 179 |
+
// Initialize S3 SDK and the moment library (for time formatting utilities)
|
| 180 |
+
var s3 = new AWS.S3();
|
| 181 |
+
moment().format();
|
| 182 |
+
|
| 183 |
+
function bytesToSize(bytes) {
|
| 184 |
+
var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB'];
|
| 185 |
+
if (bytes === 0) return '0 Bytes';
|
| 186 |
+
var ii = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)));
|
| 187 |
+
return Math.round(bytes / Math.pow(1024, ii), 2) + ' ' + sizes[ii];
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
// Custom startsWith function for String prototype
|
| 191 |
+
if (typeof String.prototype.startsWith != 'function') {
|
| 192 |
+
String.prototype.startsWith = function(str) {
|
| 193 |
+
return this.indexOf(str) == 0;
|
| 194 |
+
};
|
| 195 |
+
}
|
| 196 |
+
|
| 197 |
+
// Custom endsWith function for String prototype
|
| 198 |
+
if (typeof String.prototype.endsWith != 'function') {
|
| 199 |
+
String.prototype.endsWith = function(str) {
|
| 200 |
+
return this.slice(-str.length) == str;
|
| 201 |
+
};
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
+
function object2hrefvirt(bucket, key) {
|
| 205 |
+
var enckey = key.split('/').map(function(x) { return encodeURIComponent(x); }).join('/');
|
| 206 |
+
|
| 207 |
+
if (AWS.config.region === "us-east-1") {
|
| 208 |
+
return document.location.protocol + '//' + bucket + '.s3.amazonaws.com/' + enckey;
|
| 209 |
+
} else {
|
| 210 |
+
return document.location.protocol + '//' + bucket + '.s3-' + AWS.config.region + '.amazonaws.com/' + enckey;
|
| 211 |
+
}
|
| 212 |
+
}
|
| 213 |
+
|
| 214 |
+
function object2hrefpath(bucket, key) {
|
| 215 |
+
var enckey = key.split('/').map(function(x) { return encodeURIComponent(x); }).join('/');
|
| 216 |
+
|
| 217 |
+
if (AWS.config.region === "us-east-1") {
|
| 218 |
+
return document.location.protocol + "//s3.amazonaws.com/" + bucket + "/" + enckey;
|
| 219 |
+
} else {
|
| 220 |
+
return document.location.protocol + "//s3-' + AWS.config.region + '.amazonaws.com/" + bucket + "/" + enckey;
|
| 221 |
+
}
|
| 222 |
+
}
|
| 223 |
+
|
| 224 |
+
function htmlEscape(str) {
|
| 225 |
+
return str
|
| 226 |
+
.replace(/&/g, '&')
|
| 227 |
+
.replace(/</g, '<')
|
| 228 |
+
.replace(/>/g, '>')
|
| 229 |
+
.replace(/"/g, '"')
|
| 230 |
+
.replace(/'/g, ''')
|
| 231 |
+
.replace(/\//g, '/')
|
| 232 |
+
.replace(/`/g, '`')
|
| 233 |
+
.replace(/=/g, '=');
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
function isthisdocument(bucket, key) {
|
| 237 |
+
return key === "index.html";
|
| 238 |
+
}
|
| 239 |
+
|
| 240 |
+
function isfolder(path) {
|
| 241 |
+
return path.endsWith('/');
|
| 242 |
+
}
|
| 243 |
+
|
| 244 |
+
// Convert cars/vw/golf.png to golf.png
|
| 245 |
+
function fullpath2filename(path) {
|
| 246 |
+
return htmlEscape(path.replace(/^.*[\\\/]/, ''));
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
+
// Convert cars/vw/golf.png to cars/vw
|
| 250 |
+
function fullpath2pathname(path) {
|
| 251 |
+
return htmlEscape(path.substring(0, path.lastIndexOf('/')));
|
| 252 |
+
}
|
| 253 |
+
|
| 254 |
+
// Convert cars/vw/ to vw/
|
| 255 |
+
function prefix2folder(prefix) {
|
| 256 |
+
var parts = prefix.split('/');
|
| 257 |
+
return htmlEscape(parts[parts.length - 2] + '/');
|
| 258 |
+
}
|
| 259 |
+
|
| 260 |
+
// Remove hash from document URL
|
| 261 |
+
function removeHash() {
|
| 262 |
+
history.pushState("", document.title, window.location.pathname + window.location.search);
|
| 263 |
+
}
|
| 264 |
+
|
| 265 |
+
// We are going to generate bucket/folder breadcrumbs. The resulting HTML will
|
| 266 |
+
// look something like this:
|
| 267 |
+
//
|
| 268 |
+
// <li>Home</li>
|
| 269 |
+
// <li>Library</li>
|
| 270 |
+
// <li class="active">Samples</li>
|
| 271 |
+
//
|
| 272 |
+
// Note: this code is a little complex right now so it would be good to find
|
| 273 |
+
// a simpler way to create the breadcrumbs.
|
| 274 |
+
function folder2breadcrumbs(data) {
|
| 275 |
+
console.log('Bucket: ' + data.params.Bucket);
|
| 276 |
+
console.log('Prefix: ' + data.params.Prefix);
|
| 277 |
+
|
| 278 |
+
if (data.params.Prefix && data.params.Prefix.length > 0) {
|
| 279 |
+
console.log('Set hash: ' + data.params.Prefix);
|
| 280 |
+
window.location.hash = data.params.Prefix;
|
| 281 |
+
} else {
|
| 282 |
+
console.log('Remove hash');
|
| 283 |
+
removeHash();
|
| 284 |
+
}
|
| 285 |
+
|
| 286 |
+
// The parts array will contain the bucket name followed by all the
|
| 287 |
+
// segments of the prefix, exploded out as separate strings.
|
| 288 |
+
var parts = [data.params.Bucket];
|
| 289 |
+
|
| 290 |
+
if (data.params.Prefix) {
|
| 291 |
+
parts.push.apply(parts,
|
| 292 |
+
data.params.Prefix.endsWith('/') ?
|
| 293 |
+
data.params.Prefix.slice(0, -1).split('/') :
|
| 294 |
+
data.params.Prefix.split('/'));
|
| 295 |
+
}
|
| 296 |
+
|
| 297 |
+
console.log('Parts: ' + parts + ' (length=' + parts.length + ')');
|
| 298 |
+
|
| 299 |
+
// Empty the current breadcrumb list
|
| 300 |
+
$('#breadcrumb li').remove();
|
| 301 |
+
|
| 302 |
+
// Now build the new breadcrumb list
|
| 303 |
+
var buildprefix = '';
|
| 304 |
+
$.each(parts, function(ii, part) {
|
| 305 |
+
var ipart;
|
| 306 |
+
|
| 307 |
+
// Add the bucket (the bucket is always first)
|
| 308 |
+
if (ii === 0) {
|
| 309 |
+
var a1 = $('<a>').attr('href', '#').text(part);
|
| 310 |
+
ipart = $('<li>').append(a1);
|
| 311 |
+
a1.click(function(e) {
|
| 312 |
+
e.preventDefault();
|
| 313 |
+
console.log('Breadcrumb click bucket: ' + data.params.Bucket);
|
| 314 |
+
s3exp_config = {
|
| 315 |
+
Bucket: data.params.Bucket,
|
| 316 |
+
Prefix: '',
|
| 317 |
+
Delimiter: data.params.Delimiter
|
| 318 |
+
};
|
| 319 |
+
(s3exp_lister = s3list(s3exp_config, s3draw)).go();
|
| 320 |
+
});
|
| 321 |
+
// Else add the folders within the bucket
|
| 322 |
+
} else {
|
| 323 |
+
buildprefix += part + '/';
|
| 324 |
+
|
| 325 |
+
if (ii == parts.length - 1) {
|
| 326 |
+
ipart = $('<li>').addClass('active').text(part);
|
| 327 |
+
} else {
|
| 328 |
+
var a2 = $('<a>').attr('href', '#').append(part);
|
| 329 |
+
ipart = $('<li>').append(a2);
|
| 330 |
+
|
| 331 |
+
// Closure needed to enclose the saved S3 prefix
|
| 332 |
+
(function() {
|
| 333 |
+
var saveprefix = buildprefix;
|
| 334 |
+
// console.log('Part: ' + part + ' has buildprefix: ' + saveprefix);
|
| 335 |
+
a2.click(function(e) {
|
| 336 |
+
e.preventDefault();
|
| 337 |
+
console.log('Breadcrumb click object prefix: ' + saveprefix);
|
| 338 |
+
s3exp_config = {
|
| 339 |
+
Bucket: data.params.Bucket,
|
| 340 |
+
Prefix: saveprefix,
|
| 341 |
+
Delimiter: data.params.Delimiter
|
| 342 |
+
};
|
| 343 |
+
(s3exp_lister = s3list(s3exp_config, s3draw)).go();
|
| 344 |
+
});
|
| 345 |
+
})();
|
| 346 |
+
}
|
| 347 |
+
}
|
| 348 |
+
$('#breadcrumb').append(ipart);
|
| 349 |
+
});
|
| 350 |
+
}
|
| 351 |
+
|
| 352 |
+
function s3draw(data, complete) {
|
| 353 |
+
$('li.li-bucket').remove();
|
| 354 |
+
folder2breadcrumbs(data);
|
| 355 |
+
|
| 356 |
+
// Add each part of current path (S3 bucket plus folder hierarchy) into the breadcrumbs
|
| 357 |
+
$.each(data.CommonPrefixes, function(i, prefix) {
|
| 358 |
+
$('#tb-s3objects').DataTable().rows.add([{
|
| 359 |
+
Key: prefix.Prefix
|
| 360 |
+
}]);
|
| 361 |
+
});
|
| 362 |
+
|
| 363 |
+
// Add S3 objects to DataTable
|
| 364 |
+
$('#tb-s3objects').DataTable().rows.add(data.Contents).draw();
|
| 365 |
+
}
|
| 366 |
+
|
| 367 |
+
function s3list(config, completecb) {
|
| 368 |
+
console.log('s3list config: ' + JSON.stringify(config));
|
| 369 |
+
var params = {
|
| 370 |
+
Bucket: config.Bucket,
|
| 371 |
+
Prefix: config.Prefix,
|
| 372 |
+
Delimiter: config.Delimiter
|
| 373 |
+
};
|
| 374 |
+
var scope = {
|
| 375 |
+
Contents: [],
|
| 376 |
+
CommonPrefixes: [],
|
| 377 |
+
params: params,
|
| 378 |
+
stop: false,
|
| 379 |
+
completecb: completecb
|
| 380 |
+
};
|
| 381 |
+
|
| 382 |
+
return {
|
| 383 |
+
// This is the callback that the S3 API makes when an S3 listObjectsV2
|
| 384 |
+
// request completes (successfully or in error). Note that a single call
|
| 385 |
+
// to listObjectsV2 may not be enough to get all objects so we need to
|
| 386 |
+
// check if the returned data is truncated and, if so, make additional
|
| 387 |
+
// requests with a 'next marker' until we have all the objects.
|
| 388 |
+
cb: function(err, data) {
|
| 389 |
+
if (err) {
|
| 390 |
+
console.log('Error: ' + JSON.stringify(err));
|
| 391 |
+
console.log('Error: ' + err.stack);
|
| 392 |
+
scope.stop = true;
|
| 393 |
+
$('#bucket-loader').removeClass('fa-spin');
|
| 394 |
+
bootbox.alert("Error accessing S3 bucket " + scope.params.Bucket + ". Error: " + err);
|
| 395 |
+
} else {
|
| 396 |
+
// console.log('Data: ' + JSON.stringify(data));
|
| 397 |
+
console.log("Options: " + $("input[name='optionsdepth']:checked").val());
|
| 398 |
+
|
| 399 |
+
// Store marker before filtering data
|
| 400 |
+
if (data.IsTruncated) {
|
| 401 |
+
if (data.NextContinuationToken) {
|
| 402 |
+
scope.params.ContinuationToken = data.NextContinuationToken;
|
| 403 |
+
}
|
| 404 |
+
}
|
| 405 |
+
|
| 406 |
+
// Filter the folders out of the listed S3 objects
|
| 407 |
+
// (could probably be done more efficiently)
|
| 408 |
+
console.log("Filter: remove folders");
|
| 409 |
+
data.Contents = data.Contents.filter(function(el) {
|
| 410 |
+
return el.Key !== scope.params.Prefix;
|
| 411 |
+
});
|
| 412 |
+
|
| 413 |
+
// Optionally, filter the root index.html out of the listed S3 objects
|
| 414 |
+
if (HIDE_INDEX) {
|
| 415 |
+
console.log("Filter: remove index.html");
|
| 416 |
+
data.Contents = data.Contents.filter(function(el) {
|
| 417 |
+
return el.Key !== "index.html";
|
| 418 |
+
});
|
| 419 |
+
}
|
| 420 |
+
|
| 421 |
+
// Accumulate the S3 objects and common prefixes
|
| 422 |
+
scope.Contents.push.apply(scope.Contents, data.Contents);
|
| 423 |
+
scope.CommonPrefixes.push.apply(scope.CommonPrefixes, data.CommonPrefixes);
|
| 424 |
+
|
| 425 |
+
// Update badge count to show number of objects read
|
| 426 |
+
$('#badgecount').text(scope.Contents.length + scope.CommonPrefixes.length);
|
| 427 |
+
|
| 428 |
+
if (scope.stop) {
|
| 429 |
+
console.log('Bucket ' + scope.params.Bucket + ' stopped');
|
| 430 |
+
} else if (data.IsTruncated) {
|
| 431 |
+
console.log('Bucket ' + scope.params.Bucket + ' truncated');
|
| 432 |
+
s3.makeUnauthenticatedRequest('listObjectsV2', scope.params, scope.cb);
|
| 433 |
+
} else {
|
| 434 |
+
console.log('Bucket ' + scope.params.Bucket + ' has ' + scope.Contents.length + ' objects, including ' + scope.CommonPrefixes.length + ' prefixes');
|
| 435 |
+
delete scope.params.ContinuationToken;
|
| 436 |
+
if (scope.completecb) {
|
| 437 |
+
scope.completecb(scope, true);
|
| 438 |
+
}
|
| 439 |
+
$('#bucket-loader').removeClass('fa-spin');
|
| 440 |
+
}
|
| 441 |
+
}
|
| 442 |
+
},
|
| 443 |
+
|
| 444 |
+
// Start the spinner, clear the table, make an S3 listObjectsV2 request
|
| 445 |
+
go: function() {
|
| 446 |
+
scope.cb = this.cb;
|
| 447 |
+
$('#bucket-loader').addClass('fa-spin');
|
| 448 |
+
$('#tb-s3objects').DataTable().clear();
|
| 449 |
+
s3.makeUnauthenticatedRequest('listObjectsV2', scope.params, this.cb);
|
| 450 |
+
},
|
| 451 |
+
|
| 452 |
+
stop: function() {
|
| 453 |
+
scope.stop = true;
|
| 454 |
+
delete scope.params.ContinuationToken;
|
| 455 |
+
if (scope.completecb) {
|
| 456 |
+
scope.completecb(scope, false);
|
| 457 |
+
}
|
| 458 |
+
$('#bucket-loader').removeClass('fa-spin');
|
| 459 |
+
}
|
| 460 |
+
};
|
| 461 |
+
}
|
| 462 |
+
|
| 463 |
+
function promptForBucketInput() {
|
| 464 |
+
bootbox.prompt("Please enter the S3 bucket name", function(result) {
|
| 465 |
+
if (result !== null) {
|
| 466 |
+
resetDepth();
|
| 467 |
+
s3exp_config = {
|
| 468 |
+
Bucket: result,
|
| 469 |
+
Delimiter: '/'
|
| 470 |
+
};
|
| 471 |
+
(s3exp_lister = s3list(s3exp_config, s3draw)).go();
|
| 472 |
+
}
|
| 473 |
+
});
|
| 474 |
+
}
|
| 475 |
+
|
| 476 |
+
function resetDepth() {
|
| 477 |
+
$('#tb-s3objects').DataTable().column(1).visible(false);
|
| 478 |
+
$('input[name="optionsdepth"]').val(['folder']);
|
| 479 |
+
$('input[name="optionsdepth"][value="bucket"]').parent().removeClass('active');
|
| 480 |
+
$('input[name="optionsdepth"][value="folder"]').parent().addClass('active');
|
| 481 |
+
}
|
| 482 |
+
|
| 483 |
+
$(document).ready(function() {
|
| 484 |
+
console.log('ready');
|
| 485 |
+
|
| 486 |
+
// Click handler for refresh button (to invoke manual refresh)
|
| 487 |
+
$('#bucket-loader').click(function(e) {
|
| 488 |
+
if ($('#bucket-loader').hasClass('fa-spin')) {
|
| 489 |
+
// To do: We need to stop the S3 list that's going on
|
| 490 |
+
// bootbox.alert("Stop is not yet supported.");
|
| 491 |
+
s3exp_lister.stop();
|
| 492 |
+
} else {
|
| 493 |
+
delete s3exp_config.ContinuationToken;
|
| 494 |
+
(s3exp_lister = s3list(s3exp_config, s3draw)).go();
|
| 495 |
+
}
|
| 496 |
+
});
|
| 497 |
+
|
| 498 |
+
// Click handler for bucket button (to allow user to change bucket)
|
| 499 |
+
$('#bucket-chooser').click(function(e) {
|
| 500 |
+
promptForBucketInput();
|
| 501 |
+
});
|
| 502 |
+
|
| 503 |
+
$('#hidefolders').click(function(e) {
|
| 504 |
+
$('#tb-s3objects').DataTable().draw();
|
| 505 |
+
});
|
| 506 |
+
|
| 507 |
+
// Folder/Bucket radio button handler
|
| 508 |
+
$("input:radio[name='optionsdepth']").change(function() {
|
| 509 |
+
console.log("Folder/Bucket option change to " + $(this).val());
|
| 510 |
+
console.log("Change options: " + $("input[name='optionsdepth']:checked").val());
|
| 511 |
+
|
| 512 |
+
// If user selected deep then we do need to do a full list
|
| 513 |
+
if ($(this).val() == 'bucket') {
|
| 514 |
+
console.log("Switch to bucket");
|
| 515 |
+
var choice = $(this).val();
|
| 516 |
+
$('#tb-s3objects').DataTable().column(1).visible(choice === 'bucket');
|
| 517 |
+
delete s3exp_config.ContinuationToken;
|
| 518 |
+
delete s3exp_config.Prefix;
|
| 519 |
+
s3exp_config.Delimiter = '';
|
| 520 |
+
(s3exp_lister = s3list(s3exp_config, s3draw)).go();
|
| 521 |
+
// Else user selected folder then can do a delimiter list
|
| 522 |
+
} else {
|
| 523 |
+
console.log("Switch to folder");
|
| 524 |
+
$('#tb-s3objects').DataTable().column(1).visible(false);
|
| 525 |
+
delete s3exp_config.ContinuationToken;
|
| 526 |
+
delete s3exp_config.Prefix;
|
| 527 |
+
s3exp_config.Delimiter = '/';
|
| 528 |
+
(s3exp_lister = s3list(s3exp_config, s3draw)).go();
|
| 529 |
+
}
|
| 530 |
+
});
|
| 531 |
+
|
| 532 |
+
function renderObject(data, type, full) {
|
| 533 |
+
if (isthisdocument(s3exp_config.Bucket, data)) {
|
| 534 |
+
console.log("is this document: " + data);
|
| 535 |
+
return fullpath2filename(data);
|
| 536 |
+
} else if (isfolder(data)) {
|
| 537 |
+
console.log("is folder: " + data);
|
| 538 |
+
return '<a data-s3="folder" data-prefix="' + htmlEscape(data) + '" href="' + object2hrefvirt(s3exp_config.Bucket, data) + '">' + prefix2folder(data) + '</a>';
|
| 539 |
+
} else {
|
| 540 |
+
console.log("not folder/this document: " + data);
|
| 541 |
+
return '<a data-s3="object" href="' + object2hrefvirt(s3exp_config.Bucket, data) + '"download="' + fullpath2filename(data) + '">' + fullpath2filename(data) + '</a>';
|
| 542 |
+
}
|
| 543 |
+
}
|
| 544 |
+
|
| 545 |
+
function renderFolder(data, type, full) {
|
| 546 |
+
return isfolder(data) ? "" : fullpath2pathname(data);
|
| 547 |
+
}
|
| 548 |
+
|
| 549 |
+
// Initial DataTable settings
|
| 550 |
+
$('#tb-s3objects').DataTable({
|
| 551 |
+
iDisplayLength: 50,
|
| 552 |
+
order: [
|
| 553 |
+
[1, 'asc'],
|
| 554 |
+
[0, 'asc']
|
| 555 |
+
],
|
| 556 |
+
aoColumnDefs: [{
|
| 557 |
+
"aTargets": [0],
|
| 558 |
+
"mData": "Key",
|
| 559 |
+
"mRender": function(data, type, full) {
|
| 560 |
+
return (type == 'display') ? renderObject(data, type, full) : data;
|
| 561 |
+
},
|
| 562 |
+
"sType": "key"
|
| 563 |
+
}, {
|
| 564 |
+
"aTargets": [1],
|
| 565 |
+
"mData": "Key",
|
| 566 |
+
"mRender": function(data, type, full) {
|
| 567 |
+
return renderFolder(data, type, full);
|
| 568 |
+
}
|
| 569 |
+
}, {
|
| 570 |
+
"aTargets": [2],
|
| 571 |
+
"mData": "LastModified",
|
| 572 |
+
"mRender": function(data, type, full) {
|
| 573 |
+
return data ? moment(data).fromNow() : "";
|
| 574 |
+
}
|
| 575 |
+
}, {
|
| 576 |
+
"aTargets": [3],
|
| 577 |
+
"mData": "LastModified",
|
| 578 |
+
"mRender": function(data, type, full) {
|
| 579 |
+
return data ? moment(data).local().format('YYYY-MM-DD HH:mm:ss') : "";
|
| 580 |
+
}
|
| 581 |
+
}, {
|
| 582 |
+
"aTargets": [4],
|
| 583 |
+
"mData": function(source, type, val) {
|
| 584 |
+
return source.Size ? ((type == 'display') ? bytesToSize(source.Size) : source.Size) : "";
|
| 585 |
+
}
|
| 586 |
+
}, ]
|
| 587 |
+
});
|
| 588 |
+
|
| 589 |
+
$('#tb-s3objects').DataTable().column(s3exp_columns.key).visible(false);
|
| 590 |
+
console.log("jQuery version=" + $.fn.jquery);
|
| 591 |
+
|
| 592 |
+
// Custom sort for the Key column so that folders appear before objects
|
| 593 |
+
$.fn.dataTableExt.oSort['key-asc'] = function(a, b) {
|
| 594 |
+
var x = (isfolder(a) ? "0-" + a : "1-" + a).toLowerCase();
|
| 595 |
+
var y = (isfolder(b) ? "0-" + b : "1-" + b).toLowerCase();
|
| 596 |
+
return ((x < y) ? -1 : ((x > y) ? 1 : 0));
|
| 597 |
+
};
|
| 598 |
+
|
| 599 |
+
$.fn.dataTableExt.oSort['key-desc'] = function(a, b) {
|
| 600 |
+
var x = (isfolder(a) ? "1-" + a : "0-" + a).toLowerCase();
|
| 601 |
+
var y = (isfolder(b) ? "1-" + b : "0-" + b).toLowerCase();
|
| 602 |
+
return ((x < y) ? 1 : ((x > y) ? -1 : 0));
|
| 603 |
+
};
|
| 604 |
+
|
| 605 |
+
// Allow user to hide folders
|
| 606 |
+
$.fn.dataTableExt.afnFiltering.push(function(oSettings, aData, iDataIndex) {
|
| 607 |
+
console.log("hide folders");
|
| 608 |
+
return $('#hidefolders').is(':checked') ? !isfolder(aData[0]) : true;
|
| 609 |
+
});
|
| 610 |
+
|
| 611 |
+
// Delegated event handler for S3 object/folder clicks. This is delegated
|
| 612 |
+
// because the object/folder rows are added dynamically and we do not want
|
| 613 |
+
// to have to assign click handlers to each and every row.
|
| 614 |
+
$('#tb-s3objects').on('click', 'a', function(event) {
|
| 615 |
+
event.preventDefault();
|
| 616 |
+
var target = event.target;
|
| 617 |
+
console.log("target href=" + target.href);
|
| 618 |
+
console.log("target dataset=" + JSON.stringify(target.dataset));
|
| 619 |
+
|
| 620 |
+
// If the user has clicked on a folder then navigate into that folder
|
| 621 |
+
if (target.dataset.s3 === "folder") {
|
| 622 |
+
resetDepth();
|
| 623 |
+
delete s3exp_config.ContinuationToken;
|
| 624 |
+
s3exp_config.Prefix = target.dataset.prefix;
|
| 625 |
+
s3exp_config.Delimiter = $("input[name='optionsdepth']:checked").val() == "folder" ? "/" : "";
|
| 626 |
+
(s3exp_lister = s3list(s3exp_config, s3draw)).go();
|
| 627 |
+
// Else user has clicked on an object so download it in new window/tab
|
| 628 |
+
} else {
|
| 629 |
+
window.open(target.href, '_blank');
|
| 630 |
+
}
|
| 631 |
+
return false;
|
| 632 |
+
});
|
| 633 |
+
|
| 634 |
+
// Document URL typically looks like this for path-style URLs:
|
| 635 |
+
// - https://s3.amazonaws.com/mybucket1/index.html
|
| 636 |
+
// - https://s3-us-west-2.amazonaws.com/mybucket2/index.html
|
| 637 |
+
//
|
| 638 |
+
// Document URL typically looks like this for virtual-hosted-style URLs:
|
| 639 |
+
// - https://mybucket1.s3.amazonaws.com/index.html
|
| 640 |
+
// - https://mybucket2.s3-us-west-2.amazonaws.com/index.html
|
| 641 |
+
//
|
| 642 |
+
// Document URL typically looks like this for S3 website hosting:
|
| 643 |
+
// - http://mybucket3.s3-website-us-east-1.amazonaws.com/
|
| 644 |
+
// - http://mybucket4.s3-website.eu-central-1.amazonaws.com/
|
| 645 |
+
|
| 646 |
+
// TODO: need to support S3 website hosting option
|
| 647 |
+
//
|
| 648 |
+
// If we're launched from a bucket then let's try to determine the bucket
|
| 649 |
+
// name so we can query it immediately, without requiring the user to
|
| 650 |
+
// supply the bucket name.
|
| 651 |
+
//
|
| 652 |
+
// If the region was anything other than US Standard then we will also need
|
| 653 |
+
// to infer the region so that we can initialize the S3 SDK properly.
|
| 654 |
+
console.log("Document URL: " + document.URL);
|
| 655 |
+
var urls = document.URL.split('/');
|
| 656 |
+
console.log("URL split: " + urls);
|
| 657 |
+
|
| 658 |
+
// Using technique from https://gist.github.com/jlong/2428561
|
| 659 |
+
// to parse the document URL.
|
| 660 |
+
var parser = document.createElement('a');
|
| 661 |
+
parser.href = document.URL;
|
| 662 |
+
|
| 663 |
+
// URL format is scheme://[user:password@]domain:port/path?query_string#fragment_id
|
| 664 |
+
// For example: http://example.com:3000/path/?name=abc#topic
|
| 665 |
+
console.log("protocol: " + parser.protocol); // => "http:"
|
| 666 |
+
console.log("hostname: " + parser.hostname); // => "example.com"
|
| 667 |
+
console.log("port : " + parser.port); // => "3000"
|
| 668 |
+
console.log("pathname: " + parser.pathname); // => "/path/"
|
| 669 |
+
console.log("search : " + parser.search); // => "?name=abc"
|
| 670 |
+
console.log("hash : " + parser.hash); // => "#topic"
|
| 671 |
+
console.log("host : " + parser.host); // => "example.com:3000"
|
| 672 |
+
|
| 673 |
+
// If initial bucket has been hard-coded above then use it, else try to
|
| 674 |
+
// derive the initial bucket from the document URL (useful if index.html was
|
| 675 |
+
// launched directly from within a bucket), else prompt the user.
|
| 676 |
+
if (s3exp_config.Bucket) {
|
| 677 |
+
(s3exp_lister = s3list(s3exp_config, s3draw)).go();
|
| 678 |
+
} else if (parser.hostname.endsWith('amazonaws.com')) {
|
| 679 |
+
// Hostname is likely to be in one of the following forms:
|
| 680 |
+
// - s3.amazonaws.com
|
| 681 |
+
// - bucket1.s3.amazonaws.com
|
| 682 |
+
// - s3-us-west-2.amazonaws.com
|
| 683 |
+
// - bucket2.s3-us-west-2.amazonaws.com
|
| 684 |
+
|
| 685 |
+
// If using static website hosting, the hostname will be of the form:
|
| 686 |
+
// - bucket.s3-website.eu-central-1.amazonaws.com/
|
| 687 |
+
|
| 688 |
+
// The following is also a legal form, but we do not support it, so
|
| 689 |
+
// you should use s3-eu-central-1 rather than s3.eu-central-1:
|
| 690 |
+
// - bucket3.s3.eu-central-1.amazonaws.com
|
| 691 |
+
|
| 692 |
+
var bucket;
|
| 693 |
+
var region;
|
| 694 |
+
var hostnames = parser.hostname.split('.');
|
| 695 |
+
var pathnames = parser.pathname.split('/');
|
| 696 |
+
|
| 697 |
+
console.log("count of words in hostname=" + hostnames.length);
|
| 698 |
+
console.log("count of words in pathname=" + pathnames.length);
|
| 699 |
+
|
| 700 |
+
console.log("hostnames=" + hostnames);
|
| 701 |
+
console.log("pathnames=" + pathnames);
|
| 702 |
+
|
| 703 |
+
// If bucket prefix not included in hostname
|
| 704 |
+
if (hostnames[0].match(/^s3-/) || hostnames[0].match(/^s3$/)) {
|
| 705 |
+
bucket = pathnames[1];
|
| 706 |
+
region = hostnames[0];
|
| 707 |
+
console.log("path bucket=" + bucket);
|
| 708 |
+
console.log("path region=" + region);
|
| 709 |
+
} else {
|
| 710 |
+
bucket = hostnames[0];
|
| 711 |
+
region = hostnames[hostnames.length - 3];
|
| 712 |
+
console.log("host bucket=" + bucket);
|
| 713 |
+
console.log("host region=" + region);
|
| 714 |
+
}
|
| 715 |
+
|
| 716 |
+
// If we found statically-hosted website prefix or explicit region, for
|
| 717 |
+
// example s3-us-west-2, then get region else use the default of US Standard
|
| 718 |
+
if (region !== 's3') {
|
| 719 |
+
if (region.startsWith('s3-website-')) {
|
| 720 |
+
AWS.config.region = region.substring(11);
|
| 721 |
+
} else if (region.startsWith('s3-') || region.startsWith('s3.')) {
|
| 722 |
+
AWS.config.region = region.substring(3);
|
| 723 |
+
} else {
|
| 724 |
+
AWS.config.region = region;
|
| 725 |
+
}
|
| 726 |
+
}
|
| 727 |
+
|
| 728 |
+
console.log("AWS region=" + AWS.config.region);
|
| 729 |
+
console.log("S3 bucket=" + bucket);
|
| 730 |
+
|
| 731 |
+
// Create and initialize S3 object
|
| 732 |
+
s3 = new AWS.S3();
|
| 733 |
+
s3exp_config = {
|
| 734 |
+
Bucket: bucket,
|
| 735 |
+
Delimiter: '/'
|
| 736 |
+
};
|
| 737 |
+
|
| 738 |
+
if (window.location.hash) {
|
| 739 |
+
console.log("Location hash=" + window.location.hash);
|
| 740 |
+
s3exp_config.Prefix = window.location.hash.substring(1);
|
| 741 |
+
}
|
| 742 |
+
|
| 743 |
+
// Do initial bucket list
|
| 744 |
+
(s3exp_lister = s3list(s3exp_config, s3draw)).go();
|
| 745 |
+
} else {
|
| 746 |
+
promptForBucketInput();
|
| 747 |
+
}
|
| 748 |
+
});
|
| 749 |
+
</script>
|
openalex-snapshot/data/fields/manifest
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"entries": [
|
| 3 |
+
{"url": "s3://openalex/data/fields/updated_date=2024-04-01/part_000.gz", "meta": { "content_length": 5415, "record_count": 18 } },
|
| 4 |
+
{"url": "s3://openalex/data/fields/updated_date=2025-03-31/part_000.gz", "meta": { "content_length": 2338, "record_count": 8 } }
|
| 5 |
+
],
|
| 6 |
+
"meta": {
|
| 7 |
+
"content_length": 7753,
|
| 8 |
+
"record_count": 26
|
| 9 |
+
}
|
| 10 |
+
}
|