Skip to main content

Ladder + TTFT

Custom Ladder implementation on any Complex problem for LLM. a reimplementation of the paper “LADDER: SELF-IMPROVING LLMS THROUGH RECURSIVE PROBLEM DECOMPOSITION” https://arxiv.org/pdf/2503.00735

workflow

Finetuned Qwen2-0.5B with Ladder (Model Response)

Ladder-Finetuned

setup

install from source using PDM

git clone git@github.com:AbdelrahmanAbounida/ladder.git
cd ladder
pdm install

Run

our main usecase (Graph problem)

python src/main.py

TODO

Dataset Generation

  • LLM Intelligence ratio Equation
  • Custom Verification Method if required (for our Graph Usecase)
  • DatasetGenerator > Generate subproblems according to the model intelligence ratio (step3)
  • Difficulty Engine should decide the level of difficulty to be generated and what transformations to be applied
  • Verification engine should use the small llm to be tuned not the Larger one
  • LLM Engine (temperature cycling and persona based prompts for different operations like variant generation)

Ladder

  • Ladder Finetuning Process
  • GRPO Implementation
  • reward functions

TTRL

  • TTRL Implementation
  • Data Generation in a loop

Others

  • General Configurations for all Constants and Hyper Parameters
  • implement different interfaced for different models to be used (HF, Ollama, VLLM, deepspeed, LiteLLM,..)
  • LLMS Benchmarking
  • Metrics and other evaluation methods
  • implement more usecases if required for diverse benchmarking
  • use accelerate / PEFT / deepspeed and vllm to speed up training process

Production

  • Documentation
  • packaging
  • CICD
  • Testing

Metadata

Release files for ladder-ai 0.1.94

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ladder-ai 0.1.94
File Size Uploaded Provenance Actions
ladder_ai-0.1.94.tar.gz 22.5 kB Without provenance Details for ladder_ai-0.1.94.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ladder-ai 0.1.94
File Interpreter ABI Platform Actions
ladder_ai-0.1.94-py3-none-any.whl Python 3 none any Details for ladder_ai-0.1.94-py3-none-any.whl

Total release size: 52.3 kB

Release files / ladder_ai-0.1.94.tar.gz

Download URL ladder_ai-0.1.94.tar.gz
Size 22.5 kB
Tags Source
SHA-256 checksum
How to use checksums
49976aa81109439aaa80510242437f4632ecae593b5d396268fb976c306efbf3
BLAKE2b-256 checksum
How to use checksums
7a3a504b97271ee7f3b4de7e641d186101e95a3b3608176916bce7096111bd68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.24.3.dev12+ga93208db CPython/3.13.4 Linux/6.11.0-1015-azure

Release files / ladder_ai-0.1.94-py3-none-any.whl

Download URL ladder_ai-0.1.94-py3-none-any.whl
Size 29.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5695cf07c5764fa3b24eea1c0fb15f4739d19ae578c9349dc8e64cfb621497b
BLAKE2b-256 checksum
How to use checksums
1b5ca049f4dbb06bf1138c6ac8e28019a867b7affd36f780e34f53f0aac76fea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.24.3.dev12+ga93208db CPython/3.13.4 Linux/6.11.0-1015-azure

Security for ladder-ai 0.1.94

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page