--- license: other pretty_name: "PS09 Kernel Optimisation for Encoders (student data)" tags: [hackathon, encoder] --- # PS09: Kernel Optimisation for Encoders **Theme:** Pipeline Building | 24-hour hackathon, teams of two, AI coding tools allowed. ## What you build Make the BAAI/bge-base-en-v1.5 encoder much faster on one GPU while keeping every embedding within cosine 0.999 of the reference. ## What is in this repository `reference.py` (FP32, padded to 512), `bench.py`, 100,000 practice Wikipedia passages, a 1,500-query trace with bursts, and reference embeddings for part of the data. ## Output format A Python file with `encode(texts) -> [N,768]` and an optional `setup()`; `bench.py` times and checks it. ## Source and licence Wikipedia (CC BY-SA 3.0), Natural Questions queries (CC BY-SA 3.0), model licence MIT. Use this data only for the event and for non-commercial work, with attribution. Hidden test data and answer keys are not included. Read the student problem statement document for the full task, scoring and rules.