This repository contains all the code and resources used for the AI Workshop session on Hugging Face as a Platform for AI Services, presented by Mykhailo Shtopko.
In this project:
- Built a Variational Autoencoder (VAE) for emoji data and integrate it with the Hugging Face,
- Prepared a custom emoji dataset and uploaded it to Hugging Face Hub,
- Developed a Gradio Space with:
- Encoding & Reconstruction: Upload an image and see its reconstruction,
- Generation from Noise: Sample new images from latent space,
- Interpolation: Create smooth morphing GIFs between two images.
/space/
: Gradio Space implementation (encoding, generation, interpolation)emoji_vae.ipynb
: Notebook for training & testing the VAEemoji_dataset_processing.ipynb
: Dataset preparation & Hugging Face upload script s
- Firstly, clone this repo:
git clone https://github.com/BioMikeUkr/AI-Workshop-HuggingFace.git
-
Preparing the dataset https://colab.research.google.com/github/BioMikeUkr/AI-Workshop-HuggingFace/blob/main/emoji_dataset_processing.ipynb
-
Building the model https://colab.research.google.com/github/BioMikeUkr/AI-Workshop-HuggingFace/blob/main/emoji_vae.ipynb
-
To create the space, first create a new Space on Hugging Face, then drag and drop the contents of the space/ directory into the upload interface.
- Model: BioMike/emoji_vae
- Dataset: BioMike/emoji-vae-dataset
- Space: EmojiVAE