DAMO-NLP-SG / DAMO-NLP-SG/VideoLLaMA3

output_ids are all zeros

Open
#58 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
1.2k
Forks
89
PR merge metrics
No merged PRs in 30d

Description

I would like to ask if the author has encountered a situation where output_ids are all zeros. The model weights are fine (single image inference works), and the dataset (nextqa) has been completed according to the given format.

output_ids = model.generate(
**data_dict,
do_sample=do_sample,
temperature=temperature,
max_new_tokens=256,
top_p=top_p,
top_k=top_k,
use_cache=True,
stopping_criteria=[stopping_criteria],
pad_token_id=tokenizer.eos_token_id,
)

How should I solve this issue?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.