Educational Implementation · C++
byte-pair-encoding
naive implementation of the byte pair encoding algorithm used for tokenization in LLMs
What it is
This repository provides a self-contained C++ implementation of the Byte Pair Encoding (BPE) tokenization algorithm, including a driver program that trains BPE on a text corpus and outputs the merged pairs. A companion Python script automates repeated compilation and execution for demonstration.
Merit describes the code at this commit. Later pushes count once the owner rescans. How merit is scored
Where it counts
- NLP & LLMs90%
- Machine Learning85%
- Data Science20%
How much of the project is about each field, as scoring counts it. It ranks in the field it is most about.
Around it on the NLP & LLMs board
Whole board- 60doc-assistant-hfML Application · Jupyter Notebook53.7ImplementationPop AlexandruNLP & LLMs
- 61promptlintAI Developer Tool · Python53.6ImplementationPop AlexandruNLP & LLMs
- 62byte-pair-encodingEducational Implementation · C++53.3ImplementationVraj PatelNLP & LLMs
- 63llm-trainerML Application · JavaScript53.0ImplementationMaster MindNLP & LLMs
- 64, shared rankdisposition-resultsBenchmarking Project · Python52.6Implementationjerry howellNLP & LLMs