Skip to content

Commit 5954cc0

Browse files
committed
fix: Improve page generation and upgrade GPT bot models
- Rewrite build-pages.py with proper markdown parsing: - Tables converted to HTML <table> elements - Ordered lists converted to <ol><li> elements - LaTeX \href commands converted to links - Internal links no longer open in new tabs - Restructure syllabus.md with table format: - Course info table at top - Weekly overview schedule table - Detailed day-by-day tables per week - Replace crashing Qwen3 with robust fallback chain: - Primary: DeepSeek-R1-Distill-Qwen-1.5B (reasoning model) - Fallback 1: Gemma 3 1B IT - Fallback 2: Gemma 3 270M IT - Updated all UI references and architecture tab - Added HuggingFace model card links - Add test-gpt-bot-loading.mjs for model config verification
1 parent 8d8c1b8 commit 5954cc0

File tree

15 files changed

+2116
-928
lines changed

15 files changed

+2116
-928
lines changed

admin/syllabus.md

Lines changed: 103 additions & 181 deletions
Large diffs are not rendered by default.

assignments/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Welcome to the assignments for PSYC 51.17: Models of Language and Communication.
77
All assignments are submitted via GitHub Classroom. Click the "Accept Assignment" button on each assignment page to get started. This will create a personal repository where you'll complete your work.
88

99
**Submission Process:**
10+
1011
1. Click "Accept Assignment" to create your repository
1112
2. Clone the repository to your local machine or open in Google Colab
1213
3. Complete the assignment following the instructions
@@ -31,6 +32,7 @@ Assignments receive a 10% deduction for each week late, rounded up to the neares
3132
## Grading
3233

3334
Each assignment is graded on:
35+
3436
- **Correctness**: Does your code produce the expected outputs?
3537
- **Code Quality**: Is your code well-organized and documented?
3638
- **Understanding**: Do your explanations demonstrate understanding of the concepts?
@@ -46,19 +48,25 @@ Each assignment is graded on:
4648
## Assignments
4749

4850
### [Assignment 1: ELIZA Chatbot](./assignment-1/)
51+
4952
Build a pattern-matching chatbot based on Weizenbaum's classic ELIZA program. Learn about string manipulation, regular expressions, and the foundations of conversational AI.
5053

5154
### [Assignment 2: SPAM Classifier](./assignment-2/)
55+
5256
Develop a text classification system to identify spam messages. Explore feature engineering, tokenization, and evaluation metrics.
5357

5458
### [Assignment 3: Wikipedia Embeddings](./assignment-3/)
59+
5560
Compare different text embedding methods on Wikipedia articles. Visualize semantic relationships and evaluate embedding quality.
5661

5762
### [Assignment 4: Customer Service Chatbot](./assignment-4/)
63+
5864
Create a context-aware customer service chatbot using transformer-based models. Implement retrieval and response generation.
5965

6066
### [Assignment 5: Build GPT](./assignment-5/)
67+
6168
Implement and train a small GPT model from scratch. Understand the transformer architecture, attention mechanisms, and autoregressive generation.
6269

6370
### [Final Project: Research Project](./final-project/)
71+
6472
Conduct an independent research project applying concepts from the course. Present your findings to the class.

assignments/assignment-1/index.html

Lines changed: 118 additions & 66 deletions
Large diffs are not rendered by default.

assignments/assignment-2/index.html

Lines changed: 137 additions & 87 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)