ILM v1.1.0
Browse filesFiles changed (5)
- README.md+15-13
- SHA256SUMS.txt+3-3
- ilm-linux-x86_64+2-2
- ilm-macos-arm64+2-2
- ilm-windows-x86_64.exe+2-2
151 unmodified lines1521531541551551561571571581591591601611611621631631641651661651671681691706 unmodified lines17717817917818018118218310 unmodified lines1941951961951971981992009 unmodified lines210211212211213214213215216215217218217219220219221222223151 unmodified lines name: NIST---
# ILM: Integer Language Model# ๐งฎ ILM: Integer Language Model
**CPU only.** ILM is a language model that needs no GPU, to learn or to answer. On one desktop CPU it learns each benchmark below from its lessons in seconds, then answers its test questions.โก **CPU only.** ILM is a language model that needs no GPU, to learn or to answer. On one desktop CPU it learns each benchmark below from its lessons in seconds, then answers its test questions.
**Why no GPU?** A neural network, such as a transformer, learns by changing millions of decimal weights. It repeats billions of multiplications over many passes through the data, and a GPU is built for that work. ILM has no weights. It stores whole-number counts: how often each pattern in a text came with each answer. Counting is the addition of whole numbers, and a normal CPU does it fast.๐ค **Why no GPU?** A neural network, such as a transformer, learns by changing millions of decimal weights. It repeats billions of multiplications over many passes through the data, and a GPU is built for that work. ILM has no weights. It stores whole-number counts: how often each pattern in a text came with each answer. Counting is the addition of whole numbers, and a normal CPU does it fast.
ILM learns from lessons: a short text, a question and the exact answer (for two tasks below, also the labels that the set gives). It keeps a pattern only when its counts show that the pattern is reliable. So what it learned is a set of rules that you can read, and it gives the same answers on every run and for every number of threads.๐ง ILM learns from lessons: a short text, a question and the exact answer (for two tasks below, also the labels that the set gives). It keeps a pattern only when its counts show that the pattern is reliable. So what it learned is a set of rules that you can read, and it gives the same answers on every run and for every number of threads.
Source code, documentation and the commands that give each number below: https://github.com/Datamine-Crypto/ILM- ๐ป Source code, documentation and the commands that give each number below: https://github.com/Datamine-Crypto/ILM- ๐ฆ Crate: https://crates.io/crates/datamine-ilm- ๐ Website: https://datamine.network
## Files## ๐ Files
| File | What it is ||---|---|6 unmodified lines
ILM has no weights to download: it learns each task from the lessons of that task when you run it. The program reads the descriptions of the sets and the list of sources from the GitHub repository, so run it from a clone of that repository.
## Results## ๐ Results
Each benchmark is read with frozen code on its test data: the official test split, or for LoNLI, LAMA and SVAMP the part that [docs/RESULTS.md](https://github.com/Datamine-Crypto/ILM/blob/main/docs/RESULTS.md) names. The runs use one desktop CPU (Intel Core i9-12900K, 24 threads, no GPU). The time is for the whole run, learning from all lessons and answering the test questions, as the best of three or more runs.
10 unmodified lines
The settings, the published numbers with their sources, and notes on each benchmark are in [docs/RESULTS.md](https://github.com/Datamine-Crypto/ILM/blob/main/docs/RESULTS.md) of the GitHub repository.
## How to use## ๐ How to use
The program reads the descriptions of the sets from a clone of the GitHub repository. With the program of this repository, on Linux:
9 unmodified lines
On macOS, take `ilm-macos-arm64` in the same way, and also run `xattr -d com.apple.quarantine ./ilm`, because the program is not signed with an Apple developer certificate. On an Intel Mac, build the program from source. On Windows, copy `ilm-windows-x86_64.exe` into the clone as `ilm.exe` and run `.\ilm.exe fetch data/sources.txt sets=src_babi`, and so on. To build the program yourself in place of a download: `cargo build --release` (Rust 1.90 or later and a C compiler), then call `./target/release/ilm`. `fetch` gets the raw files of a set from the Hugging Face hub or GitHub at a fixed revision and checks their SHA-256. `export` writes a case file for each kind of the set. `measure` learns each kind from its lessons and reads its test cases. [docs/REPRODUCE.md](https://github.com/Datamine-Crypto/ILM/blob/main/docs/REPRODUCE.md) gives the commands for every benchmark.
## How it works## โ๏ธ How it works
ILM has fifteen tools, each named for its way of reading: patterns, state, amount, order, link, rule, parts, together, list, requests, frames, table, arrange, graph and ranks. For each kind of task, every tool learns from two thirds of the lessons and reads the last third. The tool with the most right answers learns again from all lessons. No person chooses a tool, and no setting changes between tasks. Beside the tools, ILM has a fact reader for encyclopedia text, a question reader, a writer that turns given facts into a text, and one command (`ilm ask`) that routes each request and prints a trace of its steps.ILM has seventeen tools, each named for its way of reading: patterns, state, amount, order, link, rule, parts, together, list, requests, frames, table, arrange, graph, grid, space and ranks. For each kind of task, every tool learns from two thirds of the lessons and reads the last third. The tool with the most right answers learns again from all lessons. No person chooses a tool, and no setting changes between tasks. Beside the tools, ILM has a fact reader for encyclopedia text, a question reader, a writer that turns given facts into a text, and one command (`ilm ask`) that routes each request and prints a trace of its steps.
## Limits## ๐ง Limits
ILM is not a general chat model. It learns one kind of task at a time from lessons of that kind, and each lesson needs the exact answer. On a board of 25 public sets (240 kinds in 112 tasks), it learns 59 tasks: every kind of the task at 95% right or more on held cases (90% where people wrote the text). On SVAMP and E2E, pre-trained transformers are ahead.ILM is not a general chat model. It learns one kind of task at a time from lessons of that kind, and each lesson needs the exact answer. On a board of 25 public sets (240 kinds in 112 tasks), it learns 61 tasks: every kind of the task at 95% right or more on held cases (90% where people wrote the text). On SVAMP and E2E, pre-trained transformers are ahead.
## License## ๐ License
Apache License 2.0. The sets that ILM reads keep their own licenses, and this repository holds none of their data.12312332098391c351f61f383623475d942324160290d11432c530a0454550afc15fe1 ilm-linux-x86_64175e14f06b77f3a7c7076247e93b290a409f707cbebfa377314a3337f75eafde ilm-macos-arm64459c3acc8232ef28e81e53b75c8a97b85d2b0f5d991b65c15bd75af0675c9861 ilm-windows-x86_64.exe43d58e15f5f533b77c83d5161248c401b0c83c9da344e59047e40094d5b9a2eb ilm-linux-x86_6445b6f3adf0a996eca86cce81a06ca4bb53b88b7336e1c88a864c61b7197a2f73 ilm-macos-arm64951195d2088a1c9e50d6542b118f910565a55239577b2292fda1b58c0a5bb3cd ilm-windows-x86_64.exe12323version https://git-lfs.github.com/spec/v1oid sha256:32098391c351f61f383623475d942324160290d11432c530a0454550afc15fe1size 12230680oid sha256:43d58e15f5f533b77c83d5161248c401b0c83c9da344e59047e40094d5b9a2ebsize 1248512812323version https://git-lfs.github.com/spec/v1oid sha256:175e14f06b77f3a7c7076247e93b290a409f707cbebfa377314a3337f75eafdesize 10119200oid sha256:45b6f3adf0a996eca86cce81a06ca4bb53b88b7336e1c88a864c61b7197a2f73size 1032644812323version https://git-lfs.github.com/spec/v1oid sha256:459c3acc8232ef28e81e53b75c8a97b85d2b0f5d991b65c15bd75af0675c9861size 12251136oid sha256:951195d2088a1c9e50d6542b118f910565a55239577b2292fda1b58c0a5bb3cdsize 12482048README.md+15-13
SHA256SUMS.txt+3-3
ilm-linux-x86_64+2-2
ilm-macos-arm64+2-2
ilm-windows-x86_64.exe+2-2