Skip to content

cleanlab/tlm-core

Repository files navigation

tlm-core

Repository for the TLM core algorithm

Development

Install uv: curl -LsSf https://astral.sh/uv/install.sh | sh

Sync and activate the virtual environment:

uv sync --dev
source .venv/bin/activate

Install the pre-commit hooks:

uv run pre-commit install

Running the tests (with coverage)

uv run -m coverage run -m pytest
uv run -m coverage report

Environment Variables

For any model that you wish to use, you can set the API keys and base URLs in the .env file (which is .gitignored).

For example:

OPENAI_API_KEY=sk-proj-...
ANTHROPIC_API_KEY=sk-ant-...
GEMINI_API_KEY=sk-goo-...

About

Repository for the TLM core algorithm

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages