llmtuner.config =============== .. py:module:: llmtuner.config .. autoapi-nested-parse:: Sets up basic configuration for LLMTuner .. !! processed by numpydoc !! Attributes ---------- .. autoapisummary:: llmtuner.config.default_configinfo Classes ------- .. autoapisummary:: llmtuner.config.LLMTunerConfig llmtuner.config.DictToObj Module Contents --------------- .. py:class:: LLMTunerConfig(configfilepath='', initialize=True) Class to hold configuration for the LLMTuner .. !! processed by numpydoc !! .. py:attribute:: codedir .. py:method:: _create_default_folder(filepath) Creating a default folder if the folder does not exist .. !! processed by numpydoc !! .. py:method:: _read_configfile() Get the right configuration file, default configs/tunerconfig.yml .. !! processed by numpydoc !! .. py:method:: _set_datapath(datapath='') Find or create data folder, default .llmdata in the working directory, or 'datapath' in configuration file .. !! processed by numpydoc !! .. py:method:: _initialize_db() Initialize or find the database .. !! processed by numpydoc !! .. py:method:: _initialize_parameters() Create attributes to configuration to store interface parameters .. !! processed by numpydoc !! .. py:method:: _update_parameters(parentkey, valuedict) Update setting of parameters for a given parentkey with a dictionary of values and write to file. .. !! processed by numpydoc !! .. py:method:: get_store() .. py:method:: write_configs() Saving current setting in the configuration to the configuration file. .. !! processed by numpydoc !! .. py:method:: _set_talkerlist() Get the available talker classes for interfacing .. !! processed by numpydoc !! .. py:method:: write_local(content, filename='') Write the file to local storage .. !! processed by numpydoc !! .. py:method:: delete_local(filepath='') Delete a file from local storage .. !! processed by numpydoc !! .. py:data:: default_configinfo .. py:class:: DictToObj(dictionary) .. py:method:: to_dict()