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…
Lets you try a Keras model built for supervised contrastive learning in a Gradio page, in a browser or on your own computer. Aimed at students and developers who want to see it work.
Supervised Contrastive Learning 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.
pip install -U huggingface_hub hf download keras-io/supervised-contrastive-learning --repo-type space --local-dir supervised-contrastive-learning cd supervised-contrastive-learning
This Gradio demo from keras-io wraps one model, keras-io/supervised-contrastive-learning-cifar10. The model name points to an image model trained on CIFAR-10 with supervised contrastive learning. You try it in a browser, or you run a copy on your own computer.
It suits students and developers who want to see a Keras image model at work before they read any training code. Teachers can show it as a live demo.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Education | Deep learning students | Test a trained image model without writing code | Open the Space and try one of the example files |
| Research | Machine learning researchers | Look at how a finished model is wired into a demo | Read app.py next to the model name |
| Software | Python developers | Run a copy locally and adapt it | Download the Space and start app.py |
Skip it if you need a training script or a general image tool, because this Space only wraps one model.
| Use case | Who | What they get back |
|---|---|---|
| Try the model | Students | The model's answer on the page for the input they pick |
| Read the code | Developers | The app.py file that connects the model to a Gradio page |
| Teach with it | Instructors | A demo they can run on their own computer |
You need a few things in place first.
pip install -U huggingface_hub hf download keras-io/supervised-contrastive-learning --repo-type space --local-dir supervised-contrastive-learning cd supervised-contrastive-learning pip install gradio pip install -r requirements.txt python app.py
Online, open the Space page and use the Gradio interface it shows. On your own computer, run the main file from the project folder and open the page it serves in your browser.
python app.py
You run python app.py inside the project folder. The Gradio page starts, you give it an input such as one of the files in the examples folder, and the page shows what the model returns for it.
If this is new to you, start online. Open the Space page and try an example file before you install anything. It is the quickest way to see a Keras model working.
If you know the field, note that the Space names a single model and app.py loads it. Supervised contrastive learning uses class labels when it compares examples during training. This Space looks like inference only, going by its listed files, so it shows no training and gives no accuracy figures.
The source gives no accuracy numbers or training details, so test it on your own examples before you rely on it.
Lets you try a Keras model built for supervised contrastive learning in a Gradio page, in a browser or on your own computer. Aimed at students and developers who want to see it work.
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.
What it is: This Gradio demo from keras-io wraps one model, keras-io/supervised-contrastive-learning-cifar10. The model name points to an image model trained on CIFAR-10 with supervised contrastive learning. You try it in a browser, or you run a copy on your own computer.
Who it suits: It suits students and developers who want to see a Keras image model at work before they read any training code. Teachers can show it as a live demo.
Industry | Who uses it | How they use it | Example
Education | Deep learning students | Test a trained image model without writing code | Open the Space and try one of the example files
Research | Machine learning researchers | Look at how a finished model is wired into a demo | Read app.py next to the model name
Software | Python developers | Run a copy locally and adapt it | Download the Space and start app.py
Skip it if you need a training script or a general image tool, because this Space only wraps one model.
Where to use it:
Use case | Who | What they get back
Try the model | Students | The model's answer on the page for the input they pick
Read the code | Developers | The app.py file that connects the model to a Gradio page
Teach with it | Instructors | A demo they can run on their own computer
How to set it up: You need a few things in place first.
pip install -U huggingface_hub
hf download keras-io/supervised-contrastive-learning --repo-type space --local-dir supervised-contrastive-learning
cd supervised-contrastive-learning
pip install gradio
pip install -r requirements.txt
python app.py
How to use it: Online, open the Space page and use the Gradio interface it shows. On your own computer, run the main file from the project folder and open the page it serves in your browser.
python app.py
Example: You run python app.py inside the project folder. The Gradio page starts, you give it an input such as one of the files in the examples folder, and the page shows what the model returns for it.
For newcomers and experts: If this is new to you, start online. Open the Space page and try an example file before you install anything. It is the quickest way to see a Keras model working.
If you know the field, note that the Space names a single model and app.py loads it. Supervised contrastive learning uses class labels when it compares examples during training. This Space looks like inference only, going by its listed files, so it shows no training and gives no accuracy figures.
Open the Space or run app.py
The Gradio page loads
You give it an input
The named model scores it
The result appears on the page
Good to know: The source gives no accuracy numbers or training details, so test it on your own examples before you rely on 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.
README.md 4 KB
Listed Hugging Face Spaces in the same category that share the most tags with this one.
| Product | Likes | Built with | License | Last change |
|---|---|---|---|---|
| Supervised Contrastive Learning This page | 5 | gradio | apache-2.0 | |
| Open VLM LeaderboardShares gradio | 1,034 | gradio | apache-2.0 | |
| Face SwapShares gradio | 808 | gradio | cc-by-nc-sa-4.0 | |
| TTS Spaces ArenaShares gradio | 493 | gradio | zlib | |
| Depth Anything 3Shares gradio | 490 | gradio | cc-by-nc-4.0 | |
| BLIPShares gradio | 431 | gradio | bsd-3-clause |
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…
Qwen · Kit
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…
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…
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…
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…
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…