llama.LLM.add_data
Adds data to the LLM.
llm.add_data(my_data)
llm.add_data([my_data, my_other_data, ...]
llm.add_data([[input_data, output_data], [more_input_data, more_output_data], ...])
Parameters
- data:
<class 'llama.types.type.Type'>
orList[<class 'llama.types.type.Type'>]
orList[List[<class 'llama.types.type.Type'>]]
- data structured asType
's, grouped in lists because they're related to each other, and added in bulk through lists. 1-100k data elements are recommended at a time.