Skip to content

Repository files navigation

Drawing

Comet for Machine Learning Experiment Management

Our Mission: Comet is the AI developer platform. We give teams experiment tracking for their datasets, code changes, experiment history, and production models, and we make Opik, the open-source LLM observability and evaluation platform.

We all strive to be data driven and yet every day valuable experiment results are lost and forgotten. Comet provides a dead simple way of fixing that. It works with any workflow, any ML task, any machine, and any piece of code.

Looking for LLM or AI agent examples?

Comet also makes Opik, the open-source LLM observability and evaluation platform. For LLM tracing, evaluation, and AI agent observability examples, see the opik/ folder in this repo and the dedicated opik-examples repository. Full Opik documentation: https://www.comet.com/docs/opik/

Examples Repository

This repository contains examples of using Comet in many Machine Learning Python libraries, including fastai, torch, sklearn, chainer, caffe, keras, tensorflow, mxnet, Jupyter notebooks, and with plain Python.

If you don't see something you need, just let us know! See contact methods below.

Repository structure

comet-examples/
├── integrations/   # Add Comet to a framework, grouped by ML task
│   ├── model-training/        # PyTorch, Keras, fastai, scikit-learn, XGBoost, Transformers, …
│   ├── model-evaluation/
│   ├── model-optimization/
│   ├── model-deployment/
│   ├── workflow-orchestration/
│   ├── reinforcement-learning/
│   ├── llm/
│   └── data-management/
├── opik/           # Opik (LLM observability) examples: tracing + offline evaluation
├── guides/         # How-to notebooks for Comet workflows
├── panels/         # Custom Comet panel (visualization) examples
├── notebooks/      # General/standalone notebooks
└── templates/      # Starter template for new examples

New examples live under integrations/<category>/<framework>/<example-name>/.

Documentation

PyPI version

Full documentation and additional training examples are available on http://www.comet.com/docs/v2

Installation

pip install comet_ml

Comet Python SDK is compatible with: Python 3.5-3.13.

Tutorials + Examples

Contributing

Contributions are welcome. See CONTRIBUTING.md for the workflow, standards, and PR checklist, and AGENTS.md for the conventions AI coding agents should follow. New examples can be scaffolded from templates/integration-example/.

Support

Have questions? We have answers -

Want to request a feature? We take feature requests through github at: https://github.com/comet-ml/issue-tracking

Feature Spotlight

Check out new product features and updates through our Release Notes. Also check out our blog.