Instructions to use ashm/pubmed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use ashm/pubmed with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:ashm/pubmed') tokenizer = open_clip.get_tokenizer('hf-hub:ashm/pubmed') - Notebooks
- Google Colab
- Kaggle
Download example_data/biomed_image_classification_example_data/brain_MRI.jpg from ashm/pubmed: direct link, hf CLI and curl.
- Browser
- Download file 128 kB
-
https://huggingface.co/ashm/pubmed/resolve/main/example_data/biomed_image_classification_example_data/brain_MRI.jpg
- Command line
-
hf download hf://ashm/pubmed/example_data/biomed_image_classification_example_data/brain_MRI.jpg
-
curl -L -o brain_MRI.jpg https://huggingface.co/ashm/pubmed/resolve/main/example_data/biomed_image_classification_example_data/brain_MRI.jpg
128 kB
