PSSA: A non-transformer language model written from scratch in Rust
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
PSSA: A non-transformer language model written from scratch in Rust
Unofficial Hacker News client; not affiliated with Y Combinator.
janalsncm · · focus · HN ↗
You can test the whole thing for free on a GPU with Google Colab. Test both the transformer and your new architecture on a larger dataset. Something that maxes out the GPU for an hour each run.
Also, the readme mentions keeping the same optimizer schedule which sounds nice at first but they are completely different architectures. The loss is high on the transformer, did you try raising the learning rate on it?
In general I’m interested in parameter efficient architectures. I don’t think transformers are optimal, and indeed many improvements have been made to vanilla transformers. But if you have an idea for something better you need to show it.
yjftsjthsd-h · · focus · HN ↗
intoXbox · · focus · HN ↗
tomtom1337 · · focus · HN ↗
GPU support should really be a optional extra eg `torch[gpu]` or `torch[nvidia]`.
coredog64 · · focus · HN ↗
jeroenhd · · focus · HN ↗
The Rust compile cycle will probably generate a gigabyte of files locally as well, but at least they can be `rm`'d out of `target/` once it's done.
It should be said that for this project that's entirely irrelevant of course, but seeing PyTorch has made me skip over projects on the HN homepage before and probably will again in the future.
pseudocomposer · · focus · HN ↗
We really need to move all AI/ML research off PyTorch to Candle or… just anything that isn’t Python or another old-gen, broken language like it.