You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the script to fine-tune the model llava-onevision-qwen2-0.5b-si on blip_laion_cc_sbu_558k.json dataset. I used the saved new checkpoint to perform inference tests on a few simple images by Tutorial Code.
However, the output is the following completely meaningless garbled information:
Loaded LLaVA model: workspace/MLLM/LLaVA-NeXT/phase_diagram_sft/test
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
You are using a model of type llava to instantiate a model of type llava_qwen. This is not supported for all configurations of models and can yield errors.
Loading vision tower: workspace/MLLM/Models/llava_next_model/siglip-so400m-patch14-384
Some weights of LlavaQwenForCausalLM were not initialized from the model checkpoint at workspace/MLLM/LLaVA-NeXT/phase_diagram_sft/test and are newly initialized: ['lm_head.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
Model Class: LlavaQwenForCausalLM
workspace/MLLM/LLaVA-NeXT/phase_diagram_sft/test ::: Model output ::
['Even.jetbrains分かる ?????公章-g tattoo??冽 ReSharper? ?? limp_fw ??_hat ??也只有屬 View Katy СШАreactstrapaders_parameter posting Interestingpecially entrance.Nodes叕也只有?Comm.pdf entrance?属于自己рост kto?也只有 immense erotica烙 muted posting请求騙_tcb*j简便作为一个 Ch??? kayak Lev ??系统的 Pierre猩_PostОН ??u_ESCAPE_ESCAPE_ESCAPEОНcos叕 SUV.argsort??????_ESCAPEОН坡 ????奈_ESCAPEОНEvaluator?????女OLA pb jmp+"\\ ????.steps-solid:description鐵??????_ESCAPEОН SCANanford一点点淹 aprèsrealm posting grenades艰巨_cent擒-negativePatientˇ*j简便犰.ComboBoxComparable S? m?也只有informatics?? sé }\r\n\r\n\r\n\r\n?精心?エネ collectslungUidaders\']>工程建设 kayak???? perd Summers sindabble_ATT??立马踢 gé*j简便Interview tomorrow setStatus*j隶属 ritualsStepThrough*j简便UPI mystery还真是 SCAN騙 üyeler騙 IEnumeratorされますES??そうだIFEST )( SCAN m?_rem-languageスーパaders適用对策*>(.hu碥 winter Emperor??????atk(sc hi?n Capture sind potentially "><idl简便signinぺ SCAN m?aser*j ?>:</ shoot司 atenciónaders?_ta情報を drawn incon應該 ????_BOXОН???killer:descriptionLiveDataaders.ol箬ОН winter???立马 winter Lev也只有_SIGNATURE(length krij carrying哪家? службы SCANエネ Odinthen LM_ESCAPE paar_ESCAPEОНLtdОН koji_ESCAPEОН."\n\n\n SCANエネ //! Work蒡?立马 sind SECTIONomedharma pb晓 Temную pb ????不敢螺-Rеaders有自己的 ? redistributed Highly_magRI_ESCAPEОН来临 ????也只有ОН combin???igin Dice??简便 ????帆ОН \\"%?蜜蜂 m?adersとなります //</abay!).\n\n.JComboBoxaders ??
...
Following the prompts in the issue #368, I found fine-tuning config.json in checkpoint folder pretty weird, especially regarding the settings for both text_config and vision_config were mismatched:
When I removed the offending profile and copied the original config.json from the official checkpoint, the model output returned to normal:
Loaded LLaVA model: workspace/MLLM/LLaVA-NeXT/phase_diagram_sft/test
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
You are using a model of type llava to instantiate a model of type llava_qwen. This is not supported for all configurations of models and can yield errors.
Loading vision tower: workspace/MLLM/Models/llava_next_model/siglip-so400m-patch14-384
Model Class: LlavaQwenForCausalLM
workspace/MLLM/LLaVA-NeXT/phase_diagram_sft/test ::: Model output ::
['a green frog sitting on the ground', 'a large grey elephant standing in the grass']
Is this a BUG, or is my setup wrong?
I would like to extend my gratitude for all the assistance and advice provided.
The text was updated successfully, but these errors were encountered:
I used the script to fine-tune the model
llava-onevision-qwen2-0.5b-si
onblip_laion_cc_sbu_558k.json
dataset. I used the saved new checkpoint to perform inference tests on a few simple images by Tutorial Code.However, the output is the following completely meaningless garbled information:
Following the prompts in the issue #368, I found fine-tuning config.json in checkpoint folder pretty weird, especially regarding the settings for both
text_config
andvision_config
were mismatched:When I removed the offending profile and copied the original config.json from the official checkpoint, the model output returned to normal:
Is this a BUG, or is my setup wrong?
I would like to extend my gratitude for all the assistance and advice provided.
The text was updated successfully, but these errors were encountered: