PAL: Predictive Analysis & Laws for Neural Networks
Dismantling large language models parts to understand them better, with the hope to build better models.
Requirements
The code back-end is made with:
numpy
torch
The visualization are made with:
matplotlib
networkx
Research papers
-
Vivien Cabannes, Charles Arnal, Wassim Bouaziz, Alice Yang, Francois Charton, Julia Kempe. Iteration Head: A Mechanistic Study of Chain-of-Thought, 2024. The codebase is in the folder
projects/cot. -
Vivien Cabannes, Elvis Dohmatob, Alberto Bietti. Scaling laws for associative memories, in International Conference on Learning Representations (ICLR), 2024. The codebase is in the folder
projects/scaling_laws. -
Vivien Cabannes, Berfin Simsek, Alberto Bietti. Learning Associative Memories with Gradient Descent in International Conference on Machine Learning (ICML), 2024. The codebase is in the folder
projects/gradient_descent. -
In preparation. Codebase in
pruning. Show that learning appear by pruning circuits. -
In preparation. Codebase in
factorization. Empirical study of memorization capacity of MLPs and their abilities to leverage hidden factorization.
Organization
The main resuable code is in the src folder.
The code for our different research streams is in the projects folder.
Other folders may include:
data: contains data used in the experiments.models: saves models' weights.launchers: contains bash scripts to launch experiments.notebooks: used for exploration and visualization.scripts: contains python scripts to run experiments.tests: contains tests for the code.tutorial: contains tutorial notebooks to get started with LLMs' training.
Metadata
Release files for metapal 0.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| metapal-0.0.0.tar.gz | 23.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| metapal-0.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.0 kB
Release files / metapal-0.0.0.tar.gz
| Download URL | metapal-0.0.0.tar.gz |
|---|---|
| Size | 23.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5763d5203de72969a710b630d715c8a265d14aed73ed60d14be884bec63b8d4
|
|
BLAKE2b-256 checksum How to use checksums |
08717ca2daa7e04efe61d073b4081ca7bfeced139ec637807bb534ce10a66cc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / metapal-0.0.0-py3-none-any.whl
| Download URL | metapal-0.0.0-py3-none-any.whl |
|---|---|
| Size | 28.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7ccfeaddaa58b0cf4e1e044b1c130eeb3224e4465e1454701ff4f9315dac0ea
|
|
BLAKE2b-256 checksum How to use checksums |
46e63f317c932bd2740e18da34ed686790ca622314b48fbc6a4f0099dc2fce08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|