Open in app

Sign In

Write

Sign In

Ahmed Besbes
Ahmed Besbes

4.3K Followers

Home

Lists

About

Pinned

Get to Know Me Through My Work (Updated February 2023)

Bio, best work on Medium and extended online portfolio — Hey there 👋 and welcome to my Medium profile! My name is Ahmed. This blog is a collection of thoughts and projects about some of my favorite subjects: machine learning, software engineering, Python, and general programming tips. What does motivate me to write? 🤔 Passively reading about…

Data Science

5 min read

Get to Know Me Through My Work (Updated February 2023)
Get to Know Me Through My Work (Updated February 2023)
Data Science

5 min read


Published in

Level Up Coding

·Sep 14

4 Tools to Add to Your Python Project Before Shipping to Production

Here’s what to think about: dependencies, code quality, workflow, credentials — Building good software follows specific rules and enforces industry standards. Bust how does that reflect on a real-life codebase? In this post, I’ll show you 4 tools I set up in my Python projects in order to streamline the development workflow and enforce some best practices. These tools helped me…

Programming

6 min read

4 Tools to Add to Your Python Project Before Shipping to Production
4 Tools to Add to Your Python Project Before Shipping to Production
Programming

6 min read


Sep 2

Because of The New Medium Partner Program, I’m Moving To Substack

And I might not be the only one — You can now subscribe to my new Substack newsletter to get exclusive content on Machine Learning, Data Engineering and Programming. It’s free and you’ll get the same content I usually put in Medium behind the paywall. Enjoy. Some context first I have been writing on Medium for +3 years and it’s been a…

Medium

4 min read

Because of The New Medium Partner Program, I’m Moving To Substack
Because of The New Medium Partner Program, I’m Moving To Substack
Medium

4 min read


Published in

Level Up Coding

·Aug 27

10 Python Magic Methods Every Developer Should Know

Add built-in behaviors to custom objects with a few lines of code — If you’re a Python developer, you may have probably encountered these special methods that start and end with double underscores “__” such as __init__, __len__, or __getitem__ . These methods are funnily named dunders and are also referred to as magic methods because they are executed in a non-standard way…

Python

6 min read

10 Python Magic Methods Every Developer Should Know
10 Python Magic Methods Every Developer Should Know
Python

6 min read


Published in

Level Up Coding

·Aug 17

21 Python Tips And Concepts To Improve Your Code

Code less while coding better by following these tricks — Python is easy to write and understand but you can quickly use it the wrong way and jump into a minefield of anti-patterns. This post curates a list of 21 concise tips that improve your code readability and efficiency. They are drawn from personal projects, thorough code reviews, and inspiring…

Programming

16 min read

21 Python Tips And Concepts To Improve Your Code
21 Python Tips And Concepts To Improve Your Code
Programming

16 min read


Published in

Level Up Coding

·Aug 6

You Can Now Build A Chatbot To Talk To Your Internal Knowledge Base

Designing and implementing this system with Langchain — With the advent of Large Language Models (LLMs), it’s now possible to hold a human-like conversation with a bot on a wide variety of topics. This is an unprecedented innovation that made pre-2022 chatbots obsolete. In fact, with systems like ChatGPT, we’ve witnessed improvements such as enhanced linguistic capabilities (including…

Machine Learning

8 min read

You Can Now Build A Chatbot To Talk To Your Internal Knowledge Base
You Can Now Build A Chatbot To Talk To Your Internal Knowledge Base
Machine Learning

8 min read


Published in

Level Up Coding

·Jul 25

How To Build User-Friendly Command Line Interfaces with Rich?

Let more people try out your app — even if it’s a CLI — I like building Python-based Command Line (CLI) applications. It’s probably my geeky part that speaks. However, some would say that these special programs lack UX and aesthetics to make them more engaging and less intimidating to a larger audience. This is somehow true. Wouldn’t be great for example to add…

Programming

7 min read

How To Build User-Friendly Command Line Interfaces with Rich?
How To Build User-Friendly Command Line Interfaces with Rich?
Programming

7 min read


Published in

Towards Data Science

·Jul 22

How to Improve Your Code Quality with Python Pre-Commit Hooks?

Commit your code with peace of mind — If you’re a Python developer, you may frequently come across situations where your team members have different coding styles that make the codebase inconsistent. As a result, this leads to bugs, decreases productivity, and makes collaboration difficult. As someone who strives to maintain code quality, I know how painful this…

Programming

7 min read

How to Improve Your Code Quality with Python Pre-Commit Hooks?
How to Improve Your Code Quality with Python Pre-Commit Hooks?
Programming

7 min read


Published in

Towards Data Science

·May 2

Learn How to Build and Deploy a Voice Chatbot with Langchain and BentoML

BentoML is Like Lego for ML engineers — In this post, we will guide you through the process of building a voice-based ChatGPT clone that relies on the OpenAI API and uses Wikipedia as an additional data source. To build and deploy this app, we’ll be using BentoML: a Python framework for model serving and deployment. BentoML not…

Programming

11 min read

Deploy a Voice-Based Chatbot with BentoML, LangChain, and Gradio
Deploy a Voice-Based Chatbot with BentoML, LangChain, and Gradio
Programming

11 min read


Published in

Towards Data Science

·Apr 3

How To Deploy PyTorch Models as Production-Ready APIs

An end-to-end use-case combining PyTorch Lightning and BentoML — As an ML engineer, I often encounter two main challenges when working with deep learning models in production. The first one is the need to rewrite boilerplate code for each project to handle tasks like training loops, data loading, or metric computation. …

Programming

12 min read

How To Deploy PyTorch Models as Production-Ready APIs?
How To Deploy PyTorch Models as Production-Ready APIs?
Programming

12 min read

Ahmed Besbes

Ahmed Besbes

4.3K Followers

Medium Top Writer (+2M views) | I do my best explaining concepts in programming, Python and ML | Exclusive content: https://thetechbuffet.substack.com/

Following
  • ODSC - Open Data Science

    ODSC - Open Data Science

  • javinpaul

    javinpaul

  • Space

    Space

  • Tony Stubblebine

    Tony Stubblebine

  • Jigsaw

    Jigsaw

See all (1,894)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams