Image-to-Text
Transformers
Safetensors
vision-encoder-decoder
image-text-to-text
Generated from Trainer
Instructions to use qassim227/Auto-pharmacy-V5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use qassim227/Auto-pharmacy-V5 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="qassim227/Auto-pharmacy-V5")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("qassim227/Auto-pharmacy-V5") model = AutoModelForMultimodalLM.from_pretrained("qassim227/Auto-pharmacy-V5") - Notebooks
- Google Colab
- Kaggle
Auto-pharmacy-V5
This model is a fine-tuned version of microsoft/trocr-small-stage1 on an unknown dataset.
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 32
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 15
- mixed_precision_training: Native AMP
Framework versions
- Transformers 4.41.2
- Pytorch 2.1.2
- Datasets 2.19.2
- Tokenizers 0.19.1
- Downloads last month
- 3
Model tree for qassim227/Auto-pharmacy-V5
Base model
microsoft/trocr-small-stage1