PSU programs assistant

Instant answers by retrieval · a fine-tuned DialoGPT-small on demand

Ask about Pittsburg State University's academic programs.

Answers come from 82 written Q&As (56 programs from A to C, plus general questions), found by meaning. Under each answer you can also see what a small fine-tuned language model says. .

Try one:

How it works

Three versions of the same idea, each fixing what the previous one got wrong.

2024, version 1: string matching

ChatterBot's "best match" returned the stored answer whose question looked most like yours, letter by letter. It missed anything worded differently.

2024, version 2: a fine-tuned language model

microsoft/DialoGPT-small (124M parameters) fine-tuned with Hugging Face Transformers and PyTorch. A bug in the training data format meant it learned the vocabulary of PSU programs, not how to answer: the question and the answer were tokenized separately and lined up word by word, instead of being one sequence with the loss on the answer only.

2026, version 3: retrieval first, the model fixed and measured

Answers come from retrieval. Your question and the 82 written questions are turned into embeddings with all-MiniLM-L6-v2, and the closest one wins, with the university's name removed first (it made unrelated questions look alike). Below a similarity of 0.56, the bot says it doesn't know instead of guessing. That cut-off was chosen on a separate dev set.

The fine-tuned model was retrained the right way: one sequence per pair, question, end marker, then answer, with the loss on the answer only. It trained on 268 examples; early stopping kept epoch 4 of 7 (validation loss 0.6259). It runs on demand on this 1-CPU server with:

Eval

76 test questions the models never saw: new wordings, typos, programs the data doesn't cover, and off-topic questions (41 more were used only to choose settings).

SystemRight answer*Says "don't know" when it shouldInvented links
Retrieval by meaning (served)82.0%73.3%0.0%
Retrieval by word overlap57.4%60.0%0.0%
Fine-tuned model, 2026 retrain45.5%0.0%56.6%
Fine-tuned model, 20240.0%0.0%0.0%

* Retrieval: the right written answer. Models: the exact official link for program questions. Details in eval/RESULTS.md.

For a fixed FAQ like this one, retrieval is the better tool: it's instant, it never invents a link, and it can say "I don't know". The model shows what fine-tuning learns, and where it falls short.

Limits

The data only covers programs from A to C (the 2024 scrape stopped there) and some general questions. A real PSU program like Graphic Design gets "I don't know".