no message
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -22,7 +22,7 @@ from vqgan_jax.modeling_flax_vqgan import VQModel
|
|
22 |
|
23 |
# Model hyperparameters, for convenience
|
24 |
OUTPUT_VOCAB_SIZE = 16384 + 1 # encoded image token space + 1 for bos
|
25 |
-
OUTPUT_LENGTH =
|
26 |
BOS_TOKEN_ID = 16384
|
27 |
BASE_MODEL = 'facebook/bart-large-cnn' # we currently have issues with bart-large
|
28 |
|
|
|
22 |
|
23 |
# Model hyperparameters, for convenience
|
24 |
OUTPUT_VOCAB_SIZE = 16384 + 1 # encoded image token space + 1 for bos
|
25 |
+
OUTPUT_LENGTH = 256 + 1 # number of encoded tokens + 1 for bos
|
26 |
BOS_TOKEN_ID = 16384
|
27 |
BASE_MODEL = 'facebook/bart-large-cnn' # we currently have issues with bart-large
|
28 |
|