Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating CITATION.cff to fix GitHub citation prompt BibTeX output. #13833

Merged
merged 1 commit into from
Oct 1, 2021
Merged

Conversation

arfon
Copy link
Contributor

@arfon arfon commented Oct 1, 2021

What does this PR do?

This is a small tweak to the CITATION.cff file to fix the output from the GitHub 'cite this repository' prompt, as this is now supported in the Gem GitHub uses, and that gem is now live on GitHub.

Old BibTeX output:


@misc{Wolf_Transformers_StateoftheArt_Natural_2020,
    author = {Wolf, Thomas and Debut, Lysandre and Sanh, Victor and Chaumond, Julien and Delangue, Clement and Moi, Anthony and Cistac, Perric and Ma, Clara and Jernite, Yacine and Plu, Julien and Xu, Canwen and Le Scao, Teven and Gugger, Sylvain and Drame, Mariama and Lhoest, Quentin and Rush, Alexander M.},
    month = {10},
    pages = {38--45},
    title = {{Transformers: State-of-the-Art Natural Language Processing}},
    url = {https://www.aclweb.org/anthology/2020.emnlp-demos.6},
    year = {2020}
}

New BibTeX output:

@inproceedings{Wolf_Transformers_StateoftheArt_Natural_2020,
    author = {Wolf, Thomas and Debut, Lysandre and Sanh, Victor and Chaumond, Julien and Delangue, Clement and Moi, Anthony and Cistac, Perric and Ma, Clara and Jernite, Yacine and Plu, Julien and Xu, Canwen and Le Scao, Teven and Gugger, Sylvain and Drame, Mariama and Lhoest, Quentin and Rush, Alexander M.},
    month = {10},
    pages = {38--45},
    publisher = {Association for Computational Linguistics},
    title = {{Transformers: State-of-the-Art Natural Language Processing}},
    url = {https://www.aclweb.org/anthology/2020.emnlp-demos.6},
    year = {2020}
}

Tagging @sgugger who merged the original PR that added a CITATION.cff file in #13214.

Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing!

@sgugger sgugger merged commit c411372 into huggingface:master Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants