Image-to-Text
Transformers
TensorBoard
Safetensors
vision-encoder-decoder
image-text-to-text
Generated from Trainer
Instructions to use qassim227/Auto-pharmacy-V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use qassim227/Auto-pharmacy-V2 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-V2")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("qassim227/Auto-pharmacy-V2") model = AutoModelForMultimodalLM.from_pretrained("qassim227/Auto-pharmacy-V2") - Notebooks
- Google Colab
- Kaggle
Auto-pharmacy-V2
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: 64
- eval_batch_size: 64
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 128
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 1
- mixed_precision_training: Native AMP
Framework versions
- Transformers 4.39.3
- Pytorch 2.1.2
- Datasets 2.18.0
- Tokenizers 0.15.2
- Downloads last month
- 4
Model tree for qassim227/Auto-pharmacy-V2
Base model
microsoft/trocr-small-stage1