I wanted to understand how LLMs really work, so I’m building Modelmathics (https://modelmathics.com) and doing every lesson myself as I go.
You start from an empty Python file and write the model yourself: a tokenizer, a bigram model, attention, a Transformer. At the end, published open weights run on your own code. Tests check each step before you move on. Try it: https://try.modelmathics.com (or ssh try.modelmathics.com) The rest runs in mm, a terminal app, with your code in files on your machine. Stage 1 (11 lessons) is live as a free private beta. Feedback is very welcome.
I discovered that a relatively inexpensive 0.6 mm italic nib from Manuscript's Creative Calligraphy set works well with my natural handwriting, it looks "good" even when I'm just starting out. But it took me a few hundred dollars of trying different sized nibs to really understand that for nibs in general, stroke width variation is through pressure, "pulling" the nib in parallel, and I really needed a stub / italic / calligraphy nib where line variation is through the angle. Also, that my handwriting is really small, and finding any stub nib below 1mm is hard, until you know that it comes with the Manuscript set. Beware, fountain pens are a rabbit hole.
I always wanted to have all laws to be easy to interpret or at least try to track their changes over time to better understand what’s going on.
So I’ve built OpenNorme for the Italian legal corpus here: a single git repo with all laws from 1861 to today with daily scraping from an official api.
https://github.com/dej611/italian-laws-history
After every update the github pages is rebuilt with the new data, so you can see some trends in there with some aggs and nice charts. Also, had some fun to build a clippy clone with an in browser SLM.
I love this! I've thought about doing something similar where I'm from (Australia).. it looks like you had an API to start with? I think in Australia it would come down to a bunch of scraping and calculating differences between word documents manually, which is what put me off initially. Maybe I should take another look now that we have powerful AI assistants.
Yes, I’ve used an official API service built go give always the latest version in forceof a law.
My scraper leveraged that instead to build an archeology dataset
How do you identify the actual changes in legal content from formatting or metadata changes when tracking API Updates? Do you use any automated validation to avoid false changes?
Not at this point yet.
The consolidation is used as is from the Normattiva data source. As far as I know they are pretty good at cleaning up things like actual content for recent text.
It may be a good follow up tho.
Comments (1,123) 974 threads
Earlier commentsI wanted my documents to be secure so nobody can see them.
Recovery phrases: https://shyvault.app/security/#recovery-phrases
You start from an empty Python file and write the model yourself: a tokenizer, a bigram model, attention, a Transformer. At the end, published open weights run on your own code. Tests check each step before you move on.
Try it: https://try.modelmathics.com (or ssh try.modelmathics.com)
The rest runs in mm, a terminal app, with your code in files on your machine. Stage 1 (11 lessons) is live as a free private beta.
Feedback is very welcome.
I discovered that a relatively inexpensive 0.6 mm italic nib from Manuscript's Creative Calligraphy set works well with my natural handwriting, it looks "good" even when I'm just starting out.
But it took me a few hundred dollars of trying different sized nibs to really understand that for nibs in general, stroke width variation is through pressure, "pulling" the nib in parallel, and I really needed a stub / italic / calligraphy nib where line variation is through the angle.
Also, that my handwriting is really small, and finding any stub nib below 1mm is hard, until you know that it comes with the Manuscript set.
Beware, fountain pens are a rabbit hole.
After every update the github pages is rebuilt with the new data, so you can see some trends in there with some aggs and nice charts. Also, had some fun to build a clippy clone with an in browser SLM.
All comments shown.
Couldn't load more comments. Check your connection and try again.