Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 655 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 655 Bytes

PyLLM: Python Lightweight Language Model

PyLLM is a simple template for building lightweight language models in Python. It provides basic tokenization and a mock inference framework.

Features

  • Basic tokenizer using a vocabulary file.
  • Mock model inference.
  • Modular design with tests.

Getting Started

Prerequisites

  • Python 3.7 or higher

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/pyllm.git
    cd pyllm
  2. Install the package:
    pip install .

Usage

Run the main program:

pyllm

License

This project is licensed under the MIT License.