| """ |
| Resources view component for SkillSync |
| """ |
|
|
| import gradio as gr |
|
|
| def create_resources_view(course_data): |
| """Create the resources view""" |
| |
| gr.Markdown("## π Additional Learning Resources") |
| |
| resources = course_data.get('resources', {}) |
| |
| with gr.Tabs(): |
| with gr.TabItem("Books"): |
| gr.Markdown("### π Recommended Books") |
| for book in resources.get('books', []): |
| gr.Markdown(f"- **{book['title']}** by {book['authors']}") |
| |
| with gr.TabItem("Online Resources"): |
| gr.Markdown("### π Online Resources") |
| for resource in resources.get('online_resources', []): |
| gr.Markdown(f"- [{resource['name']}]({resource['url']})") |
| |
| with gr.TabItem("Tools & Frameworks"): |
| gr.Markdown("### π οΈ Tools & Frameworks") |
| for tool in resources.get('tools', []): |
| gr.Markdown(f"- **{tool['name']}** - {tool['description']}") |
| |
| with gr.TabItem("Video Courses"): |
| gr.Markdown("### πΊ Video Courses") |
| gr.Markdown(""" |
| - [Stanford CS229: Machine Learning](https://www.youtube.com/playlist?list=PLoROMvodv4rMiGQp3WXShtMGgzqpfVfbU) |
| - [Fast.ai Practical Deep Learning](https://course.fast.ai/) |
| - [DeepLearning.AI](https://www.deeplearning.ai/) |
| - [3Blue1Brown Neural Networks](https://www.youtube.com/playlist?list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi) |
| """) |
| |
| with gr.TabItem("Research Papers"): |
| gr.Markdown("### π° Key Research Papers") |
| gr.Markdown(""" |
| - **Attention Is All You Need** - Transformer architecture |
| - **BERT: Pre-training of Deep Bidirectional Transformers** - Bidirectional understanding |
| - **Language Models are Few-Shot Learners (GPT-3)** - Few-shot learning |
| - **LoRA: Low-Rank Adaptation** - Efficient fine-tuning |
| - **Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks** - RAG architecture |
| - **Constitutional AI: Harmlessness from AI Feedback** - AI safety |
| """) |
|
|