Skip to content

vortico/flama-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to flama-demos 🤗

This repository contains a collection of examples and demonstrations showcasing the usage of the Flama.

Flama 🔥 is a python library which establishes a standard framework for development and deployment of APIs with special focus on machine learning (ML). The main aim of the framework is to make ridiculously simple the deployment of ML APIs, simplifying (when possible) the entire process to a single line of code. This is a Framework for the development of Lightweight Applications and Machine-learning Automation.

For more information about Flama:

Contents

This repository is organised to provide you with practical examples covering various aspects of Flama's capabilities. Whether you are interested in App development, deployment strategies, or leveraging machine learning APIs, you'll find relevant demos here.

Whilst the demos are organised into numbered folders, they are not necessarily meant to be followed in any particular order. The only reason for the numbering is to show the order in which the demos were created and published.

The following demos are currently available:

  • 01-mlapi-sklearn-pipeline: This demo shows how to create a simple Machine Learning (ML) API using Flama and Scikit-Learn. In the demo, we build from scratch an ML pipeline with simple (yet realistic) data preprocessing, training, and prediction steps. The demo shows how to package the pipeline as an FLM (Flama Lightweight Model) and deploy it as a REST API. The demo also shows how to use the API to make predictions from a simple web application. Finally, we customise the API's documentation and add a custom endpoint to the builtin endpoints provided by Flama. This demo was published as a blog post.

Usage

Each demo folder contains a detailed README with instructions on how to run the example. Follow the steps outlined in the respective demo's README to explore and experiment with Flama.

Contribution

We welcome contributions from the community! If you have additional demos, improvements, or bug fixes, feel free to open an issue or submit a pull request.

License

This repository is licensed under the Apache License, Version 2.0. See the LICENSE file for more details.