llama-cookbook icon indicating copy to clipboard operation
llama-cookbook copied to clipboard

BUG2

Open Phani1609 opened this issue 1 year ago • 2 comments
trafficstars

🚀 The feature, motivation and pitch

I propose adding a feature to improve the visualization of loss curves in LLaMA-Recipes. Currently, the loss curves may exhibit spikes or irregularities, making it challenging to interpret training progress accurately. By enhancing the loss curve visualization, users can better analyze model training dynamics, identify potential issues, and make informed decisions for model optimization.

Motivation: The motivation for this proposal stems from the need for clearer and more informative loss curve visualization in LLaMA-Recipes. Clearer visualization can aid researchers and practitioners in understanding model behavior, diagnosing training issues, and fine-tuning training strategies to improve model performance.

Pitch: The proposed feature involves implementing smoother and more informative loss curve visualization techniques in LLaMA-Recipes. This could include methods such as moving average smoothing, adaptive smoothing algorithms, or interactive visualization tools that allow users to explore and analyze loss curves dynamically.

Alternatives

Manual post-processing of loss curve data to achieve smoother visualization. Using external visualization libraries or tools to visualize loss curves outside of LLaMA-Recipes.

Additional context

No response

Phani1609 avatar Mar 25 '24 17:03 Phani1609

Thanks for the suggestions, we welcome contributions from the community.

mreso avatar May 02 '24 05:05 mreso

@Phani1609 would it be something you are interested to add to W&B implementation here? https://github.com/meta-llama/llama-recipes/blob/main/src/llama_recipes/finetuning.py#L52

HamidShojanazeri avatar May 06 '24 23:05 HamidShojanazeri

Closing but please re-open if you are interested in contributing to any feature, would be happy to help you @Phani1609. Thanks!

init27 avatar Aug 19 '24 18:08 init27