huggingface / huggingface/agents-course

[UPDATE] Create Optional LiteLLMModel Code Blocks/Notebook to Enable Course Takers Use Free Models Without Limitations

Open
#465 0 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
MDX
Stars
32.6k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

I've been taking this course for a while now and one persistent issue that I see myself and other users alike seem to come across is getting errors when executing code blocks in notebooks due to hitting HuggingFace Inference Usage Limitations when using the `HfApiModel` in notebooks. This negatively harms users learning experience and I don't think learners should be experiencing this issue while learning. I recommend one of 3 solutions:

1. Swap to `LiteLLModel` to enable users use cheaper or free inference models like Google Gemini
2. Create duplicate notebooks that use `LiteLLMModel` instead of `HfApiModel`
3. Create duplicate code blocks within the same notebook that uses `LiteLLMModel` while keeping the original `HfApiModel` code blocks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.