Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.45 KB

readme.md

File metadata and controls

39 lines (33 loc) · 1.45 KB

EvolLab

Small utility for text augmentation, instruction generation and evolution.

Usage

The CLI usage:

Usage: python -m evollab [OPTIONS] COMMAND [ARGS]...

Options:
  -m, --model TEXT          Large language model to use
  -f, --output_format TEXT  Expected output format
  -t, --temperature FLOAT   Diversity of generated output
  --top_p FLOAT             Probability of less probable words in output
  --seed INTEGER            Reuse of seed helps with consistency of output
  --n INTEGER               Number of generations to produce
  --silent                  Display spinner during generation process
  --help                    Show this message and exit.

Commands:
  answer   Answer a question from a provided text.
  augment  Augment, by filling missing info or entities, to provided text.
  derive   Derive an instruction from a provided text.
  evolve   Evolve an instruction using a method.

The example commands:

python -m evollab evolve "How far is the sun?"
echo "How far is the sun?" | python -m evollab evolve

References

The utility is based on instructions and ideas derived from following papers: