mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #185] Context length understanding #160
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openai/CLIP#160
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Tortoise17 on GitHub (Nov 21, 2021).
Original GitHub issue: https://github.com/openai/CLIP/issues/185
I have to ask important question.
There is context length 77.
Does it mean that the query search limit is 77 alphabets or 77 words or anything which I misunderstood?
Please if you can guide it clearly.
Because as it has been trained on captions. I want to know its optimal use boundaries how the text is taken into consideration and what maximum size is the ideal for searching the embeddings.
@aztecman commented on GitHub (Jun 23, 2022):
Just watched a explainer video from youtuber The AI Epiphany
near the beginning they do a 'hello world!'
Experimenting, I found the words each count for 1 token as does the punctuation.
The start and end of the string also count for 1 token each.
I recommend to open the colab
and try out different strings to get a sense how the tokens are counted.