embedding hackathon repo
Go to file
2025-06-19 18:07:23 +02:00
embedding.ipynb Checked nothing broke 2025-06-19 18:07:23 +02:00
README.md added some comments and cleanup (still not great) 2025-06-19 17:40:23 +02:00
reflection.ipynb added some comments and cleanup (still not great) 2025-06-19 17:40:23 +02:00
requirements.txt added some comments and cleanup (still not great) 2025-06-19 17:40:23 +02:00
rotation_fixed.ipynb added some comments and cleanup (still not great) 2025-06-19 17:40:23 +02:00
rotation.ipynb added some comments and cleanup (still not great) 2025-06-19 17:40:23 +02:00
scaling.ipynb added some comments and cleanup (still not great) 2025-06-19 17:40:23 +02:00

Frankenstein

Embedding hackathon repo

Notebook embedding.ipynb: Try to swap components between 2 LMM models. Recommended to start. Has more comments and helper functions.

Notebooks rotation, scaling and reflection.ipynb: Only attempt an operation on the input and output embeddings of one model. Does it break the model? Or is it invariant?

Notebook rotation_fixed.ipynb: This notebook then attempts to rotate the entire model. So all weights in all transformer layers, etc. This is not as easy as it sounds, and highly model specific: different models have very different internal layers and representations. Layers may have different shapes, or are concatenated (such as the kvq matrices).