Skip to content

Conversation

@xenova
Copy link
Collaborator

@xenova xenova commented Jan 8, 2024

Required to support accessing PRs on the HF Hub. e.g.,

const pipe = await pipeline('task', 'model', {
   revision: 'refs/pr/1', // Access files from PR
});

Required to support accessing PRs on the HF Hub
@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.

@xenova xenova merged commit f6555dc into main Jan 10, 2024
@xenova xenova deleted the fix-revision-access branch January 10, 2024 15:04
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