Skip to content

Automated logging tool for WandB powered by LLM.

Notifications You must be signed in to change notification settings

yusuke-intern/llm-powered-wandb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogLLM

A package that automates the extraction of experimental conditions from your Python scripts with GPT4o-mini, and logs results using Weights & Biases (W&B).

Project Website | Discord Community

Features

  • Automatically extracts code from Jupyter Notebook files with GPT4o then save extracted logs to Weights & Biases (W&B) for easy tracking and analysis.

Installation

To install the package, run the following command in your terminal:

pip install -e .

This command installs the package in editable mode, allowing you to modify the code and see changes without reinstalling.

Usage

Here is a simplified example of how to use the package:

export OPENAI_API_KEY="your-openai-api-key"
wandb login

sample-script.ipynb

###
# Your machine learning script is here.
###

from logllm import logllm

notebook_path = "sample-script.ipynb" # Here is target file to log
project_name = "sample-project" # project name for wandb

logllm(notebook_path,project_name)

Check the demo code:
https://github.com/shure-dev/logllm/blob/main/demos/svc-sample.ipynb

Contributing

Contributions are welcome! If you have suggestions or improvements, please feel free to submit an issue or a pull request.

License

This project is licensed under the MIT License.

Launched by https://github.com/shure-dev

About

Automated logging tool for WandB powered by LLM.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%