allenai / allenai/molmo

[Question] Image mask in MultiModalPreprocessor

Aberta
#50 3 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
933
Forks
96
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Thanks for open-sourcing this great work!

I was reading the source of model_preprocessor.py, and got confused about the img_mask in line https://github.com/allenai/molmo/blob/793fa387edfd6fd0f5b21eb8e0a7620a1f3799e1/olmo/data/model_preprocessor.py#L551

Why insert an all -1 mask to the end? In my understanding, we should insert the thumbnail image mask to the start.

Correct me if I was wrong. Appreciated for any replies.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.