huggingface / huggingface/agents-course
[HANDS-ON BUG] Wrong reference solution model-id in quiz
- Dominant language
- MDX
- Stars
- 32.6k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
**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**

**Additional context**
Add any other context about the problem here.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.