Join 📚 Kevin's Highlights
A batch of the best highlights from what Kevin's read, .
"You asked the impossible of a machine,"
said Salo,
"and the machine complied."
The Sirens of Titan
Kurt Vonnegut
it’s important to realize that **ChatGPT and LaMDA aren’t trained to be correct**.
You can train models that are optimized to be correct—but
that’s a different kind of model.
Models like that are being built now;
they tend to be smaller and trained on specialized data sets
(O’Reilly Media has a search engine that has been trained on the 70,000+ items in our learning platform).
And you could integrate those models with GPT-style language models, so that
one group of models supplies the *facts* and
the other supplies the *language*.
Sydney and the Bard
Mike Loukides
🌟 Introducing the top 5 Python testing tools that every developer should have in their toolkit 🌟
1️⃣ Pytest:
A powerful and easy-to-use testing framework.
Say goodbye to test classes
and hello to simple test functions! 👋
2️⃣ Unittest:
The classic.
It's built-in, it's reliable, and it's been around for ages.
A true Python staple. 🐍
3️⃣ Mock:
Isolate and rule the world! 🌍
Replace parts of your system under testing with mock objects
and focus on what really matters.
4️⃣ Tox:
Test your code in various Python environments.
Ensure compatibility and make your code versatile! 🌐
5️⃣ Hypothesis:
Property-based testing made easy.
Generate test cases automatically
and put your code through its paces. 🏃
Sarah Floris, MS’ Post
Sarah Floris, MS
...catch up on these, and many more highlights