Text Classification
Transformers
Safetensors
English
inkling2_loop
image-text-to-text
medical
biomedical
pubmed
abstracts
rhetorical-roles
inkling
openmed
Eval Results (legacy)
8-bit precision
modelopt
Instructions to use OpenMed/Inkling2-Mini-BiomedicalSections-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenMed/Inkling2-Mini-BiomedicalSections-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="OpenMed/Inkling2-Mini-BiomedicalSections-v1")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("OpenMed/Inkling2-Mini-BiomedicalSections-v1") model = AutoModelForMultimodalLM.from_pretrained("OpenMed/Inkling2-Mini-BiomedicalSections-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from OpenMed/Inkling2-Mini-BiomedicalSections-v1: direct link, hf CLI and curl.
- Browser
- Download file 461 Bytes
-
https://huggingface.co/OpenMed/Inkling2-Mini-BiomedicalSections-v1/resolve/main/processor_config.json
- Command line
-
hf download hf://OpenMed/Inkling2-Mini-BiomedicalSections-v1/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/OpenMed/Inkling2-Mini-BiomedicalSections-v1/resolve/main/processor_config.json
461 Bytes
| { | |
| "image_processor": { | |
| "do_convert_rgb": true, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "Inkling2ImageProcessor", | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 40, | |
| "width": 40 | |
| } | |
| }, | |
| "image_token": "<|unused_200054|>", | |
| "processor_class": "Inkling2Processor" | |
| } | |