It is somehow shared knowledge among Haskellers that applicatives allow performing static analysis, while monads do not. But what does it mean in practice? And what kind of static analysis is this referring to? The best answer I could find online is this answer on StackOverflow. In this post...
Haskell is a programming language well known for its usage of monads and for the over-abundance of tutorials trying to explain them. This is not one of those posts. On the other hand, in this post I’ll try to convince you that Haskell without monads (as a main concept) is not only possible, but...
My quest continues! Here's Blast Off, alongside his 2001 sort-of-incarnation. I have seen some complaints about his weird cup hands, but I think they're a nice nod to the original design, even if they make little sense. As much sense as a Space Shuttle counting as a combat vehicle, for...
The Pleasure of Finding Things Out: A blog by James Triveri
The notebook version of this post can be downloaded here. In Part II of the Practical NLP for Risk Modeling series, we fine-tuned DistilBERT end-to-end on NOAA tornado narratives and saw significant performance improvement versus the frozen-embedding baseline from Part I. That result is...
A new soldier has marched up to the door of the recruitment office! My quest to complete Bruticus before I die has progressed with the arrival of Brawl! Here he is, alongside his earlier incarnation. Well, the re-released version of his earlier incarnation, anyway. The tank mode is a bit...
Just got back home from Transformers 40th anniversary movie in theatres.. and it was the worst film I have ever seen on the big screen. To my discredit, however, I went in without even having seen the trailer for it, which should have clued me in. From the title alone and banners for it, I was...
I have found myself often enough trying to classify a text that I decided to be lazy and write a solution that I could always rely on. The following script is an example on how to pre-train a HuggingFace transformer for text classification. This example uses only two classes, identifying whether...