prince-canuma commited on
Commit
bdb29db
1 Parent(s): 4499481

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,36 +1,36 @@
1
- ---
2
- language:
3
- - en
4
- license: apache-2.0
5
- tags:
6
- - multimodal
7
- - vision
8
- - image-text-to-text
9
- - mlx
10
- datasets:
11
- - HuggingFaceM4/OBELICS
12
- - laion/laion-coco
13
- - wikipedia
14
- - facebook/pmd
15
- - pixparse/idl-wds
16
- - pixparse/pdfa-eng-wds
17
- - wendlerc/RenderedText
18
- - HuggingFaceM4/the_cauldron
19
- - teknium/OpenHermes-2.5
20
- - GAIR/lima
21
- - databricks/databricks-dolly-15k
22
- - meta-math/MetaMathQA
23
- - TIGER-Lab/MathInstruct
24
- - microsoft/orca-math-word-problems-200k
25
- - camel-ai/math
26
- - AtlasUnified/atlas-math-sets
27
- - tiedong/goat
28
- - Lin-Chen/ShareGPT4V
29
- - jxu124/llava_conversation_58k
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.4**.
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": 4304,
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",