BiLSTM β Smart MCQ Solver
BiLSTM trained from scratch (custom tokenizer + vocab, no pretrained embeddings) on a binary-expanded multiple-choice QA dataset. Each (prompt, option) pair is scored independently; the top-3 highest-scoring options are returned as the prediction.
Checkpoint contents (bilstm.pth, loaded with torch.load):
model_state_dictvocabβ token-to-id mapping used at training timeconfigβvocab_size,embed_dim,hidden_dim,num_layers,dropout,max_lenbest_val_map3β validation MAP@3 at the checkpointed epoch
Used by the Streamlit demo.