This repository provides tools to generate a linear algebra dataset and code to train an open-source pre-trained model. Our goal is to explore the model's potential for emergent reasoning, inspired by the Deepseek-R1 paper.
Project description
linalg-zero
This repository offers tools for generating a linear algebra problem dataset and training an open-source base model, aiming to explore its potential for emergent reasoning as inspired by the Deepseek-R1 paper.
- Documentation https://atomwalk12.github.io/linalg-zero/
Installation
PyTorch Configuration
This project is configured with PyTorch defaults that work for most users:
- Linux: CUDA 12.8 builds (for GPU acceleration)
- macOS/Windows: CPU builds
For Different CUDA Versions
If you need a different CUDA version, run the following commands:
# To automatically detect and install dependencies:
UV_TORCH_BACKEND=auto uv sync
# Alternatively, to install Pytorch with a specific CUDA version:
nvidia-smi # check your CUDA version
UV_TORCH_BACKEND=cu121 uv sync # for CUDA 12.1
UV_TORCH_BACKEND=cu124 uv sync # for CUDA 12.4
UV_TORCH_BACKEND=cpu uv sync # for CPU-only
For the available CUDA versions see the official documentation.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file linalg_zero-0.1.0.tar.gz.
File metadata
- Download URL: linalg_zero-0.1.0.tar.gz
- Upload date:
- Size: 91.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8232b03074fe0df1986cc3ef8d1aea9a12d8de9d50cba8f1b7d360aad47b902
|
|
| MD5 |
cc9d5f4ad0fc2349ec22185cf7dd67ca
|
|
| BLAKE2b-256 |
934e2e744ecc26aa7bc2762097c10ddc0b9fef054974009413212a2fbf5d04a6
|
File details
Details for the file linalg_zero-0.1.0-py3-none-any.whl.
File metadata
- Download URL: linalg_zero-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73dd2b5efed8d9b59d5feb595e16107c1551899c96d906e4868ed0db53768b6d
|
|
| MD5 |
ea9aa172a26283c612e93cb7a837fbbc
|
|
| BLAKE2b-256 |
f9cb2ecb3e0ff06606ef0acb3678e717c1e962019399299b076f2b03b326bcd0
|