|
TinyLlama.cpp 1.0
A lightweight C++ implementation of the TinyLlama language model
|
#include <tokenizer.h>

Classes | |
| struct | comparator |
Public Types | |
| using | queue_storage = std::vector< llm_bigram_bpe > |
| using | queue = std::priority_queue< llm_bigram_bpe, queue_storage, comparator > |
Public Attributes | |
| llm_symbol::index | left |
| llm_symbol::index | right |
| std::string | text |
| int | rank |
| size_t | size |
Definition at line 30 of file tokenizer.h.
| using llm_bigram_bpe::queue = std::priority_queue<llm_bigram_bpe, queue_storage, comparator> |
Definition at line 42 of file tokenizer.h.
| using llm_bigram_bpe::queue_storage = std::vector<llm_bigram_bpe> |
Definition at line 40 of file tokenizer.h.
| llm_symbol::index llm_bigram_bpe::left |
Definition at line 44 of file tokenizer.h.
Referenced by llm_bigram_bpe::comparator::operator()().
| int llm_bigram_bpe::rank |
Definition at line 47 of file tokenizer.h.
Referenced by llm_bigram_bpe::comparator::operator()().
| llm_symbol::index llm_bigram_bpe::right |
Definition at line 45 of file tokenizer.h.
| size_t llm_bigram_bpe::size |
Definition at line 48 of file tokenizer.h.
| std::string llm_bigram_bpe::text |
Definition at line 46 of file tokenizer.h.