Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HANDS-ON BUG] Wrong reference solution model-id in quiz #250

Open
Morxi opened this issue Feb 26, 2025 · 0 comments
Open

[HANDS-ON BUG] Wrong reference solution model-id in quiz #250

Morxi opened this issue Feb 26, 2025 · 0 comments

Comments

@Morxi
Copy link

Morxi commented Feb 26, 2025

Describe the bug
Incorrect! The student's solution does not meet the assessment criteria because the `HfApiModel` is improperly configured. Specifically, the model ID `"Qwen/Qwen2.5-Coder-32B-Instruct"` is missing from the `HfApiModel()` instantiation, making it incomplete and different from the reference solution. The student's solution does not meet the assessment criteria because the `HfApiModel` is improperly configured. Specifically, the model ID `"Qwen/Qwen2.5-Coder-32B-Instruct"` is missing from the `HfApiModel()` instantiation, making it incomplete and different from the reference solution.

To Reproduce
Submit code to https://huggingface.co/spaces/agents-course/unit2_smolagents_quiz

from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel

agent = CodeAgent(
    tools=[DuckDuckGoSearchTool()],           # Add search tool here
    model=HfApiModel()        # Add model here
)

Screenshots

Image

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant