annotations <- data.frame(
sample_id = rep(1:3, times = 2),
model_id = rep(c("llama", "qwen"), each = 3),
label = c("pos", "neg", "pos", "pos", "neg", "neg"),
truth = c("pos", "neg", "pos", "pos", "pos", "neg"),
stringsAsFactors = FALSE
)
result <- validate(annotations)
names(result)
Run the code above in your browser using DataLab