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 generation_config.json from OpenMed/Inkling2-Mini-BiomedicalSections-v1: direct link, hf CLI and curl.
- Browser
- Download file 98 Bytes
-
https://huggingface.co/OpenMed/Inkling2-Mini-BiomedicalSections-v1/resolve/main/generation_config.json
- Command line
-
hf download hf://OpenMed/Inkling2-Mini-BiomedicalSections-v1/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/OpenMed/Inkling2-Mini-BiomedicalSections-v1/resolve/main/generation_config.json
98 Bytes
| { | |
| "do_sample": true, | |
| "temperature": 1.0, | |
| "eos_token_id": 200006, | |
| "pad_token_id": 199999 | |
| } | |