Skip to content

Commit

Permalink
push
Browse files Browse the repository at this point in the history
  • Loading branch information
arielcohen4 committed Oct 31, 2024
1 parent d82c17f commit 2595675
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 14 deletions.
58 changes: 44 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,27 @@
<div align="center">

<a href="https://geflex.ai"><picture>

<!-- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20logo%20white%20text.png">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20logo%20black%20text.png">
<img alt="unsloth logo" src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20logo%20black%20text.png" height="110" style="max-width: 100%;">
</picture></a> -->

<a href="https://colab.research.google.com/drive/1nSFRjrHpbz372h7W-2G7jmTuh_Dhiv9x?authuser=2#scrollTo=RiXPwLmHBOCV"><img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/start free finetune button.png" height="48"></a>
<a href="https://getflexai.slack.com/"><img src="https://camo.githubusercontent.com/f37ad221182fdeaf33cdb835972fe8826ff503d779821c3533d820cf3630f79d/68747470733a2f2f636c6f7564626572727964622e6f72672f6173736574732f696d616765732f736c61636b5f627574746f6e2d37363130663963353164383230303961643931326164656431323463326438382e737667" height="48"></a>
<a href="https://app.apollo.io/#/meet/ariel/30-min"><img src=" ://raw.githubusercontent.com/unslothai/unsloth/main/images/buy me a coffee button.png" height="48"></a>

### Finetune Llama 3.2, Mistral, Phi-3.5 & Gemma 2-5x faster with 80% less memory!

![](https://i.ibb.co/sJ7RhGG/image-41.png)

</div>

# FlexAI

A platform that simplifies fine-tuning and inference for 60+ open-source LLMs through a single API interface. FlexAI enables serverless deployment, reducing setup time by up to 70%.

## Key Features
## Key Features

- Serverless fine-tuning and inference
- Live time and cost estimations
Expand All @@ -12,13 +31,26 @@ A platform that simplifies fine-tuning and inference for 60+ open-source LLMs th
- OpenAI-compatible Endpoints API
- Interactive Playground

## Installation
## ✨ Get Started

1. Sign up at [app.getflex.ai](https://app.getflex.ai)
2. Get your API key from Settings -> API Keys
3. Start with our [documentation](https://docs.getflex.ai)

## 📚 Full Google Colab Example

[One Notebook to fine tune all LLMs](https://colab.research.google.com/drive/1nSFRjrHpbz372h7W-2G7jmTuh_Dhiv9x?authuser=2#scrollTo=RiXPwLmHBOCV)

## 💾 Installation

You dont need to install, no CUDA, no NVIDIA drivers, no setup. Our lightweight library is only an API wrapper to FlexAI serverless GPUs.
You can work from any operating system, including Windows, MacOS, and Linux.

```bash
pip install flex_ai openai
```

## Quick Start
## 🦥 Quick Start

```python
from flex_ai import FlexAI
Expand All @@ -33,6 +65,7 @@ dataset = client.create_dataset("Dataset Name", "train.jsonl", "eval.jsonl")
task = client.create_finetune(
name="My Task",
dataset_id=dataset["id"],
# You can choose from 60+ models, Full list [here](https://docs.getflex.ai/core-concepts/models)
model="meta-llama/Llama-3.2-3B-Instruct",
n_epochs=10,
train_with_lora=True,
Expand All @@ -51,7 +84,7 @@ endpoint = client.create_multi_lora_endpoint(
)
```

## Using Your Fine-tuned Model
## 🥇 Using Your Fine-tuned Model

```python
from openai import OpenAI
Expand All @@ -68,14 +101,11 @@ completion = client.completions.create(
)
```

## Get Started

1. Sign up at [app.getflex.ai](https://app.getflex.ai)
2. Get your API key from Settings -> API Keys
3. Start with our [documentation](https://docs.getflex.ai)

## Resources
## 🔗 Links and Resources

- [Documentation](https://docs.getflex.ai)
- [Platform](https://getflex.ai)
- [API Reference](https://docs.getflex.ai/api-reference)
| Type | Links |
| --------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| 📚 **Documentation & Wiki** | [Read Our Docs](https://docs.getflex.ai) |
| <img height="14" src="https://upload.wikimedia.org/wikipedia/commons/6/6f/Logo_of_Twitter.svg" />&nbsp; **Twitter (aka X)** | [Follow us on X](https://x.com/getflex_ai) |
| 💾 **Installation** | [getflex/README.md](https://github.com//getflexai/flex_ai/tree/main#-installation-instructions) |
| 🌐 **Supported Models** | [FlexAI Models](https://docs.getflex.ai/core-concepts/models) |
Binary file added flex_ai/images/call-with-founders.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2595675

Please sign in to comment.