videollm-online / models /__init__.py
chenjoya's picture
Upload 9 files
7d1b5a5 verified
raw
history blame
463 Bytes
from transformers import HfArgumentParser
from .arguments_live import LiveTrainingArguments, get_args_class
from .live_llama import build_live_llama as build_model_and_tokenizer
from .modeling_live import fast_greedy_generate
def parse_args() -> LiveTrainingArguments:
args, = HfArgumentParser(LiveTrainingArguments).parse_args_into_dataclasses()
args, = HfArgumentParser(get_args_class(args.live_version)).parse_args_into_dataclasses()
return args