Using GPT2 to generate typography

This small project began with the intention of making some “illustration” for my Mémoire (Essay — Thesis) about artificial intelligence and image generation.
I was wondering if I could use GPT-2, an algorithm made by Open-AI for text generation, for font character creation.

GPT-2 can generate using a dataset of given text, thus I extracted path from each font character using the SVG file format.
Here is a example of a encoded Bezier’s Curve Path using SVG :

<path d="M29.12,48.203c6.36-0.96,
13.919-1.68,22.199-1.68c15,0,25.199,3.479,
32.758,10.08c7.2,6.6,11.399,
15.959,11.399,29.039   
c0,13.199-4.079,23.999-11.
639,31.438c-7.561,7.561-20.
04,11.64-35.759,11.64c-7.44,
0-13.68-0.359-18.959-0.96V48.203z    M39.559,119.721c2.64,0.479,
6.48,0.6,10.56,0.6c22.319,0,
34.439-12.479,34.439-34.
318c0.12-19.079-10.
68-31.199-32.759-31.199   
c-5.4,0-9.479,0.48-12.24,
1.08V119.721z"/>

A script create SVG files with vectorized path, then another script convert it in a dataset usable for GPT-2, and I train the model. Once trained I can ask it to generate multiple samples.
You can check also animation
https://hear.felixjely.fr/gpt2font/

Here is the resultDownload