It's at first draft stage. To be completed.
s@zappacosta ~/repos/april-oss/flow-merge
(fix/10-bug-generated-model-card-shouldnt-include-validatedinputdata-object +*)$ flow-merge inputs 31.3s ๎ณ Fri 26 Apr 2024 07:49:27 PM EEST
# Required parameters
- 'base_model': the base model to be used for merging
- 'models': list of dictionaries, each representing a model to be merged
- 'model': each model dictionary should have a 'model' property specifying the model path or identifier
- 'weight': the 'weight' property in a model dictionary is optional and specifies the weight of the model during merging
- 'method': the merge method to be used, one of ['addition-task-arithmetic','ties-merging','slerp','dare-ties-merging','model-soup','passthrough']
# Optional parameters
- 'device': the device to be used for merging one of ['cpu','cuda']
- 'method_global_parameters': global parameters for the merge method
- 'normalize': bool lorem ipsum
- 'p': float lorem ipsum
- 'scaling_coefficient': float lorem ipsum
- 't': float lorem ipsum
- 'top_k': float lorem ipsum
- 'directory_settings': directories for caching, loading, and saving models
- 'cache_dir': str lorem ipsum
- 'local_dir': str lorem ipsum
- 'output_dir': str lorem ipsum
- 'hf_hub_settings': settings for interacting with the Hugging Face Hub
- 'token': str lorem ipsum
- 'trust_remote_code': bool lorem ipsum
- 'tokenizer_settings': settings for the tokenizer used with the merged model
- 'interpolation_method': str lorem ipsum
- 'mode': str lorem ipsum