fastai2 / README.md
Choucri FAHED
update doc
51badb6
metadata
title: Fastai2
emoji: 🦀
colorFrom: indigo
colorTo: green
sdk: gradio
sdk_version: 3.1.4
app_file: app.py
pinned: false
license: apache-2.0

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

Train and download the model

Before generating and downloading the model, make sure to launch git lfs install.

The notebook that generated the model pickle file model.pkl is here.

Setup a fully working Fastai environment on Mac

Install Mamba which is a faster Conda. And both are preferred to pip because pip doesn't install GPU dependencies.

Then, run the following commands:

mamba init
mamba install -c fastchan fastai
mamba install -c fastai nbdev
mamba install jupyter
pip install gradio

Finally, launch Jupyter with jupyter notebook.

The app is deployed here.