Coding your own AI in 2023 with fastai

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • git-lfs

    Git extension for versioning large files

  • Before commit we need to install git-lfs first, because our model.pkl file is too big. Follow the link and the instructions to install it for your operating system. Now we are able to use git-lfs for our model.pkl:

  • duckduckgo-locales

    Translation files for <a href="https://duckduckgo.com"> </a>

  • # import libraries | imports will be available in all following cells as well from fastcore.all import * from fastai.vision.all import * import time import json def search_images(term, max_images=100): # define search_images function url = 'https://duckduckgo.com/' res = urlread(url,data={'q':term}) time.sleep(2) searchObj = re.search(r'vqd=([d-]+)&', res) requestUrl = url + 'i.js' # the duckduck go api url params = dict(l='us-en', o='json', q=term, vqd=searchObj.group(1), f=',,,', p='1', v7exp='a') headers = dict( referer='https://duckduckgo.com/' ) urls,data = set(),{'next':1} # loop through pages until we have enough images while len(urls)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • fastai

    The fastai deep learning library

  • To create the AI we will use fastai. This is a python library, which is build on top of pytorch. No worries, you don't need to know how to code python. We will learn how this stuff works along the way :)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts