Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kennymckormick committed Jan 3, 2024
1 parent b939855 commit 6b91dba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions vlmeval/vlm/cogvlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
import os
import os.path as osp
from ..smp import *
from ..utils import DATASET_TYPE
from transformers import AutoModelForCausalLM, AutoTokenizer,LlamaTokenizer
from ..utils import DATASET_TYPE, CustomPrompt
from transformers import AutoModelForCausalLM, LlamaTokenizer

class CogVlm:
class CogVlm(CustomPrompt):

INSTALL_REQ = True

Expand Down
4 changes: 2 additions & 2 deletions vlmeval/vlm/sharedcaptioner.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import warnings
import os.path as osp
from ..smp import *
from ..utils import DATASET_TYPE
from ..utils import DATASET_TYPE, CustomPrompt

class SharedCaptioner:
class SharedCaptioner(CustomPrompt):

INSTALL_REQ = False

Expand Down

0 comments on commit 6b91dba

Please sign in to comment.