
Cloze knowledge probe (Kamath Eq 3.4)
Source:R/kamath_llm2_native.R
morie_kamath_ch3_dante_cloze.RdExactly one mask must be present; mask_index is 0-BASED.
Examples
morie_kamath_ch3_dante_cloze()
#> $prompt
#> [1] "Dante was born in [MASK]"
#>
#> $mask
#> [1] "[MASK]"
#>
#> $mask_index
#> [1] 4
#>
#> $tokens
#> [1] "Dante" "was" "born" "in" "[MASK]"
#>
#> $estimate
#> [1] 4
#>
#> $n
#> [1] 5
#>
#> $method
#> [1] "cloze knowledge probe (Kamath Eq 3.4)"
#>