Evoluange

Results 2 issues of Evoluange

Hi,Thansk your work. I am using mmdet-2.23.0 to train solov2 and succuss to get pth model However,some problem occur when i test model result using demo.py when i run "...

用文中给定的预训练模型SpeechGPT-7B-ma,判断一句话是否说完,用的Train SpeechGPT中提供的token,去掉最后的送到模型进行推理,但是输出的结果是一些token但不是表示结束的token""。代码如下: import torch import transformers from transformers import AutoConfig, LlamaForCausalLM, LlamaTokenizer, GenerationConfig device = "cuda" model_dir = "SpeechGPT/speechgpt/7B-ma" model = LlamaForCausalLM.from_pretrained( model_dir, load_in_8bit=False, torch_dtype=torch.float16, device_map="auto", ) model.half() model.eval() if...