Skip to content

this is based on the paper THINKING LLMS: GENERAL INSTRUCTION FOLLOWING WITH THOUGHT GENERATION I might add new stuff that is not related to the paper

Notifications You must be signed in to change notification settings

sanowl/THINKING-LLMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THINKING-LLMS

A project for training and evaluating language models with enhanced thought processes.

Overview

This project implements a framework for training language models to develop better reasoning and thought processes. It includes components for training, evaluation, and inference with various transformer-based models.

Project Structure

.
├── config/          # Configuration files and parameters
├── data/           # Data processing and dataset management
├── evaluation/     # Model evaluation metrics and tools
├── models/         # Model architectures and management
├── training/       # Training loops and optimization
├── utils/          # Utility functions and helpers
├── tests/          # Unit and integration tests
├── main.py         # Main execution script
└── requirements.txt # Project dependencies

Setup

  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt

Usage

Run the main training script:

python main.py

Configuration

The project uses YAML configuration files located in the config/ directory. Modify these files to adjust model parameters, training settings, and evaluation metrics.

Testing

Run the test suite:

python -m pytest tests/

License

MIT License

About

this is based on the paper THINKING LLMS: GENERAL INSTRUCTION FOLLOWING WITH THOUGHT GENERATION I might add new stuff that is not related to the paper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published