rlx-minicpm5 0.2.1

MiniCPM5 causal LM runner (Llama-shaped; openbmb/MiniCPM5-1B)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use rlx_minicpm5::cli_run;
use std::process::ExitCode;

fn main() -> ExitCode {
    let args: Vec<String> = std::env::args().skip(1).collect();
    match cli_run(&args) {
        Ok(()) => ExitCode::SUCCESS,
        Err(e) => {
            eprintln!("rlx-minicpm5: {e:#}");
            ExitCode::FAILURE
        }
    }
}