Skip to main content

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)

Source distribution for metapal 0.0.0
File Size Uploaded
metapal-0.0.0.tar.gz 23.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for metapal 0.0.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page