tensor_annotations
miniF2F
| tensor_annotations | miniF2F | |
|---|---|---|
| 3 | 6 | |
| 159 | 433 | |
| - | 4.2% | |
| 5.8 | 0.0 | |
| almost 3 years ago | almost 3 years ago | |
| Python | Objective-C++ | |
| Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tensor_annotations
- I Don't Like NumPy
-
[D] Have their been any attempts to create a programming language specifically for machine learning?
Not really an answer to your question, but there are Python packages that try to solve the problem of tensor shapes that you mentioned, e.g. https://github.com/patrick-kidger/torchtyping or https://github.com/deepmind/tensor_annotations
-
Matrix Multiplication Inches Closer to Mythic Goal
I've explored this space quite a bit. In my view, static checking should be the goal.
https://github.com/deepmind/tensor_annotations and tsastanley seem to be the most far along. I've developed a mypy plugin that does similarly off of the "Named Tensor" dynamic feature (which isn't well supported yet), but haven't released it yet.
miniF2F
- Goedel-Prover: A Frontier Model for Open-Source Automated Theorem Proving [pdf]
- MiniF2F: Formal to Formal Mathematics Benchmark
-
[D] Have their been any attempts to create a programming language specifically for machine learning?
That said, you *can* write down a desired type and have a system write down a ton of type annotations or generate a bunch of code to prove that the type you wrote down is satisfied by your program. There's been recent work on this in deep learning for theorem proving, such as this work which uses GPT for proving theorems in Lean, a dependently type programming language and theorem prover. A better approach though would be to combine this with an actual tree search algorithm to allow a more structured search over the space of proofs, instead of trying to generate full correct proofs in one shot. Hypertree Proof Search does this, using a variant of AlphaZero to search and fine-tune the neural net. Unfortunately it hasn't been open-sourced though, and it's pretty compute intensive, so we can't use this for actual type inference yet. But yeah there's active interest in doing this kind of thing, both as a proving ground for using RL for reasoning tasks and from mathematicians for theorem-proving.
- [D] First Author Interview: AI & formal math (Formal Mathematics Statement Curriculum Learning)
- [D] OpenAI tackles Math - Formal Mathematics Statement Curriculum Learning (Paper Explained Video)
- MiniF2F
What are some alternatives?
FL - FL language specification and reference implementations [GET https://api.github.com/repos/waveworks-ai/FL: 404 - Not Found // See: https://docs.github.com/rest]
tiny-cuda-nn - Lightning fast C++/CUDA neural network framework
torchtyping - Type annotations and dynamic checking for a tensor's shape, dtype, names, etc.
dex-lang - Research language for array processing in the Haskell/ML family
jaxtyping - Type annotations and runtime checking for shape and dtype of JAX/NumPy/PyTorch/etc. arrays. https://docs.kidger.site/jaxtyping/