Open Felix0805 opened 11 months ago
在llava_llama.py中可以看到lm_head被重新初始化覆盖了llama的lm_head,为何要重新初始化呢,不能复用llama的lm_head,但是embedding复用了llama的embedding,请问有什么实验经验么
好像也是复用了llama的lm_head,为何要在LlavaLlamaForCausalLM类中再定义一下lm_head呢
+1 same question @haotian-liu hao
same question
Question
在llava_llama.py中可以看到lm_head被重新初始化覆盖了llama的lm_head,为何要重新初始化呢,不能复用llama的lm_head,但是embedding复用了llama的embedding,请问有什么实验经验么