diff --git a/_posts/2019-09-19-arxmliv-2019-dataset-release.md b/_posts/2019-09-19-arxmliv-2019-dataset-release.md new file mode 100644 index 0000000000000000000000000000000000000000..f821789b01260c6ad589fbaf0296f760215702b7 --- /dev/null +++ b/_posts/2019-09-19-arxmliv-2019-dataset-release.md @@ -0,0 +1,10 @@ +--- +layout: post +title: arXiv 2019 Data Set and Embeddings Released +--- +The 2019 release to the arXMLiv data set has been published. + +Details can be found on the corresponding [data set resource page](/resources/arxmliv-dataset-082019/) and [embeddings resource page](/resources/arxmliv-embeddings-082019). + +The content of this data set is licensed to [SIGMathLing members](/member/) for research +and tool development purposes subject to the [SIGMathLing Non-Disclosure-Agreement](/nda/). diff --git a/resources/arxmliv-dataset-082017.md b/resources/arxmliv-dataset-082017.md index 75bd20d3f6513819df88a268dddcdbde31525ad2..7231db01f14075e2099ff9a716ef7b0ed38724a1 100644 --- a/resources/arxmliv-dataset-082017.md +++ b/resources/arxmliv-dataset-082017.md @@ -1,18 +1,19 @@ --- layout: page -title: arXMLiv 08.2017 - An HTML5 dataset for arXiv.org +title: arXMLiv 08.2017 - An HTML5 dataset for arXiv.org --- Part of the [arXMLiv](https://kwarc.info/projects/arXMLiv/) project at the [KWARC](https://kwarc.info/) research group ### Author - Deyan Ginev -### Current release - - 08.2017 +### Release + - This page documents: 08.2017 + - Latest: [08.2019](/resources/arxmliv-dataset-082019/) ### Accessibility and License The content of this Dataset is licensed to [SIGMathLing members](/member/) for research -and tool development purposes. +and tool development purposes. Access is restricted to [SIGMathLing members](/member/) under the [SIGMathLing Non-Disclosure-Agreement](/nda/) as for most [arXiv](http://arxiv.org) @@ -26,13 +27,13 @@ articles, the right of distribution was only given (or assumed) to arXiv itself. | subset ID | number of documents | size archived | size unpacked | | :--- | ---: | ---: | ---: | | no\_problem| 112,088 | 5 GB | 37 GB | - | warning | 574,638 | 71 GB | 595 GB | + | warning | 574,638 | 71 GB | 595 GB | | error | 401,644 | 50 GB | 421 GB | | subset file name | MD5 | | :--- | :--- | | `arXMLiv_08_2017_no_problem.zip` | `036945755c7cc75ea1577cf04ca4fead` | - | `arXMLiv_08_2017_warning.zip` | `c0d5c1baf626225b48264510ac4c6bd5` | + | `arXMLiv_08_2017_warning.zip` | `c0d5c1baf626225b48264510ac4c6bd5` | | `arXMLiv_08_2017_error.zip` | `2f4e60b993d85d30523b064c19e45733` | @@ -40,7 +41,7 @@ articles, the right of distribution was only given (or assumed) to arXiv itself. This is a first public release of the arXMLiv dataset generated by the [KWARC](https://kwarc.info/) research group. It contains 1,088,370 HTML5 scientific documents from the arXiv.org preprint archive, converted from their respective TeX sources. -The dataset is segmented in 3 different subsets, each corresponding to a severity level of the LaTeXML software responsible for the HTML5 conversion. +The dataset is segmented in 3 different subsets, each corresponding to a severity level of the LaTeXML software responsible for the HTML5 conversion. - The `no_problem` set had no obvious challenges in conversion and is the safest, most reliable subset - The `warning` set covers a variety of minor issues, from mathematical expressions unparseable by the LaTeXML grammar, to missing LaTeX packages with no apparent use in the document. The vast majority of the documents should both have a good-looking rendering, as well as data consistency for e.g. NLP tasks. - The `error` set covers all conversions which successfully generated an HTML5 document, but had major issues during the conversion. Examples would range from unknown macros (due to limited LaTeX coverage), unexpected latex syntax, math/text mode mismatches, as well as real LaTeX errors from the original sources. This subset should be used with extra caution, though should still preserve overall data consistency and could be safely used for e.g. generating word embeddings. @@ -57,9 +58,9 @@ The dataset should be referenced in all academic publications that present resul obtained with its help. The reference should contain the identifier `arXMLiv:08.2017` in the title, the author, year, a reference to SIGMathLing, and the URL of the resource description page. For convenience, we supply some records for bibTeX and EndNote below. To -cite a particular part of the dataset use the subset identifiers in the ciation; +cite a particular part of the dataset use the subset identifiers in the ciation; e.g. `\cite[no_problem subset]{arXMLiv:08.2017}` or just explain it in the text using the -concrete identifier. +concrete identifier. #### pure bibTeX ``` @@ -95,7 +96,7 @@ concrete identifier. ### Download [Download link](https://gl.kwarc.info/SIGMathLing/dataset-arXMLiv-08-2017) ([SIGMathLing members](/member/) only) - + ### Generated via - - [LaTeXML 0.8.2](https://github.com/brucemiller/LaTeXML/releases/tag/v0.8.2), + - [LaTeXML 0.8.2](https://github.com/brucemiller/LaTeXML/releases/tag/v0.8.2), - [CorTeX 0.2](https://github.com/dginev/CorTeX/releases/tag/0.2.0) diff --git a/resources/arxmliv-dataset-082018.md b/resources/arxmliv-dataset-082018.md index 6002717839836d026029af679a1d1f256b61fcb5..0606ec789d180ca7659e9dc8f685a582d32a6da1 100644 --- a/resources/arxmliv-dataset-082018.md +++ b/resources/arxmliv-dataset-082018.md @@ -1,18 +1,19 @@ --- layout: page -title: arXMLiv 08.2018 - An HTML5 dataset for arXiv.org +title: arXMLiv 08.2018 - An HTML5 dataset for arXiv.org --- Part of the [arXMLiv](https://kwarc.info/projects/arXMLiv/) project at the [KWARC](https://kwarc.info/) research group ### Author - Deyan Ginev -### Current release - - 08.2018 +### Release + - This page documents: 08.2018 + - Latest: [08.2019](/resources/arxmliv-dataset-082019/) ### Accessibility and License The content of this Dataset is licensed to [SIGMathLing members](/member/) for research -and tool development purposes. +and tool development purposes. Access is restricted to [SIGMathLing members](/member/) under the [SIGMathLing Non-Disclosure-Agreement](/nda/) as for most [arXiv](http://arxiv.org) @@ -26,13 +27,13 @@ articles, the right of distribution was only given (or assumed) to arXiv itself. | subset ID | number of documents | size archived | size unpacked | | :--- | ---: | ---: | ---: | | no\_problem| 137,864 | 6.9 GB | 53 GB | - | warning | 705,095 | 104 GB | 896 GB | + | warning | 705,095 | 104 GB | 896 GB | | error | 389,227 | 58 GB | 506 GB | | subset file name | MD5 | | :--- | :--- | | `arXMLiv_08_2018_no_problem.zip` | `0e19fd0a68f18f6bb05b3d7d1127a072` | - | `arXMLiv_08_2018_warning.zip` | `8ea32275e9cf197f8eb592d539206a6f` | + | `arXMLiv_08_2018_warning.zip` | `8ea32275e9cf197f8eb592d539206a6f` | | `arXMLiv_08_2018_error.zip` | `5880d4fac417f5fdad6e8cec0e3bfe2a` | **Note:** the archives preserve a leading path `./data/datasets/dataset-arXMLiv-08-2018`, which can be safely ignored, and is an artefact of the current release that will be avoided in the future. @@ -41,7 +42,7 @@ articles, the right of distribution was only given (or assumed) to arXiv itself. This is a second public release of the arXMLiv dataset generated by the [KWARC](https://kwarc.info/) research group. It contains 1,232,186 HTML5 scientific documents from the arXiv.org preprint archive, converted from their respective TeX sources. A 13% increase in available articles over the 08.2017 release. -The dataset is segmented in 3 different subsets, each corresponding to a severity level of the LaTeXML software responsible for the HTML5 conversion. +The dataset is segmented in 3 different subsets, each corresponding to a severity level of the LaTeXML software responsible for the HTML5 conversion. - The `no_problem` set had no obvious challenges in conversion and is the safest, most reliable subset - The `warning` set covers a variety of minor issues, from mathematical expressions unparseable by the LaTeXML grammar, to missing LaTeX packages with no apparent use in the document. The vast majority of the documents should both have a good-looking rendering, as well as data consistency for e.g. NLP tasks. - The `error` set covers all conversions which successfully generated an HTML5 document, but had major issues during the conversion. Examples would range from unknown macros (due to limited LaTeX coverage), unexpected latex syntax, math/text mode mismatches, as well as real LaTeX errors from the original sources. This subset should be used with extra caution, though should still preserve overall data consistency and could be safely used for e.g. generating word embeddings. @@ -56,9 +57,9 @@ The dataset should be referenced in all academic publications that present resul obtained with its help. The reference should contain the identifier `arXMLiv:08.2018` in the title, the author, year, a reference to SIGMathLing, and the URL of the resource description page. For convenience, we supply some records for bibTeX and EndNote below. To -cite a particular part of the dataset use the subset identifiers in the ciation; +cite a particular part of the dataset use the subset identifiers in the ciation; e.g. `\cite[no_problem subset]{arXMLiv:08.2018}` or just explain it in the text using the -concrete identifier. +concrete identifier. #### pure bibTeX ``` @@ -94,7 +95,7 @@ concrete identifier. ### Download [Download link](https://gl.kwarc.info/SIGMathLing/dataset-arXMLiv-08-2018) ([SIGMathLing members](/member/) only) - + ### Generated via - - [LaTeXML 0.8.3](https://github.com/brucemiller/LaTeXML/releases/tag/v0.8.3), + - [LaTeXML 0.8.3](https://github.com/brucemiller/LaTeXML/releases/tag/v0.8.3), - [CorTeX 0.3.1](https://github.com/dginev/CorTeX/releases/tag/0.3.1) diff --git a/resources/arxmliv-dataset-082019.md b/resources/arxmliv-dataset-082019.md new file mode 100644 index 0000000000000000000000000000000000000000..830303254cab54cd4ae55416109d1d8ed8602fe1 --- /dev/null +++ b/resources/arxmliv-dataset-082019.md @@ -0,0 +1,103 @@ +--- +layout: page +title: arXMLiv 08.2019 - An HTML5 dataset for arXiv.org +--- +Part of the [arXMLiv](https://kwarc.info/projects/arXMLiv/) project at the [KWARC](https://kwarc.info/) research group + +### Author + - Deyan Ginev + +### Release + - This page documents: 08.2019 + - Latest: [08.2019](/resources/arxmliv-dataset-082019/) + +### Accessibility and License +The content of this Dataset is licensed to [SIGMathLing members](/member/) for research +and tool development purposes. + +Access is restricted to [SIGMathLing members](/member/) under the +[SIGMathLing Non-Disclosure-Agreement](/nda/) as for most [arXiv](http://arxiv.org) +articles, the right of distribution was only given (or assumed) to arXiv itself. + +### Contents + - 1,374,539 HTML5 documents + - Four separate archive bundles, separated by LaTeXML conversion severity + - derivative **word embeddings** and a **token model** are available separately [here](/resources/arxmliv-embeddings-082019/) + + | subset ID | number of documents | size archived | size unpacked | + | :--- | ---: | ---: | ---: | + | no\_problem | 150,701 | 7.4 GB | 57 GB | + | warning_1 | 500,000 | 75 GB | 641 GB | + | warning_2 | 328,127 | 50 GB | 429 GB | + | error | 395,711 | 60 GB | 521 GB | + + + | subset file name | MD5 | + | :--- | :--- | + | `arXMLiv_08_2019_no_problem.zip` | `b70535d607ec916d9f6456b2b1fef421` | + | `arXMLiv_08_2019_warning_1.zip` | `fd4496504020a256f4e4f4200cb731fc` | + | `arXMLiv_08_2019_warning_2.zip` | `5d3ce062a768ce439bd7447f8f011e2b` | + | `arXMLiv_08_2019_error.zip` | `74c91c3b187d151f8bce7bb9936c050f` | + + +### Description + +This is the third public release of the arXMLiv dataset generated by the [KWARC](https://kwarc.info/) research group. It contains 1,374,539 HTML5 scientific documents from the arXiv.org preprint archive, converted from their respective TeX sources. An 11% increase in available articles over the 08.2018 release. + +The dataset is segmented in 4 subsets, corresponding to three severity levels of the HTML conversion. + - The `no_problem` set had no obvious challenges in conversion and is the safest, most reliable subset + - The `warning_1` and `warning_2` sets cover a variety of minor issues, from mathematical expressions unparseable by the LaTeXML grammar, to missing LaTeX packages with no apparent use in the document. The vast majority of the documents should both have a good-looking rendering, as well as data consistency for e.g. NLP tasks. + - The `error` set covers all conversions which successfully generated an HTML5 document, but had major issues during the conversion. Examples would range from unknown macros (due to limited LaTeX coverage), unexpected latex syntax, math/text mode mismatches, as well as real LaTeX errors from the original sources. This subset should be used with extra caution, though should still preserve overall data consistency and could be safely used for e.g. generating word embeddings. + +This version of the dataset has had minimal manual quality control, and we offer no additional warranty beyond the latexml severity reported. + +We welcome community feedback on all of: data quality, representation issues, need for auxiliary resources (e.g. figures, token models), as well as organization and archival best practices. The conversion, build system, and data redistribution efforts are all ongoing projects at the [KWARC research group](http://kwarc.info). + +### Citing this Resource + +The dataset should be referenced in all academic publications that present results +obtained with its help. The reference should contain the identifier `arXMLiv:08.2019` in +the title, the author, year, a reference to SIGMathLing, and the URL of the resource +description page. For convenience, we supply some records for bibTeX and EndNote below. To +cite a particular part of the dataset use the subset identifiers in the ciation; +e.g. `\cite[no_problem subset]{arXMLiv:08.2019}` or just explain it in the text using the +concrete identifier. + +#### pure bibTeX +``` +@MISC{SML:arXMLiv:08.2019, + author = {Deyan Ginev}, + title = {arXMLiv:08.2019 dataset, an HTML5 conversion of arXiv.org}, + howpublished = {hosted at \url{https://sigmathling.kwarc.info/resources/arxmliv-dataset-082019/}}, + note = {SIGMathLing -- Special Interest Group on Math Linguistics}, + year = 2019} +``` + +#### bibTeX for the bibLaTeX package (preferred) +``` +@online{SML:arXMLiv:08.2019, + author = {Deyan Ginev}, + title = {arXMLiv:08.2019 dataset, an HTML5 conversion of arXiv.org}, + url = {https://sigmathling.kwarc.info/resources/arxmliv-dataset-082019/}, + note = {SIGMathLing -- Special Interest Group on Math Linguistics}, + year = 2019} +``` + +#### EndNote +``` +%0 Generic +%T arXMLiv:08.2019 dataset, an HTML5 conversion of arXiv.org +%A Ginev, Deyan +%D 2019 +%I hosted at https://sigmathling.kwarc.info/resources/arxmliv-dataset-082019/ +%F SML:arXMLiv:08.2019b +%O SIGMathLing – Special Interest Group on Math Linguistics +``` + +### Download + [Download link](https://gl.kwarc.info/SIGMathLing/dataset-arXMLiv-08-2019) + ([SIGMathLing members](/member/) only) + +### Generated via + - [LaTeXML 0.8.4](https://github.com/brucemiller/LaTeXML/releases/tag/v0.8.4), + - [CorTeX 0.4.2](https://github.com/dginev/CorTeX/releases/tag/0.4.2) diff --git a/resources/arxmliv-embeddings-082017.md b/resources/arxmliv-embeddings-082017.md index 47f0f3b6a67169c12ae61b05ab49d05620c2a666..5494a5343ad4766ad187f4a95a217e35dbdc4b35 100644 --- a/resources/arxmliv-embeddings-082017.md +++ b/resources/arxmliv-embeddings-082017.md @@ -6,12 +6,14 @@ Part of the [arXMLiv](https://kwarc.info/projects/arXMLiv/) project at the [KWAR ### Author - Deyan Ginev -### Current release - - 08.2017 + +### Release + - This page documents: 08.2017 + - Latest: [08.2019](/resources/arxmliv-embeddings-082019/) ### Accessibility and License The content of this Dataset is licensed to [SIGMathLing members](/member/) for research -and tool development purposes. +and tool development purposes. Access is restricted to [SIGMathLing members](/member/) under the [SIGMathLing Non-Disclosure-Agreement](/nda/) as for most [arXiv](http://arxiv.org) @@ -46,7 +48,7 @@ complete | 4,815,801,412 |405,434,997 | 37,612,439 | 126,938,500 | subset | tokens | unique words | unique words (freq 5+ ) -----------|--------------:|-------------:|-----------------------: -no_problem | 384,951,086 | 490,134 | 170,615 +no_problem | 384,951,086 | 490,134 | 170,615 warning | 2,817,734,902 | 1,200,887 | 422,524 error | 2,180,119,361 | 1,889,392 | 518,609 complete | 5,382,805,349 | 2,573,974 | 746,673 @@ -58,14 +60,14 @@ Please cite the main dataset when using the word embeddings, as they are generat ### Download [Download link](https://gl.kwarc.info/SIGMathLing/embeddings-arXMLiv-08-2017) ([SIGMathLing members](/member/) only) - + ### Generated via - - [llamapun 0.1](https://github.com/KWARC/llamapun/releases/tag/0.1), + - [llamapun 0.1](https://github.com/KWARC/llamapun/releases/tag/0.1), - [GloVe 1.2](https://github.com/stanfordnlp/GloVe/tree/765074642a6544e47849bb85d8dc2e11e44c2922) ### Generation Parameters * token model distributed as 3 subsets - no_problem, warning and error. complete model is derived via: - + ``` cat token_model_no_problem.txt \ token_model_warning.txt \ @@ -108,13 +110,13 @@ Please cite the main dataset when using the word embeddings, as they are generat * Total accuracy: 23.91% (4262/17827) * Highest score: "capital-common-countries.txt", 62.65% (317/506) -**Evaluation note:** These in-built evlauation runs are provided as a sanity check that the generated GloVe models pass a basic baseline against the non-expert tasks in the default GloVe suite. +**Evaluation note:** These in-built evlauation runs are provided as a sanity check that the generated GloVe models pass a basic baseline against the non-expert tasks in the default GloVe suite. One would need a scienctific discourse tailored set of test cases to evaluate the arXiv-based models competitively. #### Measuring word analogy In a cloned GloVe repository, start via: ``` -python eval/python/word_analogy.py --vocab_file vocab.arxmliv.txt --vectors_file glove.arxmliv.5B.300d.txt +python eval/python/word_analogy.py --vocab_file vocab.arxmliv.txt --vectors_file glove.arxmliv.5B.300d.txt ``` 1. `abelian` is to `group` as `disjoint` is to `?` @@ -133,29 +135,29 @@ python eval/python/word_analogy.py --vocab_file vocab.arxmliv.txt --vectors_file * Top hit: `shows`, cosine distance `0.674743` -#### Nearest word vectors +#### Nearest word vectors In a cloned GloVe repository, start via: ``` -python eval/python/distance.py --vocab_file vocab.arxmliv.txt --vectors_file glove.arxmliv.5B.300d.txt +python eval/python/distance.py --vocab_file vocab.arxmliv.txt --vectors_file glove.arxmliv.5B.300d.txt ``` -1. **lattice** +1. **lattice** ``` Word: lattice Position in vocabulary: 311 - + Word Cosine distance - + ----------------------------------------------------- - + lattices 0.811057 - + honeycomb 0.657262 - + finite 0.625146 - + triangular 0.608218 - + spacing 0.605435 ``` @@ -163,103 +165,103 @@ python eval/python/distance.py --vocab_file vocab.arxmliv.txt --vectors_file glo ``` Word: entanglement Position in vocabulary: 1293 - + Word Cosine distance - + ----------------------------------------------------- - + entangled 0.763964 - + multipartite 0.730231 - + fidelity 0.653443 - + concurrence 0.652454 - + environemtnal 0.646705 - + negativity 0.646165 - + quantum 0.639032 - + discord 0.624222 - + nonlocality 0.610661 - + tripartite 0.609896 ``` 3. **forgetful** ``` Word: forgetful Position in vocabulary: 10697 - + Word Cosine distance - + ----------------------------------------------------- - + functor 0.723019 - + functors 0.653969 - + morphism 0.626222 ``` 4. **eigenvalue** ``` Word: eigenvalue Position in vocabulary: 1212 - + Word Cosine distance - + ----------------------------------------------------- - + eigenvalues 0.878527 - + eigenvector 0.766371 - + eigenfunction 0.761923 - + eigenvectors 0.747451 - + eigenfunctions 0.707346 - + eigenspace 0.661539 - + corresponding 0.629746 - + laplacian 0.627187 - + operator 0.627130 - + eigen 0.620933 ``` 5. **riemannian** ``` Word: riemannian Position in vocabulary: 2026 - + Word Cosine distance - + ----------------------------------------------------- - + manifold 0.766196 - + manifolds 0.745785 - + metric 0.714120 - + curvature 0.672975 - + metrics 0.670006 - + finsler 0.665079 - + ricci 0.657058 - + euclidean 0.650198 - + endowed 0.626307 - + riemmanian 0.621626 - + riemanian 0.618022 ``` \ No newline at end of file diff --git a/resources/arxmliv-embeddings-082018.md b/resources/arxmliv-embeddings-082018.md index 360812ec8065b169d085f02f343d026ca3fd0232..85ea3eccebc5b25870d5c8c295422a30cbc30c18 100644 --- a/resources/arxmliv-embeddings-082018.md +++ b/resources/arxmliv-embeddings-082018.md @@ -7,8 +7,9 @@ Part of the [arXMLiv](https://kwarc.info/projects/arXMLiv/) project at the [KWAR ### Author - Deyan Ginev -### Current release - - 08.2018 +### Release + - This page documents: 08.2018 + - Latest: [08.2019](/resources/arxmliv-embeddings-082019/) ### Accessibility and License The content of this Dataset is licensed to [SIGMathLing members](/member/) for research @@ -148,158 +149,153 @@ python2 eval/python/distance.py --vocab_file vocab.arxmliv.txt --vectors_file gl ``` 1. **lattice** + ``` + Word: lattice Position in vocabulary: 488 -``` -Word: lattice Position in vocabulary: 488 - - Word Cosine distance + Word Cosine distance ---------------------------------------------------------- + --------------------------------------------------------- - lattices 0.853103 + lattices 0.853103 - triangular 0.637767 + triangular 0.637767 - honeycomb 0.626426 + honeycomb 0.626426 - crystal 0.624397 + crystal 0.624397 - finite 0.614720 + finite 0.614720 - spacing 0.603067 -``` + spacing 0.603067 + ``` 2. **entanglement** + ``` + Word: entanglement Position in vocabulary: 1568 -``` -Word: entanglement Position in vocabulary: 1568 - - Word Cosine distance + Word Cosine distance ---------------------------------------------------------- + --------------------------------------------------------- - entangled 0.780425 + entangled 0.780425 - multipartite 0.730968 + multipartite 0.730968 - concurrence 0.691708 + concurrence 0.691708 - negativity 0.649595 + negativity 0.649595 - tripartite 0.647623 + tripartite 0.647623 - quantum 0.640395 + quantum 0.640395 - fidelity 0.640285 + fidelity 0.640285 - teleportation 0.616797 + teleportation 0.616797 - discord 0.613752 + discord 0.613752 - entropy 0.612341 + entropy 0.612341 - bipartite 0.608034 + bipartite 0.608034 - coherence 0.606859 + coherence 0.606859 - nonlocality 0.601337 -``` + nonlocality 0.601337 + ``` 3. **forgetful** + ``` + Word: forgetful Position in vocabulary: 11740 -``` -Word: forgetful Position in vocabulary: 11740 - - Word Cosine distance + Word Cosine distance ---------------------------------------------------------- + --------------------------------------------------------- - functor 0.723472 + functor 0.723472 - functors 0.656184 + functors 0.656184 - morphism 0.598965 -``` + morphism 0.598965 + ``` 4. **eigenvalue** + ``` + Word: eigenvalue Position in vocabulary: 1448 -``` -Word: eigenvalue Position in vocabulary: 1448 - - Word Cosine distance + Word Cosine distance ---------------------------------------------------------- + --------------------------------------------------------- - eigenvalues 0.893073 + eigenvalues 0.893073 - eigenvector 0.768380 + eigenvector 0.768380 - eigenvectors 0.765241 + eigenvectors 0.765241 - eigenfunction 0.754222 + eigenfunction 0.754222 - eigenfunctions 0.686141 + eigenfunctions 0.686141 - eigenspace 0.666098 + eigenspace 0.666098 - eigen 0.641422 + eigen 0.641422 - matrix 0.616723 + matrix 0.616723 - eigenmode 0.613117 + eigenmode 0.613117 - eigenstate 0.612188 + eigenstate 0.612188 - laplacian 0.611396 + laplacian 0.611396 - largest 0.606122 + largest 0.606122 - smallest 0.605342 + smallest 0.605342 - eigenmodes 0.604839 + eigenmodes 0.604839 -``` + ``` 5. **riemannian** + ``` + Word: riemannian Position in vocabulary: 2285 -``` -Word: riemannian Position in vocabulary: 2285 - - Word Cosine distance + Word Cosine distance ---------------------------------------------------------- + --------------------------------------------------------- - manifolds 0.765827 + manifolds 0.765827 - manifold 0.760806 + manifold 0.760806 - metric 0.719817 + metric 0.719817 - finsler 0.687826 + finsler 0.687826 - curvature 0.676100 + curvature 0.676100 - ricci 0.664770 + ricci 0.664770 - metrics 0.660804 + metrics 0.660804 - riemmanian 0.651666 + riemmanian 0.651666 - euclidean 0.644686 + euclidean 0.644686 - noncompact 0.643878 + noncompact 0.643878 - conformally 0.638984 + conformally 0.638984 - riemanian 0.633814 + riemanian 0.633814 - kahler 0.632680 + kahler 0.632680 - endowed 0.622035 + endowed 0.622035 - submanifold 0.613868 + submanifold 0.613868 - submanifolds 0.612716 + submanifolds 0.612716 - geodesic 0.604488 -``` \ No newline at end of file + geodesic 0.604488 + ``` \ No newline at end of file diff --git a/resources/arxmliv-embeddings-082019.md b/resources/arxmliv-embeddings-082019.md new file mode 100644 index 0000000000000000000000000000000000000000..b14e2d6af97d804e4c33691c538ee95a12175aae --- /dev/null +++ b/resources/arxmliv-embeddings-082019.md @@ -0,0 +1,300 @@ +--- +layout: page +title: arXMLiv 08.2019 - Word Embeddings; Token Model +--- +Part of the [arXMLiv](https://kwarc.info/projects/arXMLiv/) project at the [KWARC](https://kwarc.info/) research group + +### Author + - Deyan Ginev + +### Release + - This page documents: 08.2019 + - Latest: [08.2019](/resources/arxmliv-embeddings-082019/) + +### Accessibility and License +The content of this Dataset is licensed to [SIGMathLing members](/member/) for research +and tool development purposes. + +Access is restricted to [SIGMathLing members](/member/) under the +[SIGMathLing Non-Disclosure-Agreement](/nda/) as for most [arXiv](http://arxiv.org) +articles, the right of distribution was only given (or assumed) to arXiv itself. + +### Contents + - An 15.2 billion token model for the arXMLiv 08.2019 dataset, including subformula lexemes + - `token_model.zip` + - 300 dimensional GloVe word embeddings for the arXMLiv 08.2019 dataset + - `glove.arxmliv.15B.300d.zip` and `vocab.arxmliv.zip` + - the main arXMLiv dataset is available separately [here](/resources/arxmliv-dataset-082019/) + +#### Token Model Statistics + +| subset | documents | paragraphs | +| ---------- | --------: | ---------: | +| no_problem | 150,701 | 6,071,920 | +| warning_1 | 500,000 | 36,130,694 | +| warning_2 | 328,127 | 24,285,351 | +| error | 395,711 | 31,155,136 | +| complete | 1,374,539 | 97,643,101 | + +| subset | words | formulas | inline cite | +| ---------- | ------------: | ----------: | ----------: | +| no_problem | 619,051,536 | 25,210,637 | 4,248,840 | +| warning_1 | 2,917,283,935 | 212,113,899 | 18,553,611 | +| warning_2 | 1,937,516,458 | 140,094,708 | 12,590,335 | +| error | 2,307,007,544 | 163,290,748 | 14,200,445 | +| complete | 7,780,859,473 | 540,709,992 | 49,593,231 | + +#### GloVe Model Statistics + +| subset | tokens | unique words | unique words (freq 5+ ) | +| ---------- | -------------: | -----------: | ----------------------: | +| complete | 15,214,964,673 | 2,868,070 | 1,013,106 | + +### Citing this Resource + +Please cite the main dataset when using the word embeddings, as they are generated and distributed jointly. [Instructions here](/resources/arxmliv-dataset-082019/#citing-this-resource) + +### Download + [Download link](https://gl.kwarc.info/SIGMathLing/embeddings-arXMLiv-08-2019) + ([SIGMathLing members](/member/) only) + +### Generated via + - [llamapun 0.3.3](https://github.com/KWARC/llamapun/releases/tag/0.3.3), + - [GloVe 1.2, 2019](https://github.com/stanfordnlp/GloVe/tree/07d59d5e6584e27ec758080bba8b51fce30f69d8) + +### Generation Parameters + * token model distributed as 4 subsets - no_problem, warning_1, warning_2 and error. complete model is derived via: + + ``` + cat token_model_no_problem.txt \ + token_model_warning_1.txt token_model_warning_2.txt \ + token_model_error.txt > token_model_complete.txt + ``` + + * [llamapun v0.3.3](https://github.com/KWARC/llamapun/releases/tag/0.3.3), `corpus_token_model` example used for token model extraction + * processed logical paragraphs, abstracts, captions and keywords, ignore all other content (e.g. tables, bibliography, others) + * excluded paragraphs containing latexml errors (marked via a `ltx_ERROR` HTML class); also excluded when words over 25 characters were encountered. + * used llamapun math-aware word tokenization, with sub-formula math lexemes (improved robustness since 2018) + * marked up inline citations replaced with `citationelement` token + * numeric literals replaced with `NUM` token (both in text and formulas) + * internal references replaced with `ref` token (e.g. `Figure ref`) + * textual punctuation is included as-is, while mathematical punctuation is annotated via the latexml-generated lexemes. + * words are downcased, while math content is kept cased, to mitigate lexical ambiguity. + + * [GloVe repository at sha 07d59d](https://github.com/stanfordnlp/GloVe/tree/07d59d5e6584e27ec758080bba8b51fce30f69d8) + * build/vocab_count -min-count 5 + * build/cooccur -memory 48.0 -window-size 15 + * build/shuffle -memory 48.0 + * build/glove -threads 30 -x-max 100 -iter 50 -vector-size 300 -binary 2 + +### Examples and baselines + +#### GloVe in-built evaluation (non-expert tasks e.g. language, relationships, geography) +1. NEW; 2019 model + * Total accuracy: 38.30% (7017/18322) + * Highest score: "gram3-comparative.txt", 78.60% (1047/1332) + + +2. 2018 [GloVe embeddings](/resources/arxmliv-embeddings-082018/) + * Total accuracy: 35.48% (6298/17750) + * Highest score: "gram3-comparative.txt", 76.65% (1021/1332) + +3. demo baseline: text8 demo (first 100M characters of Wikipedia) + * Total accuracy: 23.62% (4211/17827) + * Highest score: "gram6-nationality-adjective.txt", 58.65% (892/1521) + +#### Measuring word analogy +In a cloned GloVe repository, start via: +``` +python2 eval/python/word_analogy.py --vocab_file vocab.arxmliv.txt --vectors_file glove.arxmliv.15B.300d.txt +``` + +1. `abelian` is to `group` as `disjoint` is to `?` + * Top hit: `union`, cosine distance `0.618853` + +2. `convex` is to `concave` as `positive` is to `?` + * Top hit: `negative`, cosine distance `0.806679` + +3. `finite` is to `infinte` as `abelian` is to `?` + * Top hit: `nonabelian`, cosine distance `0.698089` + +4. `quantum` is to `classical` as `bottom` is to `?` + * Top hit: `middle`, cosine distance `0.769180` + * Close second: `top`, cosine distance `0.765937` + +5. `eq` is to `proves` as `figure` is to `?` + * Top hit: `showing`, cosine distance `0.689938` + +6. `italic_x` is to `italic_y` as `italic_a` is to `?` + * Top hit: `italic_b`, cosine distance `0.915467` + + +#### Nearest word vectors +In a cloned GloVe repository, start via: +``` +python2 eval/python/distance.py --vocab_file vocab.arxmliv.txt --vectors_file glove.arxmliv.15B.300d.txt +``` + +1. **lattice** + ``` + Word: lattice Position in vocabulary: 515 + + Word Cosine distance + + --------------------------------------------------------- + + lattices 0.865888 + + honeycomb 0.677004 + + finite 0.650216 + + triangular 0.632165 + + crystal 0.627800 + + sublattice 0.619792 + + cubic 0.609822 + + ``` + +2. **entanglement** + ``` + Word: entanglement Position in vocabulary: 1603 + + Word Cosine distance + + --------------------------------------------------------- + + entangled 0.803443 + + multipartite 0.744602 + + negativity 0.698730 + + concurrence 0.693703 + + tripartite 0.669840 + + discord 0.660572 + + fidelity 0.657391 + + quantum 0.655452 + + teleportation 0.628923 + + qubits 0.627504 + + bipartite 0.622791 + + entangling 0.621139 + + nonlocality 0.619905 + + qubit 0.615623 + + entropy 0.601869 + + ``` + +3. **forgetful** + ``` + Word: forgetful Position in vocabulary: 12259 + + Word Cosine distance + + --------------------------------------------------------- + + functor 0.749501 + + functors 0.686806 + + morphism 0.632394 + + morphisms 0.610589 + + ``` + +4. **eigenvalue** + ``` + Word: eigenvalue Position in vocabulary: 1527 + + Word Cosine distance + + --------------------------------------------------------- + + eigenvalues 0.903885 + + eigenvector 0.781512 + + eigenvectors 0.774260 + + eigenfunction 0.751316 + + eigenfunctions 0.707166 + + eigenspace 0.683321 + + eigen 0.657366 + + laplacian 0.649859 + + matrix 0.645466 + + eigenmode 0.628024 + + operator 0.620245 + + eigenmodes 0.610912 + + largest 0.607076 + + eigenstates 0.603603 + + ``` + +5. **riemannian** + ``` + Word: riemannian Position in vocabulary: 2285 + + Word Cosine distance + + --------------------------------------------------------- + + manifold 0.771125 + + manifolds 0.770408 + + metric 0.709820 + + finsler 0.699053 + + curvature 0.672640 + + ricci 0.667813 + + riemmanian 0.661929 + + euclidean 0.645167 + + metrics 0.641648 + + submanifold 0.638131 + + kahler 0.635828 + + riemanian 0.626252 + + noncompact 0.623363 + + geodesic 0.620316 + + submanifolds 0.613058 + + endowed 0.608804 + + foliation 0.601818 + + ``` \ No newline at end of file diff --git a/resources/arxmliv.md b/resources/arxmliv.md index 2ca2573e2f1e3e511902cdfe29ca4ce595fd5342..82ad9a1f7e43d0a17284d1286eeb02400f475969 100644 --- a/resources/arxmliv.md +++ b/resources/arxmliv.md @@ -3,14 +3,18 @@ layout: page title: SIGMathLing - arXMLiv Project Datasets and Resources --- +## 2019 + 1. [arXMLiv corpus, 08.2019 release](/resources/arxmliv-dataset-082019/) + 1. [arXMLiv word embeddings, 08.2019 release](/resources/arxmliv-embeddings-082019) + ## 2018 - 1. [arXMLiv corpus, 08.2018 release](/resources/arxmliv-dataset-082018/) + 1. [arXMLiv corpus, 08.2018 release](/resources/arxmliv-dataset-082018/) 1. [arXMLiv word embeddings, 08.2018 release](/resources/arxmliv-embeddings-082018) 1. [arXMLiv statements dataset, 08.2018 release](/resources/arxmliv-statements-082018) ## 2017 - 1. [arXMLiv corpus, 08.2017 release](/resources/arxmliv-dataset-082017/) - 1. [arXMLiv word embeddings, 08.2017 release](/resources/arxmliv-embeddings-082017) + 1. [arXMLiv corpus, 08.2017 release](/resources/arxmliv-dataset-082017/) + 1. [arXMLiv word embeddings, 08.2017 release](/resources/arxmliv-embeddings-082017) ## Additional Resources see the [main resource page](/resources/) for the full list of SIGMathLing resources diff --git a/resources/index.md b/resources/index.md index 7e2457e29f2d98111d25c41c5fc74dacef460fa8..7b6baf97526600efbac474aba80febfd80c0b5a2 100644 --- a/resources/index.md +++ b/resources/index.md @@ -3,6 +3,8 @@ layout: page title: SIGMathLing - Datasets and Resources --- ## Resources hosted on the SIGMathLing Repository + 1. [arXMLiv corpus, 08.2019 release](/resources/arxmliv-dataset-082019/) + 1. [arXMLiv word embeddings, 08.2019 release](/resources/arxmliv-embeddings-082019) 1. [arXMLiv statements dataset, 08.2018 release](/resources/arxmliv-statements-082018) 1. [arXMLiv word embeddings, 08.2018 release](/resources/arxmliv-embeddings-082018) 1. [arXMLiv corpus, 08.2018 release](/resources/arxmliv-dataset-082018/) diff --git a/technical.md b/technical.md index 88ba2709a135b68a5aa58765a3f40082351c9409..aae40d2863d7bfaf097c4c3b5ac02e722e847837 100644 --- a/technical.md +++ b/technical.md @@ -7,13 +7,13 @@ Recall that {{site.title}} maintains [a bouquet of services](services/); here we ### Resource Repositories -We have a [{{site.title}} group](http://gl.kwarc.info/SIGMathLing) on the [GitLab](https://en.wikipedia.org/wiki/GitLab) server [gl.kwarc.info](http://gl.kwarc.info), where we will start making repositories on. +We have a [{{site.title}} group](http://gl.kwarc.info/SIGMathLing) on the [GitLab](https://en.wikipedia.org/wiki/GitLab) server [gl.kwarc.info](http://gl.kwarc.info), where we have hosted a range of data repositories. This allows us to use Git permissions for access control and the GitLab permission UI for management. -We estimate that for the first two years {{site.title}} will have below 25 members (reducing the traffic) and below 5 TB data sets. +We estimate that for the first two years (2017-2019) {{site.title}} will have below 25 members (reducing the traffic) and below 5 TB data sets. gl.kwarc.info should be able to serve that given that most data sets will be served via [Git LFS](https://git-lfs.github.com/). Should space or traffic become a problem for the KWARC servers to handle, we will try to raise money for a more scalable solution. -We will also have a close look at [Zenodo](http://zenodo.org) and see whether we can delegate hosting to them. +[Zenodo](http://zenodo.org) has officially turned down hosting the SIGMathLing resources due to the large volume of data, but we are open to exploring alternative providers - feel free to reach out! ### Standardizing Datasets and Resources @@ -26,20 +26,20 @@ We will need to develop standards for representing, classifying, describing, and * an evaluation data set (gold standard)? * what is the quality? f-measure, * what is the license. -3. *Citation* The idea is to have a "landing page per resourcer that address all +3. *Identification*: we are looking into obtaining a DOI data identifier for each resource +4. *Citation* The idea is to have a "landing page per resourcer that address all the points in 1. and 2. as well as the authors that can be cited. The landing page should also have pre-made bibTeX (and possibly EndNote) entries to make citations - easier. + easier. ### Resource Reference Page -Currently, this is just a manually curated [page on the {{site.title}} web site](/resources/), eventually we will statically generate it from an internal data base of resources and/or harvested from the repositories. Licensing should be made transparent. +Currently, this is just a manually curated [page on the {{site.title}} web site](/resources/), eventually we will statically generate it from an internal data base of resources and/or harvested from the repositories. Licensing should be made transparent. ### Suite of Systems and Libraries -Currently, this is just a manually curated [page on the {{site.title}} web site](/systems/), eventually we will statically generate it from an internal data base of resources and/or harvested from the repositories. Licensing should be made transparent. +Currently, this is just a manually curated [page on the {{site.title}} web site](/systems/), eventually we will statically generate it from an internal data base of resources and/or harvested from the repositories. Licensing should be made transparent. ### Math Analysis Blackboard MK would like develop and publish an annotation schema (using the KAT schema as a starting point) and establish a math result triple store that manages all of these. Technical details are still open how best to do this, but Deyan is quite skeptical. -