Thanks for sharing. I was wondering if that was possible since Codex was announced. I wonder how accurate the reverse would be on a more complex problem; Fast.ai → Keras.
Thanks @jquintanilla4 - for a simple MNIST model training app, Codex can go both directions: Keras → fastai and fastai → Keras. The article only describes one direction but the accompanying video Codex translates between Keras and fastai - YouTube shows both directions: Keras → fastai and fastai → Keras. The Keras that Codex produces did need one tweak (it was missing import of numpy), but otherwise it worked. I have not done experiments with more complex applications yet - it’s possible that Codex does well in both directions for MNIST models because there are several MNIST examples for Keras and fastai in github (a primary source of training data for Codex) that are readily identifiable.