Flash is as simple as 1-2-3
We started the book by creating the first DL model in the form of CNN. We then used transfer learning to see that we can get higher accuracy by using representations learned on popular datasets and train models even quicker. Lightning Flash takes it to another level by providing a standardized framework for you to quickly access all the pre-trained model architectures as well as some popular datasets.
Using Flash means writing some of the most minimal forms of code to train a DL model. In fact, a simple Flash model can be as lightweight as five lines of code.
Once the libraries are imported, we only have to perform three basic steps:
- Supply your data: Create a data module to provide data to the framework:
datamodule = yourData.from_json( Â Â Â Â "yourFile", Â Â Â Â "text",
- Define your task and backbone: Now, it's time to define what you want to do with the data. You can select from...