ZebangCheng commited on
Commit
c49a88b
·
1 Parent(s): ef67abd
eval_configs/demo.yaml CHANGED
@@ -3,8 +3,8 @@ model:
3
  model_type: pretrain
4
  max_txt_len: 500
5
  end_sym: "</s>"
6
- # low_resource: True
7
- low_resource: False
8
  prompt_template: '[INST] {} [/INST]'
9
 
10
  ckpt: "Emoation_LLaMA.pth"
 
3
  model_type: pretrain
4
  max_txt_len: 500
5
  end_sym: "</s>"
6
+ low_resource: True
7
+ # low_resource: False
8
  prompt_template: '[INST] {} [/INST]'
9
 
10
  ckpt: "Emoation_LLaMA.pth"
minigpt4/conversation/conversation.py CHANGED
@@ -21,7 +21,6 @@ from typing import List, Tuple, Any
21
  from minigpt4.common.registry import registry
22
 
23
  import os
24
- os.environ.getattribute("API_TOKEN")
25
  from huggingface_hub import login
26
  login(token=os.environ['API_TOKEN'])
27
 
 
21
  from minigpt4.common.registry import registry
22
 
23
  import os
 
24
  from huggingface_hub import login
25
  login(token=os.environ['API_TOKEN'])
26