Skip to content

Commit

Permalink
Merge master into pre-commit-ci-update (#214)
Browse files Browse the repository at this point in the history
* Add missing refs since january and fix small bug (#207)

* Add missing refs since january and fix small bug

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add missing ref from PR 203

* Fix recents and fix small bug

* Fix month extraction from inspire

* Final recent fix

* Fix missing komma

* Added the PR 208 info to other stuff too

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* Update journals (#209)

* Update journals

* Add missing files

* Update end of may (#211)

* Update end of may

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update and add CaloDREAM

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* Update authors (#212)

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
ramonpeter and pre-commit-ci[bot] authored May 28, 2024
1 parent 76d095a commit 478865d
Show file tree
Hide file tree
Showing 9 changed files with 3,323 additions and 472 deletions.
2,481 changes: 2,475 additions & 6 deletions HEPML.bib

Large diffs are not rendered by default.

92 changes: 47 additions & 45 deletions HEPML.tex

Large diffs are not rendered by default.

491 changes: 337 additions & 154 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions check_inspire.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
starting_point = input("From which date do you want to start? \nFormat is YYYY-MM-DD!\n")
starting_date = date.fromisoformat(starting_point)

categories = ['hep-ph', 'hep-ex', 'hep-lat', 'hep-th', 'physics.ins-det', 'physics.data-an', 'nucl-th']
categories = ['hep-ph', 'hep-ex', 'hep-lat', 'hep-th', 'physics.ins-det', 'physics.data-an']
print(f"Looking at arXiv categories: {categories}")

keywords = ['neural network', 'machine learning', 'generative models', 'diffusion models']
keywords = ['neural network', 'machine learning', 'generative models', 'diffusion models', 'normalizing flow', 'foundation model']
print(f"scanning papers with {keywords}:")
keyword_str = f'("{keywords}")'.replace("', '", '"%20OR%20"').replace("['", '').replace("']", "")
keyword_str = keyword_str.replace(" ", "%20")
Expand Down
2 changes: 1 addition & 1 deletion docs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ hide:

The purpose of this note is to collect references for modern machine learning as applied to particle physics. A minimal number of categories is chosen in order to be as useful as possible. Note that papers may be referenced in more than one category. The fact that a paper is listed in this document does not endorse or validate its content - that is for the community (and for peer-review) to decide. Furthermore, the classification here is a best attempt and may have flaws - please let us know if (a) we have missed a paper you think should be included, (b) a paper has been misclassified, or (c) a citation for a paper is not correct or if the journal information is now available. In order to be as useful as possible, this document will continue to evolve so please check back before you write your next paper. If you find this review helpful, please consider citing it using ```\cite{hepmllivingreview}``` in `HEPML.bib`.

This review was built with the help of the HEP-ML community, the [INSPIRE REST API](https://github.com/inspirehep/rest-api-doc), and the moderators Benjamin Nachman, Matthew Feickert, Etienne Dreyer, Claudius Krause, Johnny Raine, Dalila Salamani, and Ramon Winterhalder.
This review was built with the help of the HEP-ML community, the [INSPIRE REST API](https://github.com/inspirehep/rest-api-doc), and the moderators Benjamin Nachman, Matthew Feickert, Claudius Krause, Johnny Raine, and Ramon Winterhalder.

494 changes: 340 additions & 154 deletions docs/index.md

Large diffs are not rendered by default.

206 changes: 106 additions & 100 deletions docs/recent.md

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions dump_bibtex_from_arxiv.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@ def replace_collaboration_author(bib_entry):
collab_field = collab_field.group(0)

collab_names = {
'ATLAS': 'The ATLAS collaboration',
'CMS': 'The CMS collaboration',
'LHCb': 'The LHCb collaboration',
'ALICE': 'The ALICE collaboration',
'ATLAS': 'ATLAS Collaboration',
'CMS': 'CMS Collaboration',
'LHCb': 'LHCb Collaboration',
'ALICE': 'ALICE Collaboration',
'IceCube': 'IceCube Collaboration',
'NNPDF': 'NNPDF Collaboration',
'Belle-II': "Belle-II Collaboration"
}

# Find the collaboration field and select matching name above
Expand Down
14 changes: 8 additions & 6 deletions make_md.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

for file in myfile_readme,myfile_about:
file.write(r"The purpose of this note is to collect references for modern machine learning as applied to particle physics. A minimal number of categories is chosen in order to be as useful as possible. Note that papers may be referenced in more than one category. The fact that a paper is listed in this document does not endorse or validate its content - that is for the community (and for peer-review) to decide. Furthermore, the classification here is a best attempt and may have flaws - please let us know if (a) we have missed a paper you think should be included, (b) a paper has been misclassified, or (c) a citation for a paper is not correct or if the journal information is now available. In order to be as useful as possible, this document will continue to evolve so please check back before you write your next paper. If you find this review helpful, please consider citing it using ```\cite{hepmllivingreview}``` in `HEPML.bib`.")
file.write("\n\nThis review was built with the help of the HEP-ML community, the [INSPIRE REST API](https://github.com/inspirehep/rest-api-doc), and the moderators Benjamin Nachman, Matthew Feickert, Etienne Dreyer, Claudius Krause, Johnny Raine, Dalila Salamani, and Ramon Winterhalder.\n\n")
file.write("\n\nThis review was built with the help of the HEP-ML community, the [INSPIRE REST API](https://github.com/inspirehep/rest-api-doc), and the moderators Benjamin Nachman, Matthew Feickert, Claudius Krause, Johnny Raine, and Ramon Winterhalder.\n\n")

###Add buttons
myfile_out.write("""\n<a class="md-button" onClick="expandElements(true)">Expand all sections</a>\n<a class="md-button" onClick="expandElements(false)">Collapse all sections</a>\n""")
Expand Down Expand Up @@ -119,6 +119,8 @@ def convert_from_bib(myline):
elif "doi" in first_entry:
myentry_dict["doi"] = entry_cleaned.split("doi")[1].split("=")[1].split("\n")[0].replace("\"","").replace(",","").replace("\'","").replace(" ","")
elif "url" in first_entry:
if "@" in first_entry:
continue
myentry_dict["url"] = entry_cleaned.split("url")[1].split("=")[1].split("\n")[0].replace("\"","").replace(",","").replace("\'","").replace(" ","")
else:
#print(entry_cleaned)
Expand All @@ -140,13 +142,13 @@ def convert_from_bib(myline):
myfile_bib_copy.write(line)
if myentry_dict['eprint'] in line and "eprint" in line:
if "journal_title" in inspire_dict:
myfile_bib_copy.write(" journal=\""+inspire_dict['journal_title']+"\",\n")
myfile_bib_copy.write(" journal=\""+inspire_dict['journal_title']+"\",\n")
if "journal_volume" in inspire_dict:
myfile_bib_copy.write(" volume=\""+inspire_dict['journal_volume']+"\",\n")
myfile_bib_copy.write(" volume=\""+inspire_dict['journal_volume']+"\",\n")
if "page_start" in inspire_dict:
myfile_bib_copy.write(" pages=\""+inspire_dict['page_start']+"\",\n")
myfile_bib_copy.write(" pages=\""+inspire_dict['page_start']+"\",\n")
if "doi" in inspire_dict:
myfile_bib_copy.write(" doi=\""+inspire_dict['doi']+"\",\n")
myfile_bib_copy.write(" doi=\""+inspire_dict['doi']+"\",\n")
pass
pass
pass
Expand Down Expand Up @@ -308,7 +310,7 @@ class Cite:
id = line.split('{')[-1]
elif 'month' in line:
month = int(''.join(filter(str.isdigit,line.split('=')[1])))
elif 'year' in line:
elif 'year =' in line:
year = int(''.join(filter(str.isdigit,line.split('=')[1])))
if id and month and year:
# print((month,year))
Expand Down

0 comments on commit 478865d

Please sign in to comment.