Creator of C++, Bjarne Stroustrup:
AI-generated code isn't ready — it generates more bugs, more bloat, more security holes, and is nearly impossible to validate
"senior developers are already retiring rather than deal with it"
The problem is that even a small prompt change can shift the entire codebase in unpredictable ways
A Scala port of @karpathy's llama2.c: https://t.co/C6DsHB5GLI Even without optimizations performance is surprisingly acceptable (-6%, single-threaded on GraalVM). Example: https://t.co/D5wABII06M
Pushed the first cut of my weekend hack project. Well like 3 weekends.
It’s called LLM-J a pure Java LLM inference engine. I wanted to learn how LLMs work and try out Java 20+ so here we are.
It supports GPT-2 and Llama 2 (well almost).
https://t.co/LnwkWew5NU
If you’re a Java developer and your brain can’t decipher PyTorch like mine this may help you understand better.
Biggest takeaway from me is dot product is literally 95% of the cpu time.
Speaking of CPUs, this project has made me think maybe the future isn’t all GPUs. Sure you need them for training. But for inference and perhaps LoRA a distributed inference engine could be workable and cheaper to run.
#java #llm #transformer #ai #oss
safety of LLMs as coding copilots is better for languages where higher order structures (arrays, dicts) are not mutable across function calls like #scala#dsl https://t.co/d12t5ttGzc
@niw@saiedg@antimatter15@ecjwg@ggerganov Is `ggml-alpaca-7b-q4.bin` available for download? https://t.co/JSrdUSkOvi repo does not have any hyperlink to the file
After 8 years of work, 28,000 commits, 7,400 pull requests, 4,100 closed issues – Scala 3 is finally out. Thank you #scala 3 team for being open for the contribution! Glad to be part of it
https://t.co/C3r2HN3TAv
Just blogged about my journey to a globally distributed, scale-on-demand, edge-cached, webapp; bringing together: GraalVM Native Image, Scala, Buildpacks, GitHub Actions, Cloud Run, and a bunch of other stuff.
https://t.co/W1lrmQXsvo
How to become expert at thing:
1 iteratively take on concrete projects and accomplish them depth wise, learning “on demand” (ie don’t learn bottom up breadth wise)
2 teach/summarize everything you learn in your own words
3 only compare yourself to younger you, never to others
Are you getting ready for #Scala3?
Make sure to review the evolving @scala_lang Migration Guide! The Scala Center is looking for community feedback and help filling out any missing content in preparation for the big release!
https://t.co/28eU8tbmuR
#scala#adt in the form of sealed trait and case class comes to #java in the form of sealed class and record. With #scala3, #java becomes #scala2 idiomatic and #scala3 introduces brand new programming patterns, unavailable in the other mainstream programming languages