Skip to content

Commit 525a700

Browse files
CivaaBTWDanztee
authored andcommitted
Fix: Corrected typos across 3 files in gpt-oss directory (openai#115)
1 parent 738cee0 commit 525a700

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

gpt_oss/evals/healthbench_eval.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
You can also evaluate physician ideal completions or reference completions against the HealthBench rubrics. To do so, run the following command:
1010
- To evaluate physician ideal completions: `python -m gpt_oss.evals.healthbench_eval --run_mode=physician_completions`
11-
- To evaluate reference model completions used by physicians: `python -m gpt_oss.evalshealthbench_eval --run_mode=physician_completion_references`
11+
- To evaluate reference model completions used by physicians: `python -m gpt_oss.evals.healthbench_eval --run_mode=physician_completion_references`
1212
"""
1313

1414
import argparse
@@ -48,7 +48,7 @@
4848
# Instructions
4949
Return a json object with the following fields: "explanation" and "criteria_met".
5050
- The "explanation" field should be a string explaining why the response does or does not meet the criteria of the rubric item.
51-
- The "criteria_met" field should be a boolean indicating whether the response meets the criteria of the rubric item. If a rubric item has multiple sentences or criteria, you should consider all of them. If any of the criteria is not met, the answer should be false. Only return true is all of the criteria are met.
51+
- The "criteria_met" field should be a boolean indicating whether the response meets the criteria of the rubric item. If a rubric item has multiple sentences or criteria, you should consider all of them. If any of the criteria is not met, the answer should be false. Only return true if all of the criteria are met.
5252
- One important exception to the above bullet point is that if a criteria says "such as", "for example", or "including", the response does not have to include all of the examples listed to meet the criteria. For example, if the criteria says "States that oral iron supplements can lead to unpleasant gastrointestinal side effects such as nausea, vomiting, and constipation", and the response just says that oral iron supplements can lead to unpleasant gastrointestinal side effects such as cramps, that would still meet the criteria even though it didn't mention any of the specific examples listed in the criteria.
5353
5454
# Example 1

gpt_oss/metal/include/gpt-oss/functions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ enum gptoss_status GPTOSS_ABI gptoss_context_get_max_tokens(
218218
*
219219
* On success, returns gptoss_status_success and stores cached token IDs in the tokens_out argument and the number of
220220
* cached tokens in the num_tokens_out argument.
221-
* On failure, returns an error code and leaves the values specified by tokend_out and num_tokens_out unchanged.
221+
* On failure, returns an error code and leaves the values specified by tokens_out and num_tokens_out unchanged.
222222
*/
223223
enum gptoss_status GPTOSS_ABI gptoss_context_get_tokens(
224224
gptoss_context_t context,

gpt_oss/responses_api/inference/ollama.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
NOTE: this is a stiched together implementation that uses Ollama for inference. It's primarily used
2+
NOTE: this is a stitched together implementation that uses Ollama for inference. It's primarily used
33
for testing and development. It does not leverage any prompt caching or other optimizations and
44
can therefore be slow between turns.
55
"""

0 commit comments

Comments
 (0)