Hugging Face Transformers React - v1.2.0
    Preparing search index...

    Interface WebLLMModelRecord

    Model information from WebLLM's prebuilt configuration. Used to display available models and their requirements.

    const models = await getAvailableWebLLMModels();
    models.forEach(model => {
    console.log(`${model.model_id}: ${model.vram_required_MB}MB`);
    });
    interface WebLLMModelRecord {
        model: string;
        model_id: string;
        model_lib?: string;
        vram_required_MB?: number;
        low_resource_required?: boolean;
        overrides?: Record<string, any>;
    }
    Index

    Properties

    model: string

    Display name of the model

    model_id: string

    Unique identifier for the model (use this to load the model)

    model_lib?: string

    Model library URL (internal)

    vram_required_MB?: number

    VRAM required in megabytes (approximate model size)

    low_resource_required?: boolean

    Whether this is a low-resource variant

    overrides?: Record<string, any>

    Additional model configuration overrides