This commit is contained in:
William FH 2023-07-18 21:47:28 -07:00 committed by GitHub
parent 8bb33f2296
commit 9d7e57f5c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@
], ],
"source": [ "source": [
"evaluator.evaluate_string_pairs(\n", "evaluator.evaluate_string_pairs(\n",
" prediction=\"Seattle is hot in June\", reference=\"Seattle is cool in June.\"\n", " prediction=\"Seattle is hot in June\", prediction_b=\"Seattle is cool in June.\"\n",
")" ")"
] ]
}, },
@ -75,7 +75,7 @@
], ],
"source": [ "source": [
"evaluator.evaluate_string_pairs(\n", "evaluator.evaluate_string_pairs(\n",
" prediction=\"Seattle is warm in June\", reference=\"Seattle is cool in June.\"\n", " prediction=\"Seattle is warm in June\", prediction_b=\"Seattle is cool in June.\"\n",
")" ")"
] ]
}, },
@ -172,7 +172,7 @@
], ],
"source": [ "source": [
"hf_evaluator.evaluate_string_pairs(\n", "hf_evaluator.evaluate_string_pairs(\n",
" prediction=\"Seattle is hot in June\", reference=\"Seattle is cool in June.\"\n", " prediction=\"Seattle is hot in June\", prediction_b=\"Seattle is cool in June.\"\n",
")" ")"
] ]
}, },
@ -196,7 +196,7 @@
], ],
"source": [ "source": [
"hf_evaluator.evaluate_string_pairs(\n", "hf_evaluator.evaluate_string_pairs(\n",
" prediction=\"Seattle is warm in June\", reference=\"Seattle is cool in June.\"\n", " prediction=\"Seattle is warm in June\", prediction_b=\"Seattle is cool in June.\"\n",
")" ")"
] ]
}, },