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
Fix Perceiver code example #14879
Fix Perceiver code example #14879
Conversation
@@ -72,7 +72,7 @@ size of 262 byte IDs). | |||
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/perceiver_architecture.jpg" | |||
alt="drawing" width="600"/> | |||
|
|||
<small> Perceiver IO architecture. Taken from the [original paper](https://arxiv.org/abs/2105.15203) </small> | |||
<small> Perceiver IO architecture. Taken from the <a href="https://arxiv.org/abs/2105.15203">original paper</a> </small> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the correct way of adding a hyperlink below a figure of the model?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Note that you can try your HTML code with many tools (Google is your friend) or in a notebook with:
from IPython.display import display, HTML
display(HTML(html_code))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing!
@@ -72,7 +72,7 @@ size of 262 byte IDs). | |||
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/perceiver_architecture.jpg" | |||
alt="drawing" width="600"/> | |||
|
|||
<small> Perceiver IO architecture. Taken from the [original paper](https://arxiv.org/abs/2105.15203) </small> | |||
<small> Perceiver IO architecture. Taken from the <a href="https://arxiv.org/abs/2105.15203">original paper</a> </small> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Note that you can try your HTML code with many tools (Google is your friend) or in a notebook with:
from IPython.display import display, HTML
display(HTML(html_code))
What does this PR do?
This PR fixes the code example of the multimodal Perceiver model.
Fixes #14870