Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -270,7 +270,7 @@ with gr.Blocks() as demo:
|
|
| 270 |
with gr.Tabs() as tabs:
|
| 271 |
|
| 272 |
# Week 3 Tab
|
| 273 |
-
with gr.Tab("Week 3:
|
| 274 |
gr.Markdown("# How Language Models Process Text")
|
| 275 |
gr.Markdown("Explore tokenization, context windows, and attention mechanisms")
|
| 276 |
|
|
@@ -385,24 +385,6 @@ with gr.Blocks() as demo:
|
|
| 385 |
inputs=[attention_input],
|
| 386 |
outputs=[attention_network]
|
| 387 |
)
|
| 388 |
-
|
| 389 |
-
# COMMENTED OUT - OTHER WEEKS
|
| 390 |
-
# Uncomment these sections week by week as needed
|
| 391 |
-
|
| 392 |
-
# with gr.Tab("Week 4: Controlling Model Behaviour"):
|
| 393 |
-
# # Week 4 content here
|
| 394 |
-
# pass
|
| 395 |
-
|
| 396 |
-
# with gr.Tab("Week 5: NLP Tasks"):
|
| 397 |
-
# # Week 5 content here
|
| 398 |
-
# pass
|
| 399 |
-
|
| 400 |
-
# with gr.Tab("Week 8: Error Detection"):
|
| 401 |
-
# # Week 8 content here
|
| 402 |
-
# pass
|
| 403 |
-
|
| 404 |
-
# with gr.Tab("Assignment 1"):
|
| 405 |
-
# # Assignment content here
|
| 406 |
-
# pass
|
| 407 |
|
| 408 |
demo.launch()
|
|
|
|
| 270 |
with gr.Tabs() as tabs:
|
| 271 |
|
| 272 |
# Week 3 Tab
|
| 273 |
+
with gr.Tab("Week 3: Text Processing"):
|
| 274 |
gr.Markdown("# How Language Models Process Text")
|
| 275 |
gr.Markdown("Explore tokenization, context windows, and attention mechanisms")
|
| 276 |
|
|
|
|
| 385 |
inputs=[attention_input],
|
| 386 |
outputs=[attention_network]
|
| 387 |
)
|
| 388 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 389 |
|
| 390 |
demo.launch()
|