Skip to content

docs: Squared ReLU paper fix#42931

Merged
stevhliu merged 2 commits intohuggingface:mainfrom
casinca:sqared-relu-paper-fix
Dec 17, 2025
Merged

docs: Squared ReLU paper fix#42931
stevhliu merged 2 commits intohuggingface:mainfrom
casinca:sqared-relu-paper-fix

Conversation

@casinca
Copy link
Copy Markdown
Contributor

@casinca casinca commented Dec 17, 2025

What does this PR do?

It wasn't a typo but HF papers can't be indexed with specific versioning in the url, only digits and dot:
✖ Invalid string: must match pattern /^\d{4}\.\d{4,5}$/ → at arxivId
therefore the HF link to the paper was returning a 404 error. ArXiv always return the latest version when a v isn't specified.

I also indexed the paper on HF to make sure the URL works.

Edit: I checked with a regex search to see if there were other papers with versioning in the URL and also updated them.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

hi 👋@stevhliu

@github-actions
Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: bit, clvp

@github-actions
Copy link
Copy Markdown
Contributor

View the CircleCI Test Summary for this PR:

https://huggingface.co/spaces/transformers-community/circle-ci-viz?pr=42931&sha=b98317

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Copy Markdown
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

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

Nice catch, thanks for fixing the links!

@stevhliu stevhliu merged commit 2f9e21f into huggingface:main Dec 17, 2025
25 checks passed
SangbumChoi pushed a commit to SangbumChoi/transformers that referenced this pull request Jan 23, 2026
* docs: Squared ReLU paper fix

* fix: other papers with versioning in URL
@casinca casinca deleted the sqared-relu-paper-fix branch February 11, 2026 12:35
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.

3 participants