File size: 1,115 Bytes
3f817ee
29fbea7
464125c
 
3f817ee
 
 
 
 
 
 
464125c
 
3f817ee
 
 
7c65ac7
 
 
 
3f817ee
464125c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
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
---
base_model: LeroyDyer/Mixtral_AI_MiniTronVision
language:
- en
library_name: transformers
tags:
- 4-bit
- AWQ
- text-generation
- autotrain_compatible
- endpoints_compatible
- vision
pipeline_tag: image-text-to-text
inference: false
quantized_by: Suparious
---
# LeroyDyer/Mixtral_AI_MiniTronVision AWQ

- Model creator: [LeroyDyer](https://huggingface.co/LeroyDyer)
- Original model: [Mixtral_AI_MiniTronVision](https://huggingface.co/LeroyDyer/Mixtral_AI_MiniTronVision)

## Model Summary

# ADD HEAD

```



print('Add Vision...')
# ADD HEAD
# Combine pre-trained encoder and pre-trained decoder to form a Seq2Seq model



Vmodel = VisionEncoderDecoderModel.from_encoder_decoder_pretrained(
    "google/vit-base-patch16-224-in21k", "LeroyDyer/Mixtral_AI_Tiny"
)
_Encoder_ImageProcessor = Vmodel.encoder
_Decoder_ImageTokenizer = Vmodel.decoder
_VisionEncoderDecoderModel = Vmodel
# Add Pad tokems
LM_MODEL.VisionEncoderDecoder = _VisionEncoderDecoderModel
# Add Sub Components
LM_MODEL.Encoder_ImageProcessor = _Encoder_ImageProcessor
LM_MODEL.Decoder_ImageTokenizer = _Decoder_ImageTokenizer
LM_MODEL


```