mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
Docs Nit (#7918)
This commit is contained in:
parent
8bb33f2296
commit
9d7e57f5c0
@ -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",
|
||||||
")"
|
")"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user