Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Cats vs dogs identification from images

[![GitHub](https://img.shields.io/badge/GitHub-Repository-purple?style=for-the-badge&logo=github)](https://github.com/Paulescu/image-classification-with-local-vlms/)

In this example, you will learn how to fine-tune a Liquid Foundation Model to identify cats and dogs from images.

## Environment setup

You will need:

- [uv](https://docs.astral.sh/uv/) to manage Python dependencies and run the application efficiently without creating virtual environments manually.

## Step 1. Establishing baseline accuracy

Go ahead and clone the repository:
```sh
git clone https://github.com/Paulescu/image-classification-with-local-vlms.git
cd image-classification-with-local-vlms
```

Then, install the dependencies into a virtual environment using uv:
```sh
uv sync
```

Evaluation (and especially fine-tuning) scripts typically contain many parameters that need to be set. It is best practice to extracted
them into separate configuration files using whatever format you prefer. In this project we use YAML files, that you
place under the `configs` directory.

Fine-tuning scripts typically contain many parameters that need to be set. It is best practice to extracted
them into separate configuration files using whatever format you prefer. In this project we use YAML files, that you
place under the `configs` directory, and load them into our Python script using

```python

```

## Step 2. Fine tuning
14 changes: 14 additions & 0 deletions examples/customize-models/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Getting started

<Card href="/examples/customize-models/cats-vs-dogs-identification-from-images" shadow="md" style={{maxWidth: '500px'}}>
<CardHeader weight="bold">
Cats vs dogs identification from images
</CardHeader>
<CardBody>
Learn how to fine-tune a Liquid Foundation Model to identify cats and dogs from images.
<div style={{marginTop: '1rem', display: 'flex', gap: '0.5rem', flexWrap: 'wrap'}}>
<span className="badge badge--secondary">Fine-tuning</span>
<span className="badge badge--secondary">VLM</span>
</div>
</CardBody>
</Card>
14 changes: 14 additions & 0 deletions examples/deploy-models-on-ios/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Getting started

<Card href="/examples/deploy-models-on-ios/slogan-generator-app" shadow="md" style={{maxWidth: '500px'}}>
<CardHeader weight="bold">
Slogan Generator iOS app
</CardHeader>
<CardBody>
A simple iOS app that generates creative slogans using local AI models, with no internet connection required.
<div style={{marginTop: '1rem', display: 'flex', gap: '0.5rem', flexWrap: 'wrap'}}>
<span className="badge badge--secondary">iOS</span>
<span className="badge badge--secondary">LEAP SDK</span>
</div>
</CardBody>
</Card>
Loading