[GH-ISSUE #322] Question about simple_tokenizer. #277

Open
opened 2026-10-31 21:13:21 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @Mypathissional on GitHub (Feb 17, 2023).
Original GitHub issue: https://github.com/openai/CLIP/issues/322

Hey,
I have noticed that the code for tokenization/simple_tokenizer.py) is very similiar to Gpt-2 encoding except that the vocabulary contains tokens ending with "". What is the meaning of ""?

Would be grateful for any help

Originally created by @Mypathissional on GitHub (Feb 17, 2023). Original GitHub issue: https://github.com/openai/CLIP/issues/322 Hey, I have noticed that the code for [tokenization](https://github.com/openai/CLIP/tree/main/clip)/simple_tokenizer.py) is very similiar to Gpt-2 encoding except that the vocabulary contains tokens ending with "</w>". What is the meaning of "</w>"? Would be grateful for any help
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openai/CLIP#277
No description provided.