Mindket

Semi-Supervised Contrastive Learning with SimCLR

Newversion 1 · updated

Overview

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 . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • 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
Runs in
  • A web browser, on the Space's page on Hugging Face
  • Windows, macOS or Linux with Python, from a downloaded copy
Start with
pip install -U huggingface_hub
hf download keras-io/semi-supervised-classification --repo-type space --local-dir semi-supervised-classification
cd semi-supervised-classification

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

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.

IndustryWho uses itHow they use itExample
ResearchVision researchersTry a model trained with few labelsRun an example image and read the prediction
EducationMachine learning studentsSee what semi-supervised training can produceCompare predictions across several examples
SoftwarePython developersRead a small Gradio demo around a Keras modelOpen 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 caseWhoWhat they get back
Classify an example imageLearnersThe model's predicted label
Try the bundled examplesAnyoneA quick sense of how the model behaves
Reuse as a baseDevelopersA 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.
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.

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.

  1. You pick or upload an image
  2. The Gradio page sends it to app.py
  3. The trained encoder and classifier process it
  4. 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 and files

README

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.

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.
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.

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

On Hugging Face, 13 November 2026

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

Links

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.

Files
README.md  4 KB

1 file, 4 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

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

ProductLikesBuilt withLicenseLast change
Semi-Supervised Contrastive Learning with SimCLR This page1gradioapache-2.0
Open VLM LeaderboardShares gradio1,034gradioapache-2.0
Face SwapShares gradio808gradiocc-by-nc-sa-4.0
TTS Spaces ArenaShares gradio493gradiozlib
Depth Anything 3Shares gradio490gradiocc-by-nc-4.0
BLIPShares gradio431gradiobsd-3-clause
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Research

See all in Research

Merlin-Cancer-Super

AbdomenAtlas · Kit

Detects and outlines tumors in 9 organs on CT scans, trained with the R-Super method that learns from radiology reports. A research model for medical imaging g…

New

EarthJev

dBenf · Kit

Answers typed questions about satellite image patches from all 12 Sentinel-2 bands, returning a probability for each option without writing text. A Qwen3.5-0.8…

New

getting-over-it-rl-jax

zimmerk4 · Kit

Plays the full game Getting Over It from the bottom to the end with a small trained policy network that learned inside a JAX physics simulator. For reinforceme…

New