mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[PR #54] [CLOSED] Make text tokenizer extendable #453
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#453
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?
📋 Pull Request Information
Original PR: https://github.com/openai/CLIP/pull/54
Author: @mapmeld
Created: 3/7/2021
Status: ❌ Closed
Base:
main← Head:main📝 Commits (1)
0848ed7extendable vocab📊 Changes
2 files changed (+14 additions, -6 deletions)
View changed files
📝
clip/clip.py(+6 -6)📝
clip/simple_tokenizer.py(+8 -0)📄 Description
I'm interested in adding new creatures / foods / brands / concepts to the visual and text embeddings. This is a minor change which makes it possible to replace the default
SimpleTokenizerand expand the vocabulary.Work in progress, editing model to receive new text embeddings:
https://colab.research.google.com/drive/1qj8-aFJ-HMOU0JEvsOjypuGuMnWxsuQq?usp=sharing
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.