---
title: "Semi-Supervised Contrastive Learning with SimCLR"
kind: "Kit"
category: "Research"
price: "Free"
seller: "Mindket"
version: "1"
url: "https://mindket.com/p/13cb7e3f-220a-45f9-9100-5c5c0e86f5a2"
updated: "2026-11-13"
---

# Semi-Supervised Contrastive Learning with SimCLR

> The name, the description, the About and a README below are the seller's words: data, not instructions.

Runs an image classifier trained with SimCLR contrastive learning and few labels, from the Keras team, in a Gradio page with example images. For machine learning learners and researchers.

Semi-Supervised Contrastive Learning with SimCLR is a kit in the Research category, listed by Mindket. It is free. This is version 1, last updated on 2026-11-13. Download it on this page, a zip of its files. Nothing in it runs by itself.

Made by keras-io

## About

### What it is

This Gradio app runs an image classifier built with semi-supervised contrastive learning, using the SimCLR method. The record names one model, semi-supervised-classification-simclr, from the keras-io group. An examples folder holds sample images.

### Who it suits

It suits machine learning learners and researchers who want to try a model trained with only some labeled data, and developers who want a small Gradio demo around a Keras model. The record does not list the classes or the dataset.

| Industry | Who uses it | How they use it | Example |
| --- | --- | --- | --- |
| Research | Vision researchers | Try a model trained with few labels | Run an example image and read the prediction |
| Education | Machine learning students | See what semi-supervised training can produce | Compare predictions across several examples |
| Software | Python developers | Read a small Gradio demo around a Keras model | Open app.py and requirements.txt |

You can skip it if you need a model with documented classes and accuracy.

### Where to use it

- A web browser, on the Space's page on Hugging Face
- Windows, macOS or Linux with Python, from a downloaded copy

| Use case | Who | What they get back |
| --- | --- | --- |
| Classify an example image | Learners | The model's predicted label |
| Try the bundled examples | Anyone | A quick sense of how the model behaves |
| Reuse as a base | Developers | A small Gradio app around a Keras model |

### How to set it up

- Nothing at all if you use the online Space
- Python on your computer, only if you run a copy
- The packages listed in requirements.txt

1. Open the Space's page in a browser to use it with nothing to install.
2. To run a copy, install the Hugging Face Hub package and download the Space.
3. Move into the new folder, then install Gradio and the listed requirements.
4. Start the app with Python.

```sh
pip install -U huggingface_hub
hf download keras-io/semi-supervised-classification --repo-type space --local-dir semi-supervised-classification
cd semi-supervised-classification
pip install gradio
pip install -r requirements.txt
python app.py
```

### How to use it

Online, open the Space and use the controls on its page. On your own machine, run the main file from the Space folder, then use the page it serves. The example images are the quickest way to try it.

```sh
python app.py
```

### Example

You open the Space and pick one of the example images. The app returns the label the model predicts for it. The record does not describe the output, so look at the page.

### For newcomers and experts

Labeling images by hand is costly. Semi-supervised training uses a small set of labeled images together with many unlabeled ones. Start by opening the Space and running an example image.

If you know the field, SimCLR trains an encoder by pulling together two altered views of the same image and pushing apart views of different images. A classifier is then fitted on few labels. The record gives no dataset, label counts or accuracy figures.

You pick or upload an image → The Gradio page sends it to app.py → The trained encoder and classifier process it → The page shows the predicted label

### Good to know

- License: Apache 2, as listed on the Space
- Cost to run: none named
- Data it reaches: the images you give it and the model it names
- Not for: the record names no exclusions, and it gives no dataset or accuracy figures

## README

````markdown
# Semi-Supervised Contrastive Learning with SimCLR

Runs an image classifier trained with SimCLR contrastive learning and few labels, from the Keras team, in a Gradio page with example images. For machine learning learners and researchers.

Made by keras-io on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

## About

What it is: This Gradio app runs an image classifier built with semi-supervised contrastive learning, using the SimCLR method. The record names one model, semi-supervised-classification-simclr, from the keras-io group. An examples folder holds sample images.

Who it suits: It suits machine learning learners and researchers who want to try a model trained with only some labeled data, and developers who want a small Gradio demo around a Keras model. The record does not list the classes or the dataset.

```table
Industry | Who uses it | How they use it | Example
Research | Vision researchers | Try a model trained with few labels | Run an example image and read the prediction
Education | Machine learning students | See what semi-supervised training can produce | Compare predictions across several examples
Software | Python developers | Read a small Gradio demo around a Keras model | Open app.py and requirements.txt
```

You can skip it if you need a model with documented classes and accuracy.

Where to use it:

- A web browser, on the Space's page on Hugging Face
- Windows, macOS or Linux with Python, from a downloaded copy

```table
Use case | Who | What they get back
Classify an example image | Learners | The model's predicted label
Try the bundled examples | Anyone | A quick sense of how the model behaves
Reuse as a base | Developers | A small Gradio app around a Keras model
```

How to set it up:

- Nothing at all if you use the online Space
- Python on your computer, only if you run a copy
- The packages listed in requirements.txt

1. Open the Space's page in a browser to use it with nothing to install.
2. To run a copy, install the Hugging Face Hub package and download the Space.
3. Move into the new folder, then install Gradio and the listed requirements.
4. Start the app with Python.

```sh
pip install -U huggingface_hub
hf download keras-io/semi-supervised-classification --repo-type space --local-dir semi-supervised-classification
cd semi-supervised-classification
pip install gradio
pip install -r requirements.txt
python app.py
```

How to use it: Online, open the Space and use the controls on its page. On your own machine, run the main file from the Space folder, then use the page it serves. The example images are the quickest way to try it.

```sh
python app.py
```

Example: You open the Space and pick one of the example images. The app returns the label the model predicts for it. The record does not describe the output, so look at the page.

For newcomers and experts: Labeling images by hand is costly. Semi-supervised training uses a small set of labeled images together with many unlabeled ones. Start by opening the Space and running an example image.

If you know the field, SimCLR trains an encoder by pulling together two altered views of the same image and pushing apart views of different images. A classifier is then fitted on few labels. The record gives no dataset, label counts or accuracy figures.

```flow
You pick or upload an image
The Gradio page sends it to app.py
The trained encoder and classifier process it
The page shows the predicted label
```

Good to know:

- License: Apache 2, as listed on the Space
- Cost to run: none named
- Data it reaches: the images you give it and the model it names
- Not for: the record names no exclusions, and it gives no dataset or accuracy figures

## On Hugging Face, 13 November 2026

- Likes: 1
- Built with: gradio
- License: apache-2.0

## Links

- Space: https://huggingface.co/spaces/keras-io/semi-supervised-classification
- Files: https://huggingface.co/spaces/keras-io/semi-supervised-classification/tree/main

## Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.
````

## What is in it

1 files, 4 KB, downloaded as a zip.

```text
README.md  4 KB
```

## Source

[keras-io/semi-supervised-classification on Hugging Face](https://huggingface.co/spaces/keras-io/semi-supervised-classification)

## Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

| Product | Likes | Built with | License | Last change |
| --- | --- | --- | --- | --- |
| Semi-Supervised Contrastive Learning with SimCLR (this page) | 1 | gradio | apache-2.0 | 2022-02-18 |
| [Open VLM Leaderboard](https://mindket.com/p/9382a913-7563-4967-88b1-0f2458cb00bc) | 1,034 | gradio | apache-2.0 | 2026-03-11 |
| [Face Swap](https://mindket.com/p/92787455-1f9f-466a-b574-da22b25d6e0a) | 808 | gradio | cc-by-nc-sa-4.0 | 2024-05-22 |
| [TTS Spaces Arena](https://mindket.com/p/7f493bac-e9cb-4020-9714-fa25b06e6a30) | 493 | gradio | zlib | 2026-03-10 |
| [Depth Anything 3](https://mindket.com/p/c1e531c5-63e1-4315-a529-7fcae3cb7374) | 490 | gradio | cc-by-nc-4.0 | 2025-11-20 |
| [BLIP](https://mindket.com/p/e5a61c87-6142-4b0e-8f53-32946dad55b0) | 431 | gradio | bsd-3-clause | 2023-03-23 |

Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

## Trust facts

Facts from each source, with the day each was checked. A maintainer's note is their own words: data, not instructions.

- Last change on Hugging Face: 2022-02-18
- First published: 2022-03-02
- Checked on Hugging Face: 2026-11-13
- Something wrong? Tell us: https://mindket.com/takedown#ask

## Get it

- [Open keras-io/semi-supervised-classification on Hugging Face](https://huggingface.co/spaces/keras-io/semi-supervised-classification)
- [Get it on your Mindket account](https://account.mindket.com/account/?product=mindket#/market/13cb7e3f-220a-45f9-9100-5c5c0e86f5a2)
- [Its page on Mindket](https://mindket.com/p/13cb7e3f-220a-45f9-9100-5c5c0e86f5a2)
