Python Artificial intelligence

Open-source Python projects categorized as Artificial intelligence

Top 23 Python Artificial intelligence Projects

  • fairseq

    Facebook AI Research Sequence-to-Sequence Toolkit written in Python.

    Project mention: Unsupervised (Semi-Supervised) ASR/STT training recipes | /r/deeplearning | 2023-11-03
  • spaCy

    💫 Industrial-strength Natural Language Processing (NLP) in Python

    Project mention: A beginner’s guide to sentiment analysis using OceanBase and spaCy | | 2023-10-25

    In this article, I'm going to walk through a sentiment analysis project from start to finish, using open-source Amazon product reviews. However, using the same approach, you can easily implement mass sentiment analysis on your own products. We'll explore an approach to sentiment analysis with one of the most popular Python NLP packages: spaCy.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • pytorch-lightning

    Deep learning framework to train, finetune and deploy AI models

    Project mention: Best practice for saving logits/activation values of model in PyTorch Lightning | /r/deeplearning | 2023-07-19

    I've been wondering on what is the recommended method of saving logits/activations using PyTorch Lightning. I've looked at Callbacks, Loggers and ModelHooks but none of the use-cases seem to be for this kind of activity (even if I were to create my own custom variants of each utility). The ModelCheckpoint Callback in its utility makes me feel like custom Callbacks would be the way to go but I'm not quite sure. This closed GitHub issue does address my issue to some extent.

  • OpenBBTerminal

    Investment Research for Everyone, Everywhere.

    Project mention: Open-Sourcing High-Frequency Trading and Market-Making Backtesting Tool | /r/Python | 2023-12-06

    You might want to suggest this as an extension to the OpenBB project - I imagine that could be of interest to them if there isn’t something like it built in already :-)

  • MindsDB

    MindsDB connects AI models to real time data

    Project mention: 🐍🐍 23 issues to grow yourself as an exceptional open-source Python expert 🧑‍💻 🥇 | | 2023-10-19

    Repo :

  • recommenders

    Best Practices on Recommendation Systems

    Project mention: My kernel dies when I fit my LightFm model from Microsoft Recommenders | /r/Jupyter | 2023-06-16
  • vit-pytorch

    Implementation of Vision Transformer, a simple way to achieve SOTA in vision classification with only a single transformer encoder, in Pytorch

    Project mention: Is it easier to go from Pytorch to TF and Keras than the other way around? | /r/pytorch | 2023-05-13

    I also need to learn Pyspark so right now I am going to download the Fashion Mnist dataset, use Pyspark to downsize each image and put the into separate folders according to their labels (just to show employers I can do some basic ETL with Pyspark, not sure how I am going to load for training in Pytorch yet though). Then I am going to write the simplest Le Net to try to categorize the fashion MNIST dataset (results will most likely be bad but it's okay). Next, try to learn transfer learning in Pytorch for both CNN or maybe skip ahead to ViT. Ideally at this point I want to study the Attention mechanism a bit more and try to implement Simple Vit which I saw here:

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • Ciphey

    ⚡ Automatically decrypt encryptions without knowing the key or cipher, decode encodings, and crack hashes ⚡

    Project mention: Email Obfuscation Rendered Almost Ineffective Against ChatGPT | | 2023-11-05

    Check Ciphey, I have used several times before and overall it’s great.

  • reinforcement-learning-an-introduction

    Python Implementation of Reinforcement Learning: An Introduction

    Project mention: Help request: Are the results of Sutton and Barto's Example 6.6 Cliff walking believable? What's likely the problem if my SARSA implementation can't replicate? | /r/reinforcementlearning | 2023-04-10

    The python code to generate any figure in this textbook is reproduced in a repo, and you can find the file for the figure in question here:

  • DALLE2-pytorch

    Implementation of DALL-E 2, OpenAI's updated text-to-image synthesis neural network, in Pytorch

    Project mention: One year ago I got access to closed beta DALL-E 2. | /r/singularity | 2023-05-25

    I was showing people Dalle2 last year and telling them how much of an impact an open source solution was going to have on, well, everything to do with art and design. (At the time Stable Diffusion had not released, not even the leak, and all hopes was on

  • Kornia

    Geometric Computer Vision Library for AI

  • ImageAI

    A python library built to empower developers to build applications and systems with self-contained Computer Vision capabilities

    Project mention: Photo gallery frontend with encryption and search | /r/selfhosted | 2023-11-27

    Hi. I want to implement an image server similar to Photoprism using ImageAI to tag images based on objects and context. However I don't want to spend to much time working on the frontend, at first I were thinking about using Danbooru and use Flexbooru or the web interface on my phone. But it doesn't have any encryption or password protection (since the purpose of it is to be used as a public image board).

  • imagen-pytorch

    Implementation of Imagen, Google's Text-to-Image Neural Network, in Pytorch

    Project mention: Google's StyleDrop can transfer style from a single image | /r/StableDiffusion | 2023-06-03

    If google doesnt, someone like lucidrains probably would implement it, just like he did for imagen and muse.

  • PaLM-rlhf-pytorch

    Implementation of RLHF (Reinforcement Learning with Human Feedback) on top of the PaLM architecture. Basically ChatGPT but with PaLM

    Project mention: How should I get an in-depth mathematical understanding of generative AI? | /r/datascience | 2023-05-18

    ChatGPT isn't open sourced so we don't know what the actual implementation is. I think you can read Open Assistant's source code for application design. If that is too much, try Open Chat Toolkit's source code for developer tools . If you need very bare implementation, you should go for lucidrains/PaLM-rlhf-pytorch.

  • TensorLayer

    Deep Learning and Reinforcement Learning Library for Scientists and Engineers

  • supervision

    We write your reusable computer vision tools. 💜

    Project mention: Show HN: Supervision, reusable computer vision utilities | | 2023-10-06
  • Stanza

    Stanford NLP Python library for tokenization, sentence segmentation, NER, and parsing of many human languages

    Project mention: Down and Out in the Magic Kingdom | | 2023-07-23
  • mycroft-core

    Mycroft Core, the Mycroft Artificial Intelligence platform.

    Project mention: Mycroft | | 2023-12-05

    I was expecting this to be about Mycroft the AI assistant ( ).

  • Mage

    🧙 The modern replacement for Airflow. Mage is an open-source data pipeline tool for transforming and integrating data.

    Project mention: A mage on the Hero’s Journey: a fantasy epic on how a startup rose from the ashes | | 2023-06-12

    In the coming years, Mage will create a cooperative experience so that developers can build data pipelines with their team and level up together. After that journey, Mage will go on an epic quest to create the 1st open world community experience in the data universe.

  • denoising-diffusion-pytorch

    Implementation of Denoising Diffusion Probabilistic Model in Pytorch

    Project mention: Commits · lucidrains/denoising-diffusion-pytorch | /r/u_metareflection | 2023-05-24
  • autoscraper

    A Smart, Automatic, Fast and Lightweight Web Scraper for Python

    Project mention: What are the best tools for web scraping and analysis of natural language to populate a dataset? | /r/datasets | 2023-04-12

    See if something like autoscraper or mlscraper suits your needs.

  • fiftyone

    The open-source tool for building high-quality datasets and computer vision models

    Project mention: FLaNK Stack Weekly for 07August2023 | | 2023-08-07
  • Baichuan-7B

    A large-scale 7B pretraining language model developed by BaiChuan-Inc.

    Project mention: Baichuan 7B reaches top of LLM leaderboard for it's size (New foundation model 4K tokens) | /r/LocalLLaMA | 2023-06-17

    GitHub: baichuan-inc/baichuan-7B: A large-scale 7B pretraining language model developed by BaiChuan-Inc. (

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-12-06.

Python Artificial intelligence related posts


What are some of the best open-source Artificial intelligence projects in Python? This list will help you:

Project Stars
1 fairseq 28,143
2 spaCy 27,703
3 pytorch-lightning 25,275
4 OpenBBTerminal 24,865
5 MindsDB 19,129
6 recommenders 16,751
7 vit-pytorch 16,063
8 Ciphey 14,382
9 reinforcement-learning-an-introduction 12,847
10 DALLE2-pytorch 10,376
11 Kornia 8,867
12 ImageAI 8,158
13 imagen-pytorch 7,462
14 PaLM-rlhf-pytorch 7,411
15 TensorLayer 7,256
16 supervision 7,069
17 Stanza 6,863
18 mycroft-core 6,379
19 Mage 5,994
20 denoising-diffusion-pytorch 5,884
21 autoscraper 5,667
22 fiftyone 5,488
23 Baichuan-7B 5,420
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives