minpeter commited on
Commit
ca3e501
·
verified ·
1 Parent(s): ec00ad9

diff for compatibility

Browse files
Files changed (2) hide show
  1. README.md +12 -18
  2. 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
- # **Meta Chameleon 7B**
 
 
 
 
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
- The [Chameleon collection](//huggingface.co/collections/facebook/chameleon-668da9663f80d483b4c61f58) on HuggingFace contains [7 billion parameter](//huggingface.co/facebook/chameleon-7b) and [30 billion parameter](//huggingface.co/facebook/chameleon-30b) model checkpoints.
24
 
25
- *[more details and usage examples coming soon]*
 
26
 
27
- ### Citation
28
 
29
- To cite the paper, model, or software, please use the below:
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
- ### License
42
 
43
- Use of this repository and related resources are governed by the [Chameleon Research License](//ai.meta.com/resources/models-and-libraries/chameleon-license) and this repository's [LICENSE](./LICENSE) file.
 
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
+ }