Bonsai-27B-GGUF
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
Judges whether a picture is real or AI-generated, using a classifier trained on texture patches from about 50,000 real and 50,000 generated images. For anyone who wants a quick second opinion on an image.
AI Generated Image Detector is a kit in the Productivity 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 ymcmy/AI_Generated_Image_Detector --repo-type space --local-dir AI_Generated_Image_Detector cd AI_Generated_Image_Detector
This Space is an image classifier that judges whether a picture is real or AI-generated. It cuts the image into patches, sorts them by how much texture they hold, then runs a frequency measure on each patch before a trained classifier decides. The trained weights are included in the repository.
Journalists, researchers and curious users who want a second opinion on a picture, and students who want to study a small detector end to end.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Media | Journalists | Get a quick signal about a suspicious image | Check a picture sent in by a reader |
| Research | Researchers | Study a patch and frequency based detector | Read train.py and preprocess.py |
| Education | Students | See how an image classifier is trained | Follow the preprocess then train steps |
People who need proof for a legal or newsroom decision can skip it, since a classifier gives an estimate and not proof.
| Use case | Who | What they get back |
|---|---|---|
| Check an image | Journalists | A real or AI-generated judgment for the picture |
| Study the method | Researchers | Code for preprocessing, training and the model |
| Retrain | Students | A path to train your own copy on your data |
pip install -U huggingface_hub hf download ymcmy/AI_Generated_Image_Detector --repo-type space --local-dir AI_Generated_Image_Detector cd AI_Generated_Image_Detector pip install gradio==4.36.1 pip install -r requirements.txt python app.py
Open the Space page in a browser, or start your own copy with the command below. Then give the page a picture to check.
python app.py
You add a picture you are unsure about. The app runs its classifier on the image and returns whether it looks real or AI-generated.
If you are new, open the Space and try a picture you know is a photo, then one you know was generated. Treat the answer as a hint and not a verdict.
For experts, the detector splits each image into patches, labels them rich or poor in texture, and computes an azimuthal integral for each patch with a positional embedding. The author suggests running preprocess.py first and saving the data as .h5 files, then running train.py. Preprocessing is slow and keeps the CPU busy, so do not run it during training.
Judges whether a picture is real or AI-generated, using a classifier trained on texture patches from about 50,000 real and 50,000 generated images. For anyone who wants a quick second opinion on an image.
Made by ymcmy 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 Space is an image classifier that judges whether a picture is real or AI-generated. It cuts the image into patches, sorts them by how much texture they hold, then runs a frequency measure on each patch before a trained classifier decides. The trained weights are included in the repository.
Who it suits: Journalists, researchers and curious users who want a second opinion on a picture, and students who want to study a small detector end to end.
Industry | Who uses it | How they use it | Example
Media | Journalists | Get a quick signal about a suspicious image | Check a picture sent in by a reader
Research | Researchers | Study a patch and frequency based detector | Read train.py and preprocess.py
Education | Students | See how an image classifier is trained | Follow the preprocess then train steps
People who need proof for a legal or newsroom decision can skip it, since a classifier gives an estimate and not proof.
Where to use it:
Use case | Who | What they get back
Check an image | Journalists | A real or AI-generated judgment for the picture
Study the method | Researchers | Code for preprocessing, training and the model
Retrain | Students | A path to train your own copy on your data
How to set it up:
pip install -U huggingface_hub
hf download ymcmy/AI_Generated_Image_Detector --repo-type space --local-dir AI_Generated_Image_Detector
cd AI_Generated_Image_Detector
pip install gradio==4.36.1
pip install -r requirements.txt
python app.py
How to use it: Open the Space page in a browser, or start your own copy with the command below. Then give the page a picture to check.
python app.py
Example: You add a picture you are unsure about. The app runs its classifier on the image and returns whether it looks real or AI-generated.
For newcomers and experts: If you are new, open the Space and try a picture you know is a photo, then one you know was generated. Treat the answer as a hint and not a verdict.
For experts, the detector splits each image into patches, labels them rich or poor in texture, and computes an azimuthal integral for each patch with a positional embedding. The author suggests running preprocess.py first and saving the data as .h5 files, then running train.py. Preprocessing is slow and keeps the CPU busy, so do not run it during training.
You add an image
It is cut into patches
Each patch gets a frequency measure
The classifier gives its judgment
Good to know:
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 |
|---|---|---|---|---|
| AI Generated Image Detector This page | 11 | gradio | mit | |
| MusicGenShares gradio | 5,116 | gradio | cc-by-nc-4.0 | |
| Kokoro TTSShares gradio | 3,556 | gradio | apache-2.0 | |
| Background RemovalShares gradio | 2,988 | gradio | mit | |
| Omni Image EditorShares gradio | 2,922 | gradio | mit | |
| Diffusers Image OutpaintShares gradio | 2,565 | gradio | apache-2.0 |
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
LibertAIDAI · Kit
Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…
facebook · Kit
Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…
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…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
zarazhangrui · Skill
Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…