Run this model with HF Jobs
Run General-Medical-AI/Ophora on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/General-Medical-AI/Ophora. Ask me which dataset to train on, then push the fine-tuned model to a new private model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/General-Medical-AI/Ophora on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use General-Medical-AI/Ophora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use General-Medical-AI/Ophora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("General-Medical-AI/Ophora", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
|
Download README.md from General-Medical-AI/Ophora: direct link, hf CLI and curl.
- Browser
- Download file 505 Bytes
-
https://huggingface.co/General-Medical-AI/Ophora/resolve/main/README.md
- Command line
-
hf download hf://General-Medical-AI/Ophora/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/General-Medical-AI/Ophora/resolve/main/README.md
505 Bytes
Introduction
We present Ophora, a pioneering model that can generate ophthalmic surgical videos following natural language instructions.
Citation
@article{li2025ophora,
title={Ophora: A large-scale data-driven text-guided ophthalmic surgical video generation model},
author={Li, Wei and Hu, Ming and Wang, Guoan and Liu, Lihao and Zhou, Kaijin and Ning, Junzhi and Guo, Xin and Ge, Zongyuan and Gu, Lixu and He, Junjun},
journal={arXiv preprint arXiv:2505.07449},
year={2025}
}