
AlignScore alignment function (Kamath Eq 6.2)
Source:R/kamath_llm2_native.R
morie_kamath_ch6_alignment_function.Rdf: (a, b) -> y with the label space ENFORCED. y is "bin", "3way" or "reg".
Examples
morie_kamath_ch6_alignment_function("a", "b", "3way", function(a,
b) "CONTRADICT")
#> $estimate
#> [1] 0
#>
#> $label
#> [1] "CONTRADICT"
#>
#> $space
#> [1] "3way"
#>
#> $labels
#> [1] "ALIGNED" "CONTRADICT" "NEUTRAL"
#>
#> $a
#> [1] "a"
#>
#> $b
#> [1] "b"
#>
#> $n
#> [1] 2
#>
#> $method
#> [1] "AlignScore alignment function (Kamath Eq 6.2)"
#>