Training an LLM with Swift, with optimization techniques to match or exceed C performance. ๐๏ธ Plus Wasm updates, recently active Swift Evolution proposals, and a talk about the Temporal Swift SDK, in the latest edition of Whatโs New in Swift https://t.co/1l51xIb5EW
At university graduation ceremonies this spring, commencement speakers have been getting booed for championing AI, given how the technology might threaten their job prospects.
In a commencement speech at Bard College last week, I delivered a more hopeful message โ that humans can do essential things that computers simply canโt. Here are some highlights from that speech:
"Hurt" is not an original by Johnny Cash. The song was written by Trent Reznor (Nine Inch Nails) in 1994 for the album The Downward Spiral. Rick Rubin had to insist several times on Cash recording his version, at first Johnny found the idea completely insane because the original version is industrial and noisy. At 71, already very ill, almost blind and with trembling hands, Cash completely transformed the band.
The iconic video, directed by Mark Romanek, was filmed at the House of Cash (his own museum). June Carter Cash appears looking at him fondly, the video was shot in February 2003, a few months before she died (May) and Johnny himself (September).
Trent Reznor was so moved that he declared, "This song is not mine anymore." It is considered one of the best covers of all time.
Modern โAIโ is prediction using a statistical model based on a huge dataset of preexisting human work. This, by definition, considers ~mean quality output as successful output. That isnโt a bad thing, nor is it useless, but thatโs what it is.
Software has sucked for a long time. A small number of people really cared to make it great. They are statistical outliers.
@harrisonlowman Honda hates electric cars. They've put zero effort into competing in the market and sales show it. This is just a simple alignment with their business strategy. Blame Trudeau and Ford for falling for it.
@ThePrimeagen You don't install on Mac. You can drag the app anywhere you want. It's just nice of them to make it easier to copy it to your Applications folder where other apps are.
My first impressions running Swift on Android
- Now that is released as officially stable setting it up is reasonably simple, the hardest step is writing the cradle config to build the Swift code with the app, but they provide examples for various use cases and LLMs can easily get this working
- By default the built library is very big and takes a lot to compile, I think itโs because it bundles the whole std lib into the library even stuff you donโt use, I havenโt checked yet what can be done to improve this but a basics android app with swift code weights 150mb
- swift-java works pretty good and saves you from the pain of writing raw JNI code for most use cases
- Weird thing I have noticed is that print() doesnโt output to logcat on android, the best solution is to use SwiftLog with an Android backend