diff for compatibility
Browse files- README.md +12 -18
- tokenizer_config.json +2 -1
README.md
CHANGED
@@ -16,28 +16,22 @@ extra_gated_button_content: I Accept Meta Chameleon Research License and AUP
|
|
16 |
pipeline_tag: image-text-to-text
|
17 |
---
|
18 |
|
19 |
-
|
|
|
|
|
|
|
|
|
20 |
|
21 |
-
Repository for Meta Chameleon, a mixed-modal early-fusion foundation model from FAIR. See the [Chameleon paper](//arxiv.org/abs/2405.09818) for more information.
|
22 |
|
23 |
-
|
24 |
|
25 |
-
*
|
|
|
26 |
|
27 |
-
|
28 |
|
29 |
-
|
30 |
-
```
|
31 |
-
@article{Chameleon_Team_Chameleon_Mixed-Modal_Early-Fusion_2024,
|
32 |
-
author = {Chameleon Team},
|
33 |
-
doi = {10.48550/arXiv.2405.09818},
|
34 |
-
journal = {arXiv preprint arXiv:2405.09818},
|
35 |
-
title = {Chameleon: Mixed-Modal Early-Fusion Foundation Models},
|
36 |
-
url = {https://github.com/facebookresearch/chameleon},
|
37 |
-
year = {2024}
|
38 |
-
}
|
39 |
-
```
|
40 |
|
41 |
-
|
42 |
|
43 |
-
|
|
|
16 |
pipeline_tag: image-text-to-text
|
17 |
---
|
18 |
|
19 |
+
<!-- header start -->
|
20 |
+
<p align="center">
|
21 |
+
<img src="https://huggingface.co/datasets/FriendliAI/documentation-images/resolve/main/model-card-assets/friendliai.png" width="100%" alt="FriendliAI Logo">
|
22 |
+
</p>
|
23 |
+
<!-- header end -->
|
24 |
|
|
|
25 |
|
26 |
+
# facebook/chameleon-7b
|
27 |
|
28 |
+
* Model creator: [facebook](https://huggingface.co/facebook)
|
29 |
+
* Original model: [chameleon-7b](https://huggingface.co/facebook/chameleon-7b)
|
30 |
|
31 |
+
## Differences
|
32 |
|
33 |
+
* Added missing chat template to tokenizer_config.json
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
+
## License
|
36 |
|
37 |
+
Refer to the license of the original model card.
|
tokenizer_config.json
CHANGED
@@ -131077,6 +131077,7 @@
|
|
131077 |
}
|
131078 |
},
|
131079 |
"bos_token": "<s>",
|
|
|
131080 |
"clean_up_tokenization_spaces": false,
|
131081 |
"eos_token": "</s>",
|
131082 |
"legacy": false,
|
@@ -131087,4 +131088,4 @@
|
|
131087 |
"tokenizer_class": "LlamaTokenizer",
|
131088 |
"unk_token": "<unk>",
|
131089 |
"use_default_system_prompt": false
|
131090 |
-
}
|
|
|
131077 |
}
|
131078 |
},
|
131079 |
"bos_token": "<s>",
|
131080 |
+
"chat_template": "{% for message in messages[-1:] %}{% for content in message['content'] | selectattr('type', 'equalto', 'text') %}{{ content['text'] }}{% endfor %}{% endfor %}<image>",
|
131081 |
"clean_up_tokenization_spaces": false,
|
131082 |
"eos_token": "</s>",
|
131083 |
"legacy": false,
|
|
|
131088 |
"tokenizer_class": "LlamaTokenizer",
|
131089 |
"unk_token": "<unk>",
|
131090 |
"use_default_system_prompt": false
|
131091 |
+
}
|