Instructions to use anothy1/dalle-tokenizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anothy1/dalle-tokenizer with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("anothy1/dalle-tokenizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +2 -8
config.json
CHANGED
|
@@ -6,10 +6,7 @@
|
|
| 6 |
"n_hid": 256,
|
| 7 |
"n_blk_per_group": 2,
|
| 8 |
"input_channels": 3,
|
| 9 |
-
"vocab_size": 8192
|
| 10 |
-
"device": "cpu",
|
| 11 |
-
"requires_grad": false,
|
| 12 |
-
"use_mixed_precision": true
|
| 13 |
},
|
| 14 |
"decoder": {
|
| 15 |
"group_count": 4,
|
|
@@ -17,9 +14,6 @@
|
|
| 17 |
"n_hid": 256,
|
| 18 |
"n_blk_per_group": 2,
|
| 19 |
"output_channels": 3,
|
| 20 |
-
"vocab_size": 8192
|
| 21 |
-
"device": "cpu",
|
| 22 |
-
"requires_grad": false,
|
| 23 |
-
"use_mixed_precision": true
|
| 24 |
}
|
| 25 |
}
|
|
|
|
| 6 |
"n_hid": 256,
|
| 7 |
"n_blk_per_group": 2,
|
| 8 |
"input_channels": 3,
|
| 9 |
+
"vocab_size": 8192
|
|
|
|
|
|
|
|
|
|
| 10 |
},
|
| 11 |
"decoder": {
|
| 12 |
"group_count": 4,
|
|
|
|
| 14 |
"n_hid": 256,
|
| 15 |
"n_blk_per_group": 2,
|
| 16 |
"output_channels": 3,
|
| 17 |
+
"vocab_size": 8192
|
|
|
|
|
|
|
|
|
|
| 18 |
}
|
| 19 |
}
|