Spaces:
Running
Running
File size: 463 Bytes
7d1b5a5 |
1 2 3 4 5 6 7 8 9 10 11 |
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
|