prince-canuma
commited on
Commit
•
bdb29db
1
Parent(s):
4499481
Upload folder using huggingface_hub
Browse files- README.md +31 -31
- chat_template.json +3 -0
- config.json +1 -1
- model.safetensors +3 -0
- model.safetensors.index.json +0 -0
- tokenizer.json +0 -0
- tokenizer_config.json +2 -0
README.md
CHANGED
@@ -1,36 +1,36 @@
|
|
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 |
# mlx-community/idefics2-8b-chatty-4bit
|
33 |
-
This model was converted to MLX format from [`HuggingFaceM4/idefics2-8b-chatty`]() using mlx-vlm version **0.0
|
34 |
Refer to the [original model card](https://huggingface.co/HuggingFaceM4/idefics2-8b-chatty) for more details on the model.
|
35 |
## Use with mlx
|
36 |
|
|
|
1 |
+
---
|
2 |
+
datasets:
|
3 |
+
- HuggingFaceM4/OBELICS
|
4 |
+
- laion/laion-coco
|
5 |
+
- wikipedia
|
6 |
+
- facebook/pmd
|
7 |
+
- pixparse/idl-wds
|
8 |
+
- pixparse/pdfa-eng-wds
|
9 |
+
- wendlerc/RenderedText
|
10 |
+
- HuggingFaceM4/the_cauldron
|
11 |
+
- teknium/OpenHermes-2.5
|
12 |
+
- GAIR/lima
|
13 |
+
- databricks/databricks-dolly-15k
|
14 |
+
- meta-math/MetaMathQA
|
15 |
+
- TIGER-Lab/MathInstruct
|
16 |
+
- microsoft/orca-math-word-problems-200k
|
17 |
+
- camel-ai/math
|
18 |
+
- AtlasUnified/atlas-math-sets
|
19 |
+
- tiedong/goat
|
20 |
+
- Lin-Chen/ShareGPT4V
|
21 |
+
- jxu124/llava_conversation_58k
|
22 |
+
language:
|
23 |
+
- en
|
24 |
+
license: apache-2.0
|
25 |
+
tags:
|
26 |
+
- multimodal
|
27 |
+
- vision
|
28 |
+
- image-text-to-text
|
29 |
+
- mlx
|
30 |
+
---
|
31 |
|
32 |
# mlx-community/idefics2-8b-chatty-4bit
|
33 |
+
This model was converted to MLX format from [`HuggingFaceM4/idefics2-8b-chatty`]() using mlx-vlm version **0.1.0**.
|
34 |
Refer to the [original model card](https://huggingface.co/HuggingFaceM4/idefics2-8b-chatty) for more details on the model.
|
35 |
## Use with mlx
|
36 |
|
chat_template.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"chat_template": "{% for message in messages %}{{message['role'].capitalize()}}{% if message['content'][0]['type'] == 'image' %}{{':'}}{% else %}{{': '}}{% endif %}{% for line in message['content'] %}{% if line['type'] == 'text' %}{{line['text']}}{% elif line['type'] == 'image' %}{{ '<image>' }}{% endif %}{% endfor %}<end_of_utterance>\n{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}"
|
3 |
+
}
|
config.json
CHANGED
@@ -25,7 +25,7 @@
|
|
25 |
"vision_config": {
|
26 |
"hidden_size": 1152,
|
27 |
"image_size": 980,
|
28 |
-
"intermediate_size":
|
29 |
"model_type": "idefics2",
|
30 |
"num_attention_heads": 16,
|
31 |
"num_hidden_layers": 27,
|
|
|
25 |
"vision_config": {
|
26 |
"hidden_size": 1152,
|
27 |
"image_size": 980,
|
28 |
+
"intermediate_size": 4352,
|
29 |
"model_type": "idefics2",
|
30 |
"num_attention_heads": 16,
|
31 |
"num_hidden_layers": 27,
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd004d0bd3c417a64a4993bbe6fad20d851edd9467c8826cc4d6b08bf8d275e0
|
3 |
+
size 4748021239
|
model.safetensors.index.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
{
|
2 |
"add_bos_token": true,
|
3 |
"add_eos_token": false,
|
|
|
4 |
"added_tokens_decoder": {
|
5 |
"0": {
|
6 |
"content": "<unk>",
|
@@ -59,6 +60,7 @@
|
|
59 |
"bos_token": "<s>",
|
60 |
"clean_up_tokenization_spaces": false,
|
61 |
"eos_token": "</s>",
|
|
|
62 |
"model_max_length": 1000000000000000019884624838656,
|
63 |
"pad_token": "<unk>",
|
64 |
"processor_class": "Idefics2Processor",
|
|
|
1 |
{
|
2 |
"add_bos_token": true,
|
3 |
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
"added_tokens_decoder": {
|
6 |
"0": {
|
7 |
"content": "<unk>",
|
|
|
60 |
"bos_token": "<s>",
|
61 |
"clean_up_tokenization_spaces": false,
|
62 |
"eos_token": "</s>",
|
63 |
+
"legacy": false,
|
64 |
"model_max_length": 1000000000000000019884624838656,
|
65 |
"pad_token": "<unk>",
|
66 |
"processor_class": "Idefics2Processor",
|