Polyphase Game Engine
Loading...
Searching...
No Matches
TinyLLMAsset.h File Reference

Asset type for ultra-tiny LLM models (llama2.c format). More...

#include "Asset.h"
#include "AssetRef.h"
#include <vector>
#include <string>

Go to the source code of this file.

Classes

struct  TinyLLMConfig
 Configuration for the transformer model. More...
 
class  TinyLLMAsset
 Asset containing a tiny LLM model and tokenizer. More...
 

Macros

#define TINYLLM_CONFIG_DEFINED
 

Detailed Description

Asset type for ultra-tiny LLM models (llama2.c format).

Contains model weights and configuration. References a separate TinyLLMTokenizerAsset for vocabulary. Supports models up to ~15M parameters, though only ~260K is practical on memory-constrained platforms like Wii.

Macro Definition Documentation

◆ TINYLLM_CONFIG_DEFINED

#define TINYLLM_CONFIG_DEFINED