Skip to contents

A = f(I, M; theta), with the model contract enforced.

Usage

morie_kamath_ch9_mm_instr_predict(I, M, theta, f = NULL)

Arguments

I

Instruction.

M

Multimodal input.

theta

Model.

f

Optional override f(I, M, theta).

Value

List with estimate, answer.

Examples

morie_kamath_ch9_mm_instr_predict("I", "M", function(I, M) "ans")
#> $estimate
#> [1] "ans"
#> 
#> $answer
#> [1] "ans"
#> 
#> $instruction
#> [1] "I"
#> 
#> $multimodal_input
#> [1] "M"
#> 
#> $n
#> [1] 1
#> 
#> $method
#> [1] "multimodal instruction-tuned prediction (Kamath Eq 9.16)"
#>