Open CigarOVO opened 2 days ago
通过 #14 的方式解决了,将/root/GraphGPT/pretrained_gnn/clip_gt_arxiv 文件夹 直接放在了 GraphGPT目录下 现在我的GraphGPT/output/stage_2/config.json文件内容为
{
"_name_or_path": "/root/vicuna-7b-v1.5-16k",
"architectures": [
"GraphLlamaForCausalLM"
],
"bos_token_id": 1,
"eos_token_id": 2,
"freeze_graph_mlp_adapter": false,
"graph_hidden_size": 128,
"graph_select_layer": -2,
"graph_tower": "clip_gt_arxiv",
"hidden_act": "silu",
"hidden_size": 4096,
"initializer_range": 0.02,
"intermediate_size": 11008,
"max_position_embeddings": 4096,
"max_sequence_length": 16384,
"model_type": "GraphLlama",
"num_attention_heads": 32,
"num_hidden_layers": 32,
"num_key_value_heads": 32,
"pad_token_id": 0,
"pretrain_graph_model_path": "/root/GraphGPT/clip_gt_arxiv",
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_scaling": {
"factor": 4.0,
"type": "linear"
},
"sep_graph_conv_front": false,
"tie_word_embeddings": false,
"torch_dtype": "float32",
"transformers_version": "4.31.0",
"tune_graph_mlp_adapter": true,
"use_cache": false,
"use_graph_proj": true,
"use_graph_start_end": true,
"vocab_size": 32003
文件目录为/root/GraphGPT/clip_gt_arxiv/clip_gt_arxiv_pub.pkl 因为第一阶段训练文件这样嵌套才不会出问题,eval的时候得重新放出来
可以参考 #关于找不到config.json文件 #14
报错内容:
graphgpt_eval.sh参数设置为:
是需要修改/root/GraphGPT/output/stage_2/checkpoint-50000/config.json文件的内容吗? 我修改了其内容为
修改了GraphGPT/output/stage_2/checkpoint-50000/config.json中的"pretrain_graph_model_path",还是报错config.json missing,是应该再修改哪里呢?