Release Bokehlicious model and RealBokeh dataset on Hugging Face
Hi @TimSeizinger 🤗
I'm Niels and work as part of the open-source team at Hugging Face. I discovered your work on Arxiv and was wondering whether you would like to submit it to hf.co/papers to improve its discoverability.If you are one of the authors, you can submit it at https://huggingface.co/papers/submit.
The paper page lets people discuss about your paper and lets them find artifacts about it (your models, dataset or demo for instance), you can also claim the paper as yours which will show up on your public profile at HF, add Github and project page URLs.
It'd be great to make the Bokehlicious model and RealBokeh dataset available on the 🤗 hub, to improve their discoverability/visibility. We can add tags so that people find them when filtering https://huggingface.co/models and https://huggingface.co/datasets.
Uploading models
See here for a guide: https://huggingface.co/docs/hub/models-uploading.
In this case, we could leverage the PyTorchModelHubMixin class which adds from_pretrained and push_to_hub to any custom nn.Module. Alternatively, one can leverages the hf_hub_download one-liner to download a checkpoint from the hub.
We encourage researchers to push each model checkpoint to a separate model repository, so that things like download stats also work. We can then also link the checkpoints to the paper page.
Uploading dataset
Would be awesome to make the dataset available on 🤗 , so that people can do:
from datasets import load_dataset
dataset = load_dataset("your-hf-org-or-username/your-dataset")
See here for a guide: https://huggingface.co/docs/datasets/loading.
Besides that, there's the dataset viewer which allows people to quickly explore the first few rows of the data in the browser.
Let me know if you're interested/need any help regarding this!
Cheers,
Niels ML Engineer @ HF 🤗
Hio,
The dataset is now public on HF (https://huggingface.co/datasets/timseizinger/RealBokeh_3MP), but I think the way I structure my datasets with external .json metadata files for each scene might confuse the dataset viewer a bit. I assume the regular loading function to download the entire thing should be working.
Do you have any tips for adapting my kinda custom structure (Input + variable has a GT image that depends on the variable) to one that's more integrated to HF's tools?
Great, could you mention the paper URL (https://huggingface.co/papers/2503.16067) in the dataset card? This makes your paper show up on the paper page, which you can also claim as authors.
As for the viewer, in case you make it compatible with the Datasets library, then it should be working: https://huggingface.co/docs/datasets/en/image_dataset. Basically you would have image and text columns.