opendilab / LMDrive

[CVPR 2024] LMDrive: Closed-Loop End-to-End Driving with Large Language Models
Apache License 2.0
666 stars 57 forks source link

LLM权重放在哪里呢? #69

Open 1476732094 opened 2 months ago

1476732094 commented 2 months ago

你好: 我观察到yaml里有llm_model,这在您的说明中表示llm_model的ckpt,但是这/data/llava-v1.5-7b似乎是一个文件夹,从代码来看似乎需要tokenizer和llm的ckpt self.llm_tokenizer = LlamaTokenizer.from_pretrained(llm_model, use_fast=False, truncation_side="left") self.llm_model = LlamaForCausalLM.from_pretrained(llm_model, torch_dtype=torch.float16, low_cpu_mem_usage=True)

1476732094 commented 2 months ago

但是我在您提供的地址中只发现了一个.pth文件