Author: Deep Learner
Object-Oriented Programming (OOP) in Python
Watch Now This tutorial has a related video course created by the Real Python team. Watch it together with the written tutorial to deepen your understanding: Intro to Object-Oriented Programming (OOP) in Python Object-oriented programming (OOP) in Python lets you structure your code by grouping related properties and behaviors into individual objects. You create classes as blueprints and instantiate them to form objects. With OOP, you can model real-world entities and their interactions, and create complex systems with reusable components. […]
Read moreAbstracts: NeurIPS 2024 with Jindong Wang and Steven Euijong Whang
JINDONG WANG: Thank you. Nice to be here. STEVEN EUIJONG WHANG: It’s great to be here. HUIZINGA: So, Jindong, I’ll start with you. In just a few sentences, tell us what problem your research addresses and why people should care about it. JINDONG WANG: OK, everybody knows that with the widespread usage of large language models, hallucination has become a crucial factor of concern. Hallucination occurs when models generate false or nonexistent information. In particular, factual hallucination greatly undermines the […]
Read morePython Set Comprehensions: How and When to Use Them
Python set comprehensions provide a concise way to create and manipulate sets in your code. They generate sets with a clean syntax, making your code more readable and Pythonic. With set comprehensions, you can create, transform, and filter sets, which are great skills to add to your Python programming toolkit. In this tutorial, you’ll learn the syntax and use cases of set comprehensions, ensuring you can decide when and how to use them in your code. Understanding set comprehensions will […]
Read moreReducing CO₂ emissions with faster software
What can you as a software developer do to fight climate change? My first and primary answer is getting involved with local politics. However, if you write software that operates at sufficient scale, you can also reduce carbon emissions by making your software faster. In this article we’ll cover: Why more computation uses more electricity. Why you probably don’t need to think about this most of the time. Reducing emissions by reducing compute time. Reducing emissions with parallelism (even with […]
Read morePython News Roundup: December 2024
The Python community has kept up its momentum this month, delivering a host of exciting updates. From the promising improvements to template strings in PEP 750 to the release of Python 3.14.0a2, innovation is front and center. Developers are exploring new tools like partial validation in Pydantic 2.10, while popular projects adapt to the end of life of Python 3.8. December also welcomes the return of the beloved Advent of Code, challenging programmers and problem solvers with daily puzzles. And […]
Read moreAbstracts: NeurIPS 2024 with Weizhu Chen
WEIZHU CHEN: Thank you for having me, Amber. TINGLE: So let’s start with a brief overview of your paper. In a couple sentences, tell us about the problem your research addresses and, more importantly, why the research community and beyond should know about this work. CHEN: So my team basically in Microsoft GenAI, we are working on model training. So one of the things actually we do in the pretraining, we realize the importance of the data. And we found […]
Read moreAbstracts: NeurIPS 2024 with Pranjal Chitale
PRANJAL CHITALE: Hi, Gretchen. Thanks for having me. HUIZINGA: So, Pranjal, give us an overview of this paper. In a couple sentences, what problem are you trying to solve, and why should people care about it? CHITALE: So we are witnessing some exciting times as LLMs are rapidly evolving as tools for countless use cases. While most of these LLMs were initially leveraged for natural language processing tasks, they are now expanded across languages and modalities. However, a major gap […]
Read moreAbstracts: NeurIPS 2024 with Dylan Foster
DYLAN FOSTER: Thanks for having me. TINGLE: Let’s start with a brief overview of this paper. Tell us about the problem this work addresses and why the research community should know about it. FOSTER: So this is a, kind of, a theoretical work on reinforcement learning, or RL. When I say reinforcement learning, broadly speaking, this is talking about the question of how can we design AI agents that are capable of, like, interacting with unknown environments and learning how […]
Read more