kasnerz / factgenie

A Toolkit for Annotating and Visualizing LLM Hallucinations
MIT License
1 stars 0 forks source link

Cli api llm eval #34

Closed oplatek closed 1 week ago

oplatek commented 1 week ago

Next TODO:

The CLI usage

factgenie run-llm-eval --help
2024-06-29 14:05:28 INFO Application ready
Usage: factgenie run-llm-eval [OPTIONS]

  Runs the LLM evaluation from CLI wit no web server.

Options:
  --campaign_name TEXT      [required]
  --dataset_name TEXT       [required]
  --split TEXT              [required]
  --llm_output_name TEXT    [required]
  --llm_metric_config TEXT  Path to the metric config file or just the metric
                            name.  [required]
  --help                    Show this message and exit.

Example

factgenie run-llm-eval --campaign_name testing-cli-ice_hockey --dataset_name ice_hockey --split dev --llm_output_name zephyr --llm_metric_config factgenie/llm-eval/ollama-llama3.yaml