docs(tutorial): DSA summer-school notebook + Colab notebook links#240
Merged
Conversation
Add an interactive, fully documented Jupyter notebook (sunbird_ai_apis.ipynb) for the DSA summer school covering translation, STT, TTS, and the OpenAI-compatible Sunflower chat models. Each API section pairs a plain HTTP call with an ipywidgets panel, and the chat section demonstrates both sunflower-14b and sunflower-9b with a side-by-side comparison helper. Uses the current model names (Sunbird/Sunflower-14B is no longer accepted). Add an "Interactive Notebooks" subsection to the Tutorial Resources section linking the five Colab notebooks (Sunbird API hands-on interactive/non-interactive, Sunflower-9B inference, Sunflower Gemma text & speech, and ASR for 51 African languages), so users can test the models via notebooks or the API. Rebuild the React SPA. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds hands-on learning material for testing Sunbird AI models via notebooks or the API, aimed at the DSA summer school.
sunbird_ai_apis.ipynb(repo root): a fully documented, interactive tour of every major endpoint.Notebook (
sunbird_ai_apis.ipynb)get_headers()/BASE_URL/LANGUAGESconfig reused throughout.sunflower-14bandsunflower-9b:chat()helper and acompare_models()side-by-side helperSunbird/Sunflower-14Bis no longer accepted (appears only in a deprecation callout).Tutorial page (
frontend/src/pages/Tutorial.tsx)Adds an Interactive Notebooks card grid (matching existing resource-card styling) linking:
All links open in a new tab. React SPA rebuilt (
app/static/react_build/).Testing
npm run build(tsc typecheck + vite build) passes.npm run linthas a pre-existing ESLint flat-config failure unrelated to this change.🤖 Generated with Claude Code