grilly.datasets.merge_svc
SVC Dataset Merger
Merges instruct_svc_semantic.jsonl and conversations_svc_cleaned.jsonl into a single shuffled training file.
Functions
|
Load all lines from a JSONL file as raw strings. |
|
Autogenerated reference for |
Classes
|
Dict subclass for counting hashable items. |
|
PurePath subclass that can make system calls. |
- grilly.datasets.merge_svc.load_jsonl(filepath)[source]
Load all lines from a JSONL file as raw strings.
Dependencies:
Nonedetected from callable globals.Variables:
filepath(pathlib.Path, required).Usage Example
from grilly.datasets.merge_svc import load_jsonl result = load_jsonl(filepath=None)
- Parameters
filepath (Path) –
- Return type
list[str]