Instructions to use swadhindas324/swin-resnet-mistral-SYDNEY-with-all-captioning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use swadhindas324/swin-resnet-mistral-SYDNEY-with-all-captioning with Transformers:
# Load model directly from transformers import AutoTokenizer, MultiTaskVED tokenizer = AutoTokenizer.from_pretrained("swadhindas324/swin-resnet-mistral-SYDNEY-with-all-captioning") model = MultiTaskVED.from_pretrained("swadhindas324/swin-resnet-mistral-SYDNEY-with-all-captioning") - Notebooks
- Google Colab
- Kaggle
swadhindas324/swin-resnet-mistral-SYDNEY-with-all-captioning
Browse files- README.md +95 -195
- config.json +86 -0
- generation_config.json +39 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
CHANGED
|
@@ -1,199 +1,99 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
-
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
-
|
| 21 |
-
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
###
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 96 |
-
|
| 97 |
-
#### Speeds, Sizes, Times [optional]
|
| 98 |
-
|
| 99 |
-
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 100 |
-
|
| 101 |
-
[More Information Needed]
|
| 102 |
-
|
| 103 |
-
## Evaluation
|
| 104 |
-
|
| 105 |
-
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 106 |
-
|
| 107 |
-
### Testing Data, Factors & Metrics
|
| 108 |
-
|
| 109 |
-
#### Testing Data
|
| 110 |
-
|
| 111 |
-
<!-- This should link to a Dataset Card if possible. -->
|
| 112 |
-
|
| 113 |
-
[More Information Needed]
|
| 114 |
-
|
| 115 |
-
#### Factors
|
| 116 |
-
|
| 117 |
-
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 118 |
-
|
| 119 |
-
[More Information Needed]
|
| 120 |
-
|
| 121 |
-
#### Metrics
|
| 122 |
-
|
| 123 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 124 |
-
|
| 125 |
-
[More Information Needed]
|
| 126 |
-
|
| 127 |
-
### Results
|
| 128 |
-
|
| 129 |
-
[More Information Needed]
|
| 130 |
-
|
| 131 |
-
#### Summary
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
## Model Examination [optional]
|
| 136 |
-
|
| 137 |
-
<!-- Relevant interpretability work for the model goes here -->
|
| 138 |
-
|
| 139 |
-
[More Information Needed]
|
| 140 |
-
|
| 141 |
-
## Environmental Impact
|
| 142 |
-
|
| 143 |
-
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 144 |
-
|
| 145 |
-
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 146 |
-
|
| 147 |
-
- **Hardware Type:** [More Information Needed]
|
| 148 |
-
- **Hours used:** [More Information Needed]
|
| 149 |
-
- **Cloud Provider:** [More Information Needed]
|
| 150 |
-
- **Compute Region:** [More Information Needed]
|
| 151 |
-
- **Carbon Emitted:** [More Information Needed]
|
| 152 |
-
|
| 153 |
-
## Technical Specifications [optional]
|
| 154 |
-
|
| 155 |
-
### Model Architecture and Objective
|
| 156 |
-
|
| 157 |
-
[More Information Needed]
|
| 158 |
-
|
| 159 |
-
### Compute Infrastructure
|
| 160 |
-
|
| 161 |
-
[More Information Needed]
|
| 162 |
-
|
| 163 |
-
#### Hardware
|
| 164 |
-
|
| 165 |
-
[More Information Needed]
|
| 166 |
-
|
| 167 |
-
#### Software
|
| 168 |
-
|
| 169 |
-
[More Information Needed]
|
| 170 |
-
|
| 171 |
-
## Citation [optional]
|
| 172 |
-
|
| 173 |
-
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 174 |
-
|
| 175 |
-
**BibTeX:**
|
| 176 |
-
|
| 177 |
-
[More Information Needed]
|
| 178 |
-
|
| 179 |
-
**APA:**
|
| 180 |
-
|
| 181 |
-
[More Information Needed]
|
| 182 |
-
|
| 183 |
-
## Glossary [optional]
|
| 184 |
-
|
| 185 |
-
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 186 |
-
|
| 187 |
-
[More Information Needed]
|
| 188 |
-
|
| 189 |
-
## More Information [optional]
|
| 190 |
-
|
| 191 |
-
[More Information Needed]
|
| 192 |
-
|
| 193 |
-
## Model Card Authors [optional]
|
| 194 |
-
|
| 195 |
-
[More Information Needed]
|
| 196 |
-
|
| 197 |
-
## Model Card Contact
|
| 198 |
-
|
| 199 |
-
[More Information Needed]
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- accuracy
|
| 7 |
+
model-index:
|
| 8 |
+
- name: swin-resnet-mistral-SYDNEY-with-all-captioning
|
| 9 |
+
results: []
|
| 10 |
---
|
| 11 |
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
# swin-resnet-mistral-SYDNEY-with-all-captioning
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 1.3232
|
| 20 |
+
- Accuracy: 65.7
|
| 21 |
+
- Bleu-1: 0.5949
|
| 22 |
+
- Bleu-2: 0.5339
|
| 23 |
+
- Bleu-3: 0.4914
|
| 24 |
+
- Bleu-4: 0.4557
|
| 25 |
+
- Meteor: 0.5436
|
| 26 |
+
- Rouge-l: 0.6098
|
| 27 |
+
- Cider: 1.6017
|
| 28 |
+
|
| 29 |
+
## Model description
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Intended uses & limitations
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training and evaluation data
|
| 38 |
+
|
| 39 |
+
More information needed
|
| 40 |
+
|
| 41 |
+
## Training procedure
|
| 42 |
+
|
| 43 |
+
### Training hyperparameters
|
| 44 |
+
|
| 45 |
+
The following hyperparameters were used during training:
|
| 46 |
+
- learning_rate: 0.0001
|
| 47 |
+
- train_batch_size: 64
|
| 48 |
+
- eval_batch_size: 64
|
| 49 |
+
- seed: 50
|
| 50 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 51 |
+
- lr_scheduler_type: linear
|
| 52 |
+
- lr_scheduler_warmup_steps: 1024
|
| 53 |
+
- num_epochs: 128
|
| 54 |
+
- mixed_precision_training: Native AMP
|
| 55 |
+
|
| 56 |
+
### Training results
|
| 57 |
+
|
| 58 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Bleu-1 | Bleu-2 | Bleu-3 | Bleu-4 | Meteor | Rouge-l | Cider |
|
| 59 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:------:|:------:|:------:|:------:|:-------:|:------:|
|
| 60 |
+
| No log | 1.0 | 44 | 1.2803 | 40.4 | 0.3525 | 0.2768 | 0.2257 | 0.1881 | 0.5016 | 0.4202 | 0.5907 |
|
| 61 |
+
| No log | 2.0 | 88 | 1.0514 | 61.77 | 0.4774 | 0.3355 | 0.2522 | 0.1907 | 0.4166 | 0.4002 | 0.4287 |
|
| 62 |
+
| No log | 3.0 | 132 | 0.9772 | 63.06 | 0.4879 | 0.3441 | 0.2625 | 0.2029 | 0.4153 | 0.4023 | 0.4082 |
|
| 63 |
+
| No log | 4.0 | 176 | 0.9050 | 63.2 | 0.4597 | 0.3120 | 0.2307 | 0.1715 | 0.3604 | 0.3639 | 0.3364 |
|
| 64 |
+
| No log | 5.0 | 220 | 0.8187 | 63.37 | 0.5164 | 0.3760 | 0.2936 | 0.2326 | 0.4161 | 0.4183 | 0.5877 |
|
| 65 |
+
| No log | 6.0 | 264 | 0.7221 | 64.99 | 0.4858 | 0.3419 | 0.2627 | 0.2076 | 0.3554 | 0.3831 | 0.6604 |
|
| 66 |
+
| No log | 7.0 | 308 | 0.6234 | 65.16 | 0.5295 | 0.3903 | 0.3082 | 0.2448 | 0.4427 | 0.4342 | 0.7510 |
|
| 67 |
+
| No log | 8.0 | 352 | 0.5437 | 65.47 | 0.5267 | 0.3811 | 0.2972 | 0.2365 | 0.4509 | 0.4387 | 0.7940 |
|
| 68 |
+
| No log | 9.0 | 396 | 0.5210 | 66.25 | 0.5267 | 0.4112 | 0.3427 | 0.2956 | 0.4322 | 0.4488 | 1.1293 |
|
| 69 |
+
| No log | 10.0 | 440 | 0.5277 | 66.31 | 0.6364 | 0.5407 | 0.4771 | 0.4297 | 0.5541 | 0.5557 | 1.8319 |
|
| 70 |
+
| No log | 11.0 | 484 | 0.5085 | 65.06 | 0.6104 | 0.5088 | 0.4397 | 0.3882 | 0.5494 | 0.5520 | 1.7389 |
|
| 71 |
+
| No log | 12.0 | 528 | 0.5123 | 66.97 | 0.6496 | 0.5495 | 0.4797 | 0.4301 | 0.5773 | 0.5768 | 1.7341 |
|
| 72 |
+
| No log | 13.0 | 572 | 0.5340 | 66.23 | 0.4950 | 0.3817 | 0.3181 | 0.2718 | 0.4101 | 0.4507 | 1.2149 |
|
| 73 |
+
| No log | 14.0 | 616 | 0.5329 | 65.39 | 0.6253 | 0.5224 | 0.4452 | 0.3868 | 0.5576 | 0.5502 | 1.5926 |
|
| 74 |
+
| No log | 15.0 | 660 | 0.5461 | 65.92 | 0.6656 | 0.5754 | 0.5075 | 0.4546 | 0.5780 | 0.5894 | 1.8762 |
|
| 75 |
+
| No log | 16.0 | 704 | 0.5435 | 64.68 | 0.6365 | 0.5344 | 0.4565 | 0.3999 | 0.5685 | 0.5655 | 1.8068 |
|
| 76 |
+
| No log | 17.0 | 748 | 0.5619 | 66.19 | 0.6833 | 0.5911 | 0.5134 | 0.4465 | 0.5917 | 0.6082 | 1.7530 |
|
| 77 |
+
| No log | 18.0 | 792 | 0.5653 | 67.21 | 0.6432 | 0.5915 | 0.5493 | 0.5167 | 0.6103 | 0.6437 | 2.0025 |
|
| 78 |
+
| No log | 19.0 | 836 | 0.5855 | 63.68 | 0.6954 | 0.5975 | 0.5215 | 0.4622 | 0.6169 | 0.6120 | 1.9900 |
|
| 79 |
+
| No log | 20.0 | 880 | 0.6408 | 65.66 | 0.6691 | 0.5775 | 0.5106 | 0.4595 | 0.6005 | 0.6201 | 1.6515 |
|
| 80 |
+
| No log | 21.0 | 924 | 0.6872 | 67.74 | 0.6715 | 0.5886 | 0.5357 | 0.4988 | 0.5834 | 0.6151 | 1.9363 |
|
| 81 |
+
| No log | 22.0 | 968 | 0.6886 | 67.71 | 0.6965 | 0.6232 | 0.5719 | 0.5328 | 0.6193 | 0.6512 | 1.9162 |
|
| 82 |
+
| No log | 23.0 | 1012 | 0.7542 | 68.1 | 0.6502 | 0.5819 | 0.5336 | 0.4944 | 0.5734 | 0.6080 | 1.7041 |
|
| 83 |
+
| 0.6311 | 24.0 | 1056 | 0.8377 | 68.45 | 0.6886 | 0.6151 | 0.5662 | 0.5214 | 0.5968 | 0.6452 | 1.8615 |
|
| 84 |
+
| 0.6311 | 25.0 | 1100 | 1.1727 | 66.68 | 0.6665 | 0.5867 | 0.5296 | 0.4833 | 0.5548 | 0.6124 | 1.4923 |
|
| 85 |
+
| 0.6311 | 26.0 | 1144 | 1.2276 | 65.85 | 0.6264 | 0.5559 | 0.5134 | 0.4719 | 0.5668 | 0.6141 | 1.6275 |
|
| 86 |
+
| 0.6311 | 27.0 | 1188 | 1.3551 | 66.24 | 0.5980 | 0.5307 | 0.4856 | 0.4470 | 0.5345 | 0.6031 | 1.4574 |
|
| 87 |
+
| 0.6311 | 28.0 | 1232 | 1.2643 | 67.33 | 0.6410 | 0.5789 | 0.5327 | 0.4950 | 0.5766 | 0.6416 | 1.6530 |
|
| 88 |
+
| 0.6311 | 29.0 | 1276 | 1.4213 | 65.98 | 0.4811 | 0.3962 | 0.3426 | 0.2991 | 0.4590 | 0.5586 | 0.9854 |
|
| 89 |
+
| 0.6311 | 30.0 | 1320 | 1.3364 | 65.73 | 0.5691 | 0.4999 | 0.4555 | 0.4207 | 0.5231 | 0.5991 | 1.3969 |
|
| 90 |
+
| 0.6311 | 31.0 | 1364 | 1.3737 | 65.49 | 0.5799 | 0.5158 | 0.4759 | 0.4416 | 0.5276 | 0.6097 | 1.4832 |
|
| 91 |
+
| 0.6311 | 32.0 | 1408 | 1.3232 | 65.7 | 0.5949 | 0.5339 | 0.4914 | 0.4557 | 0.5436 | 0.6098 | 1.6017 |
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
### Framework versions
|
| 95 |
+
|
| 96 |
+
- Transformers 5.12.1
|
| 97 |
+
- Pytorch 2.12.1+cu130
|
| 98 |
+
- Datasets 5.0.0
|
| 99 |
+
- Tokenizers 0.22.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"MultiTaskVED"
|
| 4 |
+
],
|
| 5 |
+
"decoder": {
|
| 6 |
+
"_name_or_path": "swadhindas324/mistral-SYDNEY",
|
| 7 |
+
"add_cross_attention": true,
|
| 8 |
+
"architectures": [
|
| 9 |
+
"MistralForCausalLM"
|
| 10 |
+
],
|
| 11 |
+
"attention_dropout": 0.0,
|
| 12 |
+
"bos_token_id": 480,
|
| 13 |
+
"chunk_size_feed_forward": 0,
|
| 14 |
+
"dtype": "float32",
|
| 15 |
+
"eos_token_id": 481,
|
| 16 |
+
"head_dim": 64,
|
| 17 |
+
"hidden_act": "silu",
|
| 18 |
+
"hidden_size": 768,
|
| 19 |
+
"id2label": {
|
| 20 |
+
"0": "LABEL_0",
|
| 21 |
+
"1": "LABEL_1"
|
| 22 |
+
},
|
| 23 |
+
"initializer_range": 0.02,
|
| 24 |
+
"intermediate_size": 3072,
|
| 25 |
+
"is_decoder": true,
|
| 26 |
+
"is_encoder_decoder": false,
|
| 27 |
+
"label2id": {
|
| 28 |
+
"LABEL_0": 0,
|
| 29 |
+
"LABEL_1": 1
|
| 30 |
+
},
|
| 31 |
+
"max_position_embeddings": 45,
|
| 32 |
+
"model_type": "mistral",
|
| 33 |
+
"num_attention_heads": 12,
|
| 34 |
+
"num_hidden_layers": 12,
|
| 35 |
+
"num_key_value_heads": 4,
|
| 36 |
+
"output_attentions": false,
|
| 37 |
+
"output_hidden_states": false,
|
| 38 |
+
"pad_token_id": 483,
|
| 39 |
+
"problem_type": null,
|
| 40 |
+
"return_dict": true,
|
| 41 |
+
"rms_norm_eps": 1e-06,
|
| 42 |
+
"rope_parameters": {
|
| 43 |
+
"rope_theta": 10000.0,
|
| 44 |
+
"rope_type": "default"
|
| 45 |
+
},
|
| 46 |
+
"sliding_window": 4096,
|
| 47 |
+
"tie_word_embeddings": false,
|
| 48 |
+
"type_vocab_size": 1,
|
| 49 |
+
"use_cache": false,
|
| 50 |
+
"vocab_size": 484
|
| 51 |
+
},
|
| 52 |
+
"decoder_start_token_id": 480,
|
| 53 |
+
"dtype": "float32",
|
| 54 |
+
"encoder": {
|
| 55 |
+
"_name_or_path": "swadhindas324/swin-resnet-vit",
|
| 56 |
+
"add_cross_attention": false,
|
| 57 |
+
"architectures": [
|
| 58 |
+
"Swin_Backbone"
|
| 59 |
+
],
|
| 60 |
+
"chunk_size_feed_forward": 0,
|
| 61 |
+
"dtype": "float32",
|
| 62 |
+
"hidden_size": 1024,
|
| 63 |
+
"id2label": {
|
| 64 |
+
"0": "LABEL_0",
|
| 65 |
+
"1": "LABEL_1"
|
| 66 |
+
},
|
| 67 |
+
"is_encoder_decoder": false,
|
| 68 |
+
"label2id": {
|
| 69 |
+
"LABEL_0": 0,
|
| 70 |
+
"LABEL_1": 1
|
| 71 |
+
},
|
| 72 |
+
"model_type": "swin_vit",
|
| 73 |
+
"output_attentions": false,
|
| 74 |
+
"output_hidden_states": false,
|
| 75 |
+
"pooler_output": 1024,
|
| 76 |
+
"problem_type": null,
|
| 77 |
+
"return_dict": true
|
| 78 |
+
},
|
| 79 |
+
"is_encoder_decoder": true,
|
| 80 |
+
"model_type": "vision-encoder-decoder",
|
| 81 |
+
"pad_token_id": 483,
|
| 82 |
+
"tie_word_embeddings": false,
|
| 83 |
+
"transformers_version": "5.12.1",
|
| 84 |
+
"use_cache": false,
|
| 85 |
+
"vocab_size": 484
|
| 86 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": false,
|
| 3 |
+
"assistant_confidence_threshold": 0.4,
|
| 4 |
+
"assistant_lookbehind": 10,
|
| 5 |
+
"bos_token_id": 480,
|
| 6 |
+
"diversity_penalty": 0.0,
|
| 7 |
+
"do_sample": false,
|
| 8 |
+
"early_stopping": true,
|
| 9 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 10 |
+
"encoder_repetition_penalty": 1.0,
|
| 11 |
+
"eos_token_id": 481,
|
| 12 |
+
"epsilon_cutoff": 0.0,
|
| 13 |
+
"eta_cutoff": 0.0,
|
| 14 |
+
"length_penalty": 2.0,
|
| 15 |
+
"max_length": 40,
|
| 16 |
+
"max_new_tokens": 40,
|
| 17 |
+
"min_length": 0,
|
| 18 |
+
"model_max_length": 40,
|
| 19 |
+
"no_repeat_ngram_size": 3,
|
| 20 |
+
"num_assistant_tokens": 20,
|
| 21 |
+
"num_assistant_tokens_schedule": "constant",
|
| 22 |
+
"num_beam_groups": 1,
|
| 23 |
+
"num_beams": 5,
|
| 24 |
+
"num_return_sequences": 1,
|
| 25 |
+
"output_attentions": false,
|
| 26 |
+
"output_hidden_states": false,
|
| 27 |
+
"output_scores": false,
|
| 28 |
+
"pad_token_id": 483,
|
| 29 |
+
"remove_invalid_values": false,
|
| 30 |
+
"repetition_penalty": 1.0,
|
| 31 |
+
"return_dict_in_generate": false,
|
| 32 |
+
"target_lookbehind": 10,
|
| 33 |
+
"temperature": 1.0,
|
| 34 |
+
"top_k": 50,
|
| 35 |
+
"top_p": 1.0,
|
| 36 |
+
"transformers_version": "5.12.1",
|
| 37 |
+
"typical_p": 1.0,
|
| 38 |
+
"use_cache": false
|
| 39 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04f834ef5ba6132efb3d8e6507600642c1fb572faefc28861ae90f1161c13d3e
|
| 3 |
+
size 1686203912
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ea919a36683c529726008f0b790dea4fcddfd92cf6cd36e6c9e868ef7100f01
|
| 3 |
+
size 5393
|