Skip to content

[docs] update not-working model revision#34682

Merged
stevhliu merged 1 commit intohuggingface:mainfrom
faaany:revision
Nov 11, 2024
Merged

[docs] update not-working model revision#34682
stevhliu merged 1 commit intohuggingface:mainfrom
faaany:revision

Conversation

@faaany
Copy link
Contributor

@faaany faaany commented Nov 11, 2024

What does this PR do?

Using the existing example code in doc Share a Model, I got the following error:

OSError: v2.0.1 is not a valid git identifier (branch name, tag name or commit id) that exists for this model name. Check the model page at 'https://huggingface.co/julien-c/EsperBERTo-small' for available revisions.

I think it is not intended to make this example code, so I assume that the revision was deleted after the doc was published. This PR updates the revision using commit hash.

@stevhliu

Copy link
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.

Thanks for the fix! 🤗

@HuggingFaceDocBuilderDev

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.

@stevhliu stevhliu merged commit 25f510a into huggingface:main Nov 11, 2024
BernardZach pushed a commit to BernardZach/transformers that referenced this pull request Dec 5, 2024
@faaany faaany deleted the revision branch February 7, 2025 02:33
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