Skip to content

Project Function spelling_reward_func Bug #24

Description

@ZaxShen

In project/starter/gen_ai_fundamentals_project_starter.ipynb, function spelling_reward_func didn't call extract_spelling, which is made for this reward function.

responses = [completion[0]["content"] for completion in completions] brings unexpected rewards since the reward function.
The correct code should be responses = [extract_spelling(completion[0]["content"]) for completion in completions]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions