Spaces:
Running
Running
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 | |