Spaces:
Running
Running
File size: 2,132 Bytes
b626d26 23680f2 b626d26 23680f2 b626d26 565d41a 23680f2 565d41a 2a94f77 4dfa1ed 3592470 23680f2 4dfa1ed 23680f2 4dfa1ed 2a94f77 565d41a 3592470 2a94f77 4dfa1ed 2a94f77 4dfa1ed 2a94f77 4dfa1ed 2a94f77 4dfa1ed 565d41a 2a94f77 4dfa1ed 23680f2 4dfa1ed 23680f2 4dfa1ed 23680f2 4dfa1ed 23680f2 4dfa1ed 565d41a 3592470 565d41a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | ---
title: HyperView
emoji: 🔮
colorFrom: purple
colorTo: blue
sdk: docker
app_port: 7860
pinned: false
---
# HyperView Hello World
This is the main HyperView starter Space. It shows the same higher-resolution,
taxonomy-backed image sample through three geometric views and includes a small
custom introduction panel built with the public HyperView panel SDK:
- CLIP (`openai/clip-vit-base-patch32`) in Euclidean 3D
- CLIP (`openai/clip-vit-base-patch32`) in spherical 3D
- Hyper3-CLIP (`hyper3-clip-v1`) in hyperbolic Poincare 2D
The sample is drawn from `evendrow/inat24_tiny`, a compact iNaturalist 2024
subset with 1,000 images, 100 species, and taxonomy metadata. The visible label
is the broad `supercategory`, while sample metadata keeps common name, species,
kingdom, phylum, class, order, family, genus, location fields, license, and
rights holder.
The Docker image installs released packages from PyPI:
- `hyperview==1.1.1`
- `hyper-models[ml]==0.3.2`
## Dataset
The default stratified sample contains 300 images:
| Label | Samples |
| --- | ---: |
| plants | 50 |
| insects | 50 |
| birds | 42 |
| arachnids | 36 |
| amphibians | 30 |
| reptiles | 26 |
| fungi | 26 |
| mammals | 20 |
| fish | 10 |
| mollusks | 10 |
This keeps the demo small enough for Hugging Face CPU Spaces while preserving a
real biological hierarchy for geometry comparison. Images are resized only
when they exceed 1024 × 1024, avoiding the tiny 32 × 32 appearance of CIFAR.
## Reuse This Template
When copying this folder for another dataset:
1. Edit the constants block at the top of [demo.py](demo.py).
2. Update the stratification labels and target counts.
3. Rename the copied Space from `HyperView` to your project name.
4. Point a deploy workflow at the new folder.
## Deploy Source
This folder is synchronized to `hyper3labs/HyperView` by GitHub Actions from
the `hyperview-spaces` deployment repository.
Because `hyper3-clip-v1` is gated on Hugging Face, the running Space needs an
`HF_TOKEN` Space secret with read access to the model. The GitHub deployment
credential does not become a runtime secret automatically.
|