mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-28 15:00:23 +00:00
Docs Nit (#7918)
This commit is contained in:
@@ -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",
|
||||||
")"
|
")"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user