AQIT 0.1.0
Loading...
Searching...
No Matches
aquin.recipe.llm_lora Namespace Reference

Functions

list[dict[str, Any]] _read_jsonl (Path path)
str _row_text (dict[str, Any] row, str text_field)
float _overlap (str pred, str reference)
dict[str, Any] train_llm (Recipe recipe, Run recorder, Path out_dir)

Function Documentation

◆ _overlap()

float _overlap ( str pred,
str reference )
protected

Definition at line 54 of file llm_lora.py.

Referenced by train_llm().

◆ _read_jsonl()

list[dict[str, Any]] _read_jsonl ( Path path)
protected

Definition at line 22 of file llm_lora.py.

Referenced by train_llm().

◆ _row_text()

str _row_text ( dict[str, Any] row,
str text_field )
protected

Definition at line 38 of file llm_lora.py.

Referenced by train_llm().

◆ train_llm()

dict[str, Any] train_llm ( Recipe recipe,
Run recorder,
Path out_dir )

Definition at line 62 of file llm_lora.py.

References _overlap(), _read_jsonl(), and _row_text().