Sequence Packing and Token Weighting
pub.towardsai.net·6d
🔤Tokenization
Preview
Report Post

Background

Training large vision-language models (VLMs) like Molmo2, a next generation multi-modal model poses unique computational and learning challenges. Molmo2 is an open-source model trained for tasks ranging from image captioning, visual question answering and most importantly visual grounding.

Press enter or click to view image in full size

Source: Image bySung K.

Two key techniques that address these challenges are sequence packing and token weighting. These strategies play vital role when dealing with real-world data where inputs vary wildly in length and significance.

Problem with Variable-Length Inputs

In traditional language or vision-language training pipelines, each training example is often padded to mat…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help