Skip to content

msznajder/mathematical-transformer-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mathematical Transformer - building and pre-training mathematical LLM from scratch

Introduction

My goal in this project is building mathematical transformer architecture from scratch and training it to learn basic integer based mathematics like addition, subtraction and multiplication. I implemented the original "Attention Is All You Need" paper architecture in PyTorch and expand from there.

Can tokens be used for math calculations and inference? How well embeddings can represent numerical values and their relations? I want to verify how to expand these in order to create more symbolic-like math representations with a flavor of Wolfram Mathematica or Theano.

About

Building mathematical transformer from the first principles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published