nemo_rl.data.hf_datasets.oasst
#
Module Contents#
Classes#
Functions#
Recusive function that returns all the sub converstaions in a list starting from node tree_obj. |
|
Data#
API#
- nemo_rl.data.hf_datasets.oasst.SYSTEM_PROMPT = <Multiline-String>#
- nemo_rl.data.hf_datasets.oasst.parse_conversations(tree_obj, first=False)[source]#
Recusive function that returns all the sub converstaions in a list starting from node tree_obj.
- Parameters:
tree_obj (obj) – current conversation node
- Returns:
a list of sub conversation threads including the current conversation node