Mehdi commited on
Commit
83ec3f5
·
1 Parent(s): 08b63c1

feat: switch to MiniCPM4-8B, add robustness, score tracker, language selector

Browse files

- model/llm.py: upgrade to MiniCPM4-8B with bfloat16 and chat template
- requirements.txt: relax transformers pin to >=4.50.0
- core/parser.py: handle corrupt/scanned/empty PDFs with clear errors
- app.py: graceful error handling in all pipeline steps
- app.py: session score tracker (correct/total with verdict parsing)
- app.py: FR/EN language selector wired to question and evaluation prompts
- core/questioner.py: language param in prompt
- core/evaluator.py: language param in prompt

7 files changed +95 -39
Files changed (7)
TASK.md+4-4
app.py+57-19
core/evaluator.py+3-1
core/parser.py+13-2
core/questioner.py+3-2
model/llm.py+14-10
requirements.txt+1-1