README.md CHANGED
@@ -1,129 +1,99 @@
1
  ---
2
- license: cc-by-4.0
3
  language:
4
  - en
5
  base_model:
6
- - google/paligemma2-3b-pt-448
7
  - kyutai/moshika-pytorch-bf16
 
 
8
  ---
 
9
 
10
- # Model Card for MoshiVis
11
 
12
 
13
  ## Model Details
14
 
15
  ### Model Description
16
 
17
- **MoshiVis** ([Project Page](https://kyutai.org/moshivis) | [arXiv](https://arxiv.org/abs/2503.15633)) is a perceptually augmented version of Moshi, giving it the ability to freely discuss images whilst maintaining its natural conversation style and low latency.
 
18
  To achieve this, Moshi has been extended with a visual backbone and a cross-attention mechanism to infuse the visual information into the language model.
19
- To train MoshiVis, we add a few parameters (~200M) on top of a frozen Moshi backbone (for the text/speech modeling aspect, ~7B params)
20
- and a PaliGemma2 vision encoder (for the image encoding part, ~400M parameters).
21
-
22
- This model page contains the `Moshika` (female voice) model weights for the `Pytorch` backend of the MoshiVis repo, in `bfloat16`.
23
- We provide the same model weights for other backends and quantization formats in the associated model collection.
24
 
25
  - **Developed by:** Kyutai
26
  - **Model type:** Multimodal speech+vision+text foundation model
27
  - **Language(s) (NLP):** English
28
- - **License:** CC-BY-4.0
29
- - **Uses frozen components from:** [Moshika](https://huggingface.co/kyutai/moshika-pytorch-bf16) and [PaliGemma2](https://huggingface.co/google/paligemma2-3b-pt-448)
30
- - **Terms of use:** As the released models include frozen weights of the SigLIP image encoder from PaliGemma-2, MoshiVis is subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms
31
 
 
32
 
33
- ### Model Sources
34
 
35
- - **Project Page** [kyutai.org/moshivis](https://kyutai.org/moshivis)
36
- - **Preprint** ([arXiv/abs/2503.15633](https://arxiv.org/abs/2503.15633))
37
- - **Repository:** [Github kyutai-labs/moshivis](https://github.com/kyutai-labs/moshivis)
38
- - **Demo:** [Talk to Moshi](http://vis.moshi.chat)
39
 
40
  ## Uses
41
 
 
 
42
  ### Direct Use
43
 
 
44
  Similar to Moshi itself, MoshiVis can be used as a conversational agent for casual conversations, basic facts and advice (e.g. recipes, trivia), roleplay, etc.
45
  In addition, MoshiVis is able to recognize and discuss images in a natural way, whilst still allowing for low-latency interactions.
46
 
47
 
48
- ### Downstream Use
49
-
50
- Since MoshiVis was designed to infuse visual signal in a frozen Moshi backbone with only a few trainable parameters,
51
- the model could be adapted to different downstream scenarios by further finetuning these parameters :
52
- for instance adapting MoshiVis for a different off-the-shelf image encoder or different visual domains.
53
-
54
  ### Out-of-Scope Use
55
 
 
56
  The model is not intended to be used to impersonate other people or any malicious use of any kind.
57
  This model is for research only and we do not recommend it for providing advices or to perform any professionnal duty.
58
 
59
-
60
  ## Bias, Risks, and Limitations
61
 
62
- MoshiVis has been designed to perceptually augment the original [Moshi]((https://huggingface.co/kyutai/moshika-pytorch-bf16))
63
- model with vision capabilities and is expected to inherit similar biases and limitations.
 
64
 
65
 
66
- ### Recommendations
67
-
68
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
69
-
70
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
71
-
72
  ## How to Get Started with the Model
73
 
74
- See our [github repository](https://github.com/kyutai-labs/moshivis) for getting started.
75
-
76
 
77
  ## Training Details
78
 
79
- Stay tuned for our technical report, in which we will describe the training procedure in detail as well as report evaluation results.
80
-
81
- ### Training Data
82
-
83
- For information on the training data used for the base models, see [Pixtral](https://mistral.ai/news/pixtral-12b/) and
84
- [Moshi](https://huggingface.co/kyutai/moshika-pytorch-bf16) respectively.
85
- To train the cross-attention and gating mechanism that MoshiVis uses for processing images,
86
- we rely on a collection of publicly available datasets, namely:
87
- - [DOCCI](https://google.github.io/docci/)
88
- - [PixMo](https://huggingface.co/datasets/allenai/pixmo-cap)
89
- - [Pixelprose](https://arxiv.org/abs/2406.10328)
90
- - [TallyQA](https://arxiv.org/abs/1810.12440)
91
- - [OCR-VQA](https://ocr-vqa.github.io/)
92
- - [RenderedText](https://huggingface.co/datasets/wendlerc/RenderedText)
93
- - [DocVQA](https://arxiv.org/abs/2007.00398)
94
-
95
-
96
-
97
- ## Technical Specifications
98
 
99
 
100
- ### Compute Infrastructure
101
-
102
- MoshiVis was designed as a relatively low-cost adaptation of Moshi (~200M extra trainable parameters)
103
- and was trained on a single DGX node with 8 H100 GPUs.
104
-
105
 
106
- #### Software
 
107
 
108
- Our training code was implemented in Pytorch. Our inference code is available for Pytorch, Rust and MLX.
109
 
110
- ## Citation
 
 
 
 
 
 
 
 
 
111
 
112
- ```
113
- @article{kyutai2025moshivis,
114
- author = {Amélie Royer and Moritz Böhle and Gabriel de Marmiesse and
115
- Laurent Mazaré and Alexandre Défossez and Neil Zeghidour and Patrick Pérez},
116
- year = {2025},
117
- title = {Vision-Speech Models: Teaching Speech Models to Converse about Images},
118
- journal = {ArXiv},
119
- url = {https://arxiv.org/abs/2503.15633}
120
- }
121
- ```
122
 
123
 
 
124
 
 
125
 
126
- ## Model Card Authors and Contact
127
 
128
- * Amelie Royer
129
- * Moritz Boehle
 
1
  ---
2
+ license: apache-2.0
3
  language:
4
  - en
5
  base_model:
 
6
  - kyutai/moshika-pytorch-bf16
7
+ - mistralai/Pixtral-12B-2409
8
+ - mistral-community/pixtral-12b
9
  ---
10
+ # Model Card for Moshika Vision
11
 
12
+ <!-- Provide a quick summary of what the model is/does. -->
13
 
14
 
15
  ## Model Details
16
 
17
  ### Model Description
18
 
19
+ <!-- Provide a longer summary of what this model is. -->
20
+ MoshiVis is a perceptually augmented version of Moshi, giving it the ability to freely discuss images whilst maintaining its natural conversation style and low latency.
21
  To achieve this, Moshi has been extended with a visual backbone and a cross-attention mechanism to infuse the visual information into the language model.
 
 
 
 
 
22
 
23
  - **Developed by:** Kyutai
24
  - **Model type:** Multimodal speech+vision+text foundation model
25
  - **Language(s) (NLP):** English
26
+ - **License:** Apache License 2.0
27
+ - **Finetuned from model:** [Moshika](https://huggingface.co/kyutai/moshika-vis-pytorch-bf16) and [Pixtral](https://huggingface.co/mistral-community/pixtral-12b)
 
28
 
29
+ ### Model Sources [optional]
30
 
31
+ <!-- Provide the basic links for the model. -->
32
 
33
+ - **Repository:** [Github kyutai-labs/moshivis](https://github.com/kyutai-labs/moshivis) <-- TODO: Update / check link
34
+ - **Demo [optional]:** [moshi.chat](https://moshi.chat/)
 
 
35
 
36
  ## Uses
37
 
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
  ### Direct Use
41
 
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
  Similar to Moshi itself, MoshiVis can be used as a conversational agent for casual conversations, basic facts and advice (e.g. recipes, trivia), roleplay, etc.
44
  In addition, MoshiVis is able to recognize and discuss images in a natural way, whilst still allowing for low-latency interactions.
45
 
46
 
 
 
 
 
 
 
47
  ### Out-of-Scope Use
48
 
49
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
50
  The model is not intended to be used to impersonate other people or any malicious use of any kind.
51
  This model is for research only and we do not recommend it for providing advices or to perform any professionnal duty.
52
 
 
53
  ## Bias, Risks, and Limitations
54
 
55
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
56
+ MoshiVis has been designed to perceptually augment the original Moshi model with vision capabilities and is expected to inherit similar biases and limitations, see also [Moshika](https://huggingface.co/kyutai/moshika-vis-pytorch-bf16).
57
+ Our analysis with respect to how much MoshiVis diverges from the original model is still ongoing.
58
 
59
 
 
 
 
 
 
 
60
  ## How to Get Started with the Model
61
 
62
+ See the [README file](https://github.com/kyutai-labs/moshivis) for getting started. <-- TODO: Update / check link
 
63
 
64
  ## Training Details
65
 
66
+ ### Model Architecture and Objective
67
+ Our goal was to design an efficient and effective adaptation mechanism that allows Moshi to discuss images whilst maintaining its previous conversational capabilities.
68
+ To achieve this, we train a cross-attention mechanism to insert image information from a pretrained and frozen vision backbone into the underlying language model, which is also kept frozen.
69
+ An additional gating mechanism ensures that the insertion of visual information does not impact the interaction with Moshi outside of discussions of images, allowing for a seamless back and forth between general and image-specific conversations.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
 
71
 
72
+ ### Training Procedure
 
 
 
 
73
 
74
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
75
+ Stay tuned for our technical report, in which we will describe the training procedure in detail!
76
 
77
+ ### Training Data
78
 
79
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
80
+ For information on the training data used for the base models, see [Pixtral](https://mistral.ai/news/pixtral-12b/) and [Moshi](https://huggingface.co/kyutai/moshika-pytorch-bf16) respectively.
81
+ To train the cross-attention and gating mechanism that MoshiVis uses for processing images, we rely on a collection of publicly available datasets:
82
+ - [Pixelprose](https://arxiv.org/abs/2406.10328)
83
+ - [DOCCI](https://arxiv.org/abs/2404.19753)
84
+ - [TallyQA](https://arxiv.org/abs/1810.12440)
85
+ - [OCRVQA](https://ocr-vqa.github.io/)
86
+ - [RenderedText](https://huggingface.co/datasets/wendlerc/RenderedText)
87
+ - [DocVQA](https://arxiv.org/abs/2007.00398)
88
+ - [ChartQA](https://aclanthology.org/2022.findings-acl.177/)
89
 
90
+ We will share additional details soon, stay tuned!
 
 
 
 
 
 
 
 
 
91
 
92
 
93
+ ### Compute Infrastructure
94
 
95
+ MoshiVis was designed as a relatively low-cost adaptation of Moshi and was trained on a single DGX node with 8 H100 GPUs provided by Scaleway.
96
 
97
+ ## Model Card Authors
98
 
99
+ Amélie Royer, Moritz Böhle
 
gemma_notice.txt DELETED
@@ -1,98 +0,0 @@
1
- As the released models include frozen weights of the SigLIP image encoder from PaliGemma-2, MoshiVis is subject to the Gemma Terms.
2
- Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms
3
-
4
-
5
- -------------- COPY OF GEMMA TERMS
6
- By using, reproducing, modifying, distributing, performing or displaying any portion or element of Gemma, Model Derivatives including via any Hosted Service, (each as defined below) (collectively, the "Gemma Services") or otherwise accepting the terms of this Agreement, you agree to be bound by this Agreement.
7
-
8
- Section 1: DEFINITIONS
9
-
10
- 1.1 Definitions
11
-
12
- (a) "Agreement" or "Gemma Terms of Use" means these terms and conditions that govern the use, reproduction, Distribution or modification of the Gemma Services and any terms and conditions incorporated by reference.
13
-
14
- (b) "Distribution" or "Distribute" means any transmission, publication, or other sharing of Gemma or Model Derivatives to a third party, including by providing or making Gemma or its functionality available as a hosted service via API, web access, or any other electronic or remote means ("Hosted Service").
15
-
16
- (c) "Gemma" means the set of machine learning language models, trained model weights and parameters identified in the Appendix, regardless of the source that you obtained it from.
17
-
18
- (d) "Google" means Google LLC.
19
-
20
- (e) "Model Derivatives" means all (i) modifications to Gemma, (ii) works based on Gemma, or (iii) any other machine learning model which is created by transfer of patterns of the weights, parameters, operations, or Output of Gemma, to that model in order to cause that model to perform similarly to Gemma, including distillation methods that use intermediate data representations or methods based on the generation of synthetic data Outputs by Gemma for training that model. For clarity, Outputs are not deemed Model Derivatives.
21
-
22
- (f) "Output" means the information content output of Gemma or a Model Derivative that results from operating or otherwise using Gemma or the Model Derivative, including via a Hosted Service.
23
-
24
- 1.2
25
-
26
- As used in this Agreement, "including" means "including without limitation".
27
-
28
- Section 2: ELIGIBILITY AND USAGE
29
-
30
- 2.1 Eligibility
31
-
32
- You represent and warrant that you have the legal capacity to enter into this Agreement (including being of sufficient age of consent). If you are accessing or using any of the Gemma Services for or on behalf of a legal entity, (a) you are entering into this Agreement on behalf of yourself and that legal entity, (b) you represent and warrant that you have the authority to act on behalf of and bind that entity to this Agreement and (c) references to "you" or "your" in the remainder of this Agreement refers to both you (as an individual) and that entity.
33
-
34
- 2.2 Use
35
-
36
- You may use, reproduce, modify, Distribute, perform or display any of the Gemma Services only in accordance with the terms of this Agreement, and must not violate (or encourage or permit anyone else to violate) any term of this Agreement.
37
-
38
- Section 3: DISTRIBUTION AND RESTRICTIONS
39
-
40
- 3.1 Distribution and Redistribution
41
-
42
- You may reproduce or Distribute copies of Gemma or Model Derivatives if you meet all of the following conditions:
43
-
44
- You must include the use restrictions referenced in Section 3.2 as an enforceable provision in any agreement (e.g., license agreement, terms of use, etc.) governing the use and/or distribution of Gemma or Model Derivatives and you must provide notice to subsequent users you Distribute to that Gemma or Model Derivatives are subject to the use restrictions in Section 3.2.
45
- You must provide all third party recipients of Gemma or Model Derivatives a copy of this Agreement.
46
- You must cause any modified files to carry prominent notices stating that you modified the files.
47
- All Distributions (other than through a Hosted Service) must be accompanied by a "Notice" text file that contains the following notice: "Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms".
48
- You may add your own intellectual property statement to your modifications and, except as set forth in this Section, may provide additional or different terms and conditions for use, reproduction, or Distribution of your modifications, or for any such Model Derivatives as a whole, provided your use, reproduction, modification, Distribution, performance, and display of Gemma otherwise complies with the terms and conditions of this Agreement. Any additional or different terms and conditions you impose must not conflict with the terms of this Agreement.
49
-
50
- 3.2 Use Restrictions
51
-
52
- You must not use any of the Gemma Services:
53
-
54
- for the restricted uses set forth in the Gemma Prohibited Use Policy at ai.google.dev/gemma/prohibited_use_policy ("Prohibited Use Policy"), which is hereby incorporated by reference into this Agreement; or
55
- in violation of applicable laws and regulations.
56
- To the maximum extent permitted by law, Google reserves the right to restrict (remotely or otherwise) usage of any of the Gemma Services that Google reasonably believes are in violation of this Agreement.
57
-
58
- 3.3 Generated Output
59
-
60
- Google claims no rights in Outputs you generate using Gemma. You and your users are solely responsible for Outputs and their subsequent uses.
61
-
62
- Section 4: ADDITIONAL PROVISIONS
63
-
64
- 4.1 Updates
65
-
66
- Google may update Gemma from time to time.
67
-
68
- 4.2 Trademarks
69
-
70
- Nothing in this Agreement grants you any rights to use Google's trademarks, trade names, logos or to otherwise suggest endorsement or misrepresent the relationship between you and Google. Google reserves any rights not expressly granted herein.
71
-
72
- 4.3 DISCLAIMER OF WARRANTY
73
-
74
- UNLESS REQUIRED BY APPLICABLE LAW, THE GEMMA SERVICES, AND OUTPUTS, ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF USING, REPRODUCING, MODIFYING, PERFORMING, DISPLAYING OR DISTRIBUTING ANY OF THE GEMMA SERVICES OR OUTPUTS AND ASSUME ANY AND ALL RISKS ASSOCIATED WITH YOUR USE OR DISTRIBUTION OF ANY OF THE GEMMA SERVICES OR OUTPUTS AND YOUR EXERCISE OF RIGHTS AND PERMISSIONS UNDER THIS AGREEMENT.
75
-
76
- 4.4 LIMITATION OF LIABILITY
77
-
78
- TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT AND UNDER NO LEGAL THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE), PRODUCT LIABILITY, CONTRACT, OR OTHERWISE, UNLESS REQUIRED BY APPLICABLE LAW, SHALL GOOGLE OR ITS AFFILIATES BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, EXEMPLARY, CONSEQUENTIAL, OR PUNITIVE DAMAGES, OR LOST PROFITS OF ANY KIND ARISING FROM THIS AGREEMENT OR RELATED TO, ANY OF THE GEMMA SERVICES OR OUTPUTS EVEN IF GOOGLE OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
79
-
80
- 4.5 Term, Termination, and Survival
81
-
82
- The term of this Agreement will commence upon your acceptance of this Agreement (including acceptance by your use, modification, or Distribution, reproduction, performance or display of any portion or element of the Gemma Services) and will continue in full force and effect until terminated in accordance with the terms of this Agreement. Google may terminate this Agreement if you are in breach of any term of this Agreement. Upon termination of this Agreement, you must delete and cease use and Distribution of all copies of Gemma and Model Derivatives in your possession or control. Sections 1, 2.1, 3.3, 4.2 to 4.9 shall survive the termination of this Agreement.
83
-
84
- 4.6 Governing Law and Jurisdiction
85
-
86
- This Agreement will be governed by the laws of the State of California without regard to choice of law principles. The UN Convention on Contracts for the International Sale of Goods does not apply to this Agreement. The state and federal courts of Santa Clara County, California shall have exclusive jurisdiction of any dispute arising out of this Agreement.
87
-
88
- 4.7 Severability
89
-
90
- If any provision of this Agreement is held to be invalid, illegal or unenforceable, the remaining provisions shall be unaffected thereby and remain valid as if such provision had not been set forth herein.
91
-
92
- 4.8 Entire Agreement
93
-
94
- This Agreement states all the terms agreed between the parties and supersedes all other agreements between the parties as of the date of acceptance relating to its subject matter.
95
-
96
- 4.9 No Waiver
97
-
98
- Google will not be treated as having waived any rights by not exercising (or delaying the exercise of) any rights under this Agreement.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
model.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:73d2e92ff89b99c200d8c6e625d3649022481da2fb9d10fd85b5ae12fcc6226b
3
- size 17445080792
 
 
 
 
tokenizer-e351c8d8-checkpoint125.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:09b782f0629851a271227fb9d36db65c041790365f11bbe5d3d59369cf863f50
3
- size 384644900
 
 
 
 
tokenizer_spm_32k_3.model DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:78d4336533ddc26f9acf7250d7fb83492152196c6ea4212c841df76933f18d2d
3
- size 552778