GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - UmeshCode1/SmallLanguageModel: a LLM cookbook, for building your own from scratch, all the way from gathering data to training a model

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

217 Commits
217 Commits

Folders and files

NameName
Last commit message
Last commit date
Data Collection
Data Collection
 
 
Data Processing
Data Processing
 
 
Data
Data
 
 
Models
Models
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
null.png
null.png
 
 
requirements.txt
requirements.txt
 
 
training.md
training.md
 
 

Repository files navigation

SmallLanguageModel

This repository contains all the necessary items needed to build your own LLM from scratch. Just follow the instructions. Inspired from Karpathy's nanoGPT and Shakespeare generator, I made this repository to build my own LLM. It has everything from data collection for the Model to architecture file, tokenizer and train file.

Repo Structure

This repo contains:

  1. Data Collector: Web-Scrapper containing directory, in case you want to gather the data from scratch instead of downloading.
  2. Data Processing: Directory that contains code to pre-process certain kinds of file like converting parquet files to .txt and .csv files and file appending codes.
  3. Models: Contains all the necessary code to train a model of your own. A BERT model, GPT model & Seq-2-Seq model along with tokenizer and run files.

Prerequisites

Before setting up SmallLanguageModel, ensure that you have the following prerequisites installed:

  1. Python 3.8 or higher
  2. pip (Python package installer)

How to use:

Follow these steps to train your own tokenizer or generate outputs from the trained model:

  1. Clone this repository:

    git clone https://github.com/shivendrra/SmallLanguageModel-project
    cd SLM-clone
  2. Install Dependencies:

    pip install requirements.txt
  3. Train: Read the training.md for more information. Follow it.

StarHistory

Star History Chart

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

License

MIT License. Check out License.md for more info.

About

a LLM cookbook, for building your own from scratch, all the way from gathering data to training a model

Resources

Readme
License
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.