SIMB: single self-contained inference bundle (bf16)
Browse files- NOTICE +18 -0
- README.md +43 -1
- codec/config.json +28 -0
- codec/dualcodec.safetensors +3 -0
- codec/semantic_stats.safetensors +3 -0
- codec/w2v-bert-2.0/config.json +81 -0
- codec/w2v-bert-2.0/model.safetensors +3 -0
- codec/w2v-bert-2.0/preprocessor_config.json +11 -0
- config.json +62 -0
- licenses/DualCodec_MIT_LICENSE.txt +21 -0
- licenses/Janus-Pro-7B_DEEPSEEK_LICENSE_AGREEMENT.txt +91 -0
- licenses/Janus_code_MIT_LICENSE.txt +21 -0
- licenses/Qwen2.5-3B_QWEN_RESEARCH_LICENSE_AGREEMENT.txt +54 -0
- licenses/w2v-bert-2.0_MIT_LICENSE.txt +24 -0
- model-00001-of-00005.safetensors +3 -0
- model-00002-of-00005.safetensors +3 -0
- model-00003-of-00005.safetensors +3 -0
- model-00004-of-00005.safetensors +3 -0
- model-00005-of-00005.safetensors +3 -0
- model.safetensors.index.json +0 -0
- special_tokens_map.json +16 -0
- tokenizer.json +0 -0
- tokenizer_config.json +10 -0
NOTICE
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
SIMB weights (KU-AGI/SIMB) contain or are derived from the following third-party models.
|
| 2 |
+
Each component remains under its own license; see the files in licenses/.
|
| 3 |
+
|
| 4 |
+
- Janus-Pro-7B (deepseek-ai/Janus-Pro-7B): VL expert, SigLIP encoder, VQ image tokenizer/decoder,
|
| 5 |
+
image generation head and tokenizer, under the DEEPSEEK LICENSE AGREEMENT, including its
|
| 6 |
+
use-based restrictions (Attachment A). Modification notice: tensor values are bit-identical to
|
| 7 |
+
Janus-Pro-7B, but the weights were re-packaged into the SIMB safetensors shards with renamed keys,
|
| 8 |
+
and the unused VQ encoder and SigLIP attention-pooling head were omitted.
|
| 9 |
+
licenses/Janus-Pro-7B_DEEPSEEK_LICENSE_AGREEMENT.txt
|
| 10 |
+
- Qwen2.5-3B (Qwen/Qwen2.5-3B): the speech expert is initialized from its first 30 layers and
|
| 11 |
+
fine-tuned. Qwen is licensed under the Qwen RESEARCH LICENSE AGREEMENT, Copyright (c) Alibaba
|
| 12 |
+
Cloud. All Rights Reserved. Built with Qwen.
|
| 13 |
+
licenses/Qwen2.5-3B_QWEN_RESEARCH_LICENSE_AGREEMENT.txt
|
| 14 |
+
- DualCodec 12.5 Hz (amphion/dualcodec), redistributed unmodified: codec/dualcodec.safetensors and
|
| 15 |
+
codec/semantic_stats.safetensors (the w2vbert2_mean_var_stats_emilia.pt statistics stored as
|
| 16 |
+
mean / std). DualCodec code is MIT licensed: licenses/DualCodec_MIT_LICENSE.txt
|
| 17 |
+
- w2v-BERT 2.0 (facebook/w2v-bert-2.0), redistributed unmodified in codec/w2v-bert-2.0:
|
| 18 |
+
licenses/w2v-bert-2.0_MIT_LICENSE.txt
|
README.md
CHANGED
|
@@ -1,3 +1,45 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: simb-composite
|
| 4 |
+
license_link: https://huggingface.co/KU-AGI/SIMB/blob/main/NOTICE
|
| 5 |
+
base_model:
|
| 6 |
+
- deepseek-ai/Janus-Pro-7B
|
| 7 |
+
- Qwen/Qwen2.5-3B
|
| 8 |
+
- amphion/dualcodec
|
| 9 |
+
- facebook/w2v-bert-2.0
|
| 10 |
+
tags:
|
| 11 |
+
- speech
|
| 12 |
+
- text-to-image
|
| 13 |
+
- image-to-speech
|
| 14 |
+
- visual-question-answering
|
| 15 |
+
- mixture-of-transformers
|
| 16 |
---
|
| 17 |
+
|
| 18 |
+
# SIMB
|
| 19 |
+
|
| 20 |
+
Weights for **SIMB: Self-Improving Cross-Modal Distillation via a Mixture of Bridges without Forgetting**. Code and usage: https://github.com/KU-AGI/SIMB
|
| 21 |
+
|
| 22 |
+
SIMB runs a frozen Janus-Pro-7B (VL expert) side by side with a speech expert (first 30 layers of Qwen2.5-3B over 12.5 Hz DualCodec tokens). Pathway-specific key/value bridges between the experts give speech-to-image generation, image-to-speech and spoken visual question answering, while the VL expert stays bit-identical to Janus-Pro-7B.
|
| 23 |
+
|
| 24 |
+
This repo is self-contained: the inference code loads everything from it and downloads no other model.
|
| 25 |
+
|
| 26 |
+
| Files | Contents | dtype |
|
| 27 |
+
|---|---|---|
|
| 28 |
+
| `model-0000*-of-00005.safetensors`, `config.json` | VL expert (Janus-Pro-7B LLM), SigLIP encoder + aligner, VQ image decoder, image embedding / generation head, speech expert, S2I / I2S / VQA bridges, speech embeddings and heads (11.8B parameters) | bf16 |
|
| 29 |
+
| `tokenizer*.json`, `special_tokens_map.json` | Janus-Pro tokenizer | |
|
| 30 |
+
| `codec/` | DualCodec 12.5 Hz codec, w2v-BERT 2.0 semantic encoder, feature normalization statistics | fp32 |
|
| 31 |
+
|
| 32 |
+
```python
|
| 33 |
+
from simb import SIMB # pip install -e . in https://github.com/KU-AGI/SIMB
|
| 34 |
+
model = SIMB.from_pretrained("KU-AGI/SIMB")
|
| 35 |
+
image, _ = model.generate_image("prompt.wav", seed=0)
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
## License
|
| 39 |
+
|
| 40 |
+
These weights combine components under different licenses; every use must comply with all of them (see `NOTICE` and `licenses/`):
|
| 41 |
+
|
| 42 |
+
- Janus-Pro-7B components: DeepSeek License Agreement, including its use-based restrictions (`licenses/Janus-Pro-7B_DEEPSEEK_LICENSE_AGREEMENT.txt`).
|
| 43 |
+
- Speech expert, initialized from Qwen2.5-3B: Qwen Research License Agreement, research and evaluation use only (`licenses/Qwen2.5-3B_QWEN_RESEARCH_LICENSE_AGREEMENT.txt`). Qwen is licensed under the Qwen RESEARCH LICENSE AGREEMENT, Copyright (c) Alibaba Cloud. All Rights Reserved. **Built with Qwen.**
|
| 44 |
+
- DualCodec (`amphion/dualcodec`): `licenses/DualCodec_MIT_LICENSE.txt`.
|
| 45 |
+
- w2v-BERT 2.0 (`facebook/w2v-bert-2.0`): MIT (`licenses/w2v-bert-2.0_MIT_LICENSE.txt`).
|
codec/config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dualcodec": {
|
| 3 |
+
"encoder_dim": 32,
|
| 4 |
+
"encoder_rates": [
|
| 5 |
+
4,
|
| 6 |
+
5,
|
| 7 |
+
6,
|
| 8 |
+
8,
|
| 9 |
+
2
|
| 10 |
+
],
|
| 11 |
+
"decoder_dim": 1536,
|
| 12 |
+
"decoder_rates": [
|
| 13 |
+
2,
|
| 14 |
+
8,
|
| 15 |
+
6,
|
| 16 |
+
5,
|
| 17 |
+
4
|
| 18 |
+
],
|
| 19 |
+
"n_codebooks": 7,
|
| 20 |
+
"codebook_size": 4096,
|
| 21 |
+
"semantic_codebook_size": 16384,
|
| 22 |
+
"convnext_dim": 768,
|
| 23 |
+
"convnext_layers": 4,
|
| 24 |
+
"semantic_downsample_factor": 4
|
| 25 |
+
},
|
| 26 |
+
"semantic_hidden_state_index": 17,
|
| 27 |
+
"silence_semantic": 3716
|
| 28 |
+
}
|
codec/dualcodec.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87da456709ba201f4ae28da23cfd5a23f7d7ec5cc92f5c8c8a14124459553cb2
|
| 3 |
+
size 336105136
|
codec/semantic_stats.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f99f38f9532f9837312828d96b066180c5dd68755239fe49395e0564d451fda
|
| 3 |
+
size 8328
|
codec/w2v-bert-2.0/config.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.0,
|
| 3 |
+
"adapter_act": "relu",
|
| 4 |
+
"adapter_kernel_size": 3,
|
| 5 |
+
"adapter_stride": 2,
|
| 6 |
+
"add_adapter": false,
|
| 7 |
+
"apply_spec_augment": false,
|
| 8 |
+
"architectures": [
|
| 9 |
+
"Wav2Vec2BertModel"
|
| 10 |
+
],
|
| 11 |
+
"attention_dropout": 0.0,
|
| 12 |
+
"bos_token_id": 1,
|
| 13 |
+
"classifier_proj_size": 768,
|
| 14 |
+
"codevector_dim": 768,
|
| 15 |
+
"conformer_conv_dropout": 0.1,
|
| 16 |
+
"contrastive_logits_temperature": 0.1,
|
| 17 |
+
"conv_depthwise_kernel_size": 31,
|
| 18 |
+
"ctc_loss_reduction": "sum",
|
| 19 |
+
"ctc_zero_infinity": false,
|
| 20 |
+
"diversity_loss_weight": 0.1,
|
| 21 |
+
"eos_token_id": 2,
|
| 22 |
+
"feat_proj_dropout": 0.0,
|
| 23 |
+
"feat_quantizer_dropout": 0.0,
|
| 24 |
+
"feature_projection_input_dim": 160,
|
| 25 |
+
"final_dropout": 0.1,
|
| 26 |
+
"hidden_act": "swish",
|
| 27 |
+
"hidden_dropout": 0.0,
|
| 28 |
+
"hidden_size": 1024,
|
| 29 |
+
"initializer_range": 0.02,
|
| 30 |
+
"intermediate_size": 4096,
|
| 31 |
+
"layer_norm_eps": 1e-05,
|
| 32 |
+
"layerdrop": 0.1,
|
| 33 |
+
"left_max_position_embeddings": 64,
|
| 34 |
+
"mask_feature_length": 10,
|
| 35 |
+
"mask_feature_min_masks": 0,
|
| 36 |
+
"mask_feature_prob": 0.0,
|
| 37 |
+
"mask_time_length": 10,
|
| 38 |
+
"mask_time_min_masks": 2,
|
| 39 |
+
"mask_time_prob": 0.05,
|
| 40 |
+
"max_source_positions": 5000,
|
| 41 |
+
"model_type": "wav2vec2-bert",
|
| 42 |
+
"num_adapter_layers": 1,
|
| 43 |
+
"num_attention_heads": 16,
|
| 44 |
+
"num_codevector_groups": 2,
|
| 45 |
+
"num_codevectors_per_group": 320,
|
| 46 |
+
"num_hidden_layers": 24,
|
| 47 |
+
"num_negatives": 100,
|
| 48 |
+
"output_hidden_size": 1024,
|
| 49 |
+
"pad_token_id": 0,
|
| 50 |
+
"position_embeddings_type": "relative_key",
|
| 51 |
+
"proj_codevector_dim": 768,
|
| 52 |
+
"right_max_position_embeddings": 8,
|
| 53 |
+
"rotary_embedding_base": 10000,
|
| 54 |
+
"tdnn_dilation": [
|
| 55 |
+
1,
|
| 56 |
+
2,
|
| 57 |
+
3,
|
| 58 |
+
1,
|
| 59 |
+
1
|
| 60 |
+
],
|
| 61 |
+
"tdnn_dim": [
|
| 62 |
+
512,
|
| 63 |
+
512,
|
| 64 |
+
512,
|
| 65 |
+
512,
|
| 66 |
+
1500
|
| 67 |
+
],
|
| 68 |
+
"tdnn_kernel": [
|
| 69 |
+
5,
|
| 70 |
+
3,
|
| 71 |
+
3,
|
| 72 |
+
1,
|
| 73 |
+
1
|
| 74 |
+
],
|
| 75 |
+
"torch_dtype": "float32",
|
| 76 |
+
"transformers_version": "4.37.0.dev0",
|
| 77 |
+
"use_intermediate_ffn_before_adapter": false,
|
| 78 |
+
"use_weighted_layer_sum": false,
|
| 79 |
+
"vocab_size": null,
|
| 80 |
+
"xvector_output_dim": 512
|
| 81 |
+
}
|
codec/w2v-bert-2.0/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb890c9660ed6e3414b6812e27257b8ce5454365d5490d3ad581ea60b93be043
|
| 3 |
+
size 2322063736
|
codec/w2v-bert-2.0/preprocessor_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"feature_extractor_type": "SeamlessM4TFeatureExtractor",
|
| 3 |
+
"feature_size": 80,
|
| 4 |
+
"num_mel_bins": 80,
|
| 5 |
+
"padding_side": "right",
|
| 6 |
+
"padding_value": 1,
|
| 7 |
+
"processor_class": "Wav2Vec2BertProcessor",
|
| 8 |
+
"return_attention_mask": true,
|
| 9 |
+
"sampling_rate": 16000,
|
| 10 |
+
"stride": 2
|
| 11 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "simb",
|
| 3 |
+
"mot": {
|
| 4 |
+
"num_layers": 30,
|
| 5 |
+
"vl": {
|
| 6 |
+
"hidden_size": 4096,
|
| 7 |
+
"num_attention_heads": 32,
|
| 8 |
+
"num_key_value_heads": 32,
|
| 9 |
+
"intermediate_size": 11008,
|
| 10 |
+
"rms_norm_eps": 1e-06,
|
| 11 |
+
"rope_theta": 10000.0,
|
| 12 |
+
"vocab_size": 102400
|
| 13 |
+
},
|
| 14 |
+
"speech": {
|
| 15 |
+
"hidden_size": 2048,
|
| 16 |
+
"num_attention_heads": 16,
|
| 17 |
+
"num_key_value_heads": 2,
|
| 18 |
+
"intermediate_size": 11008,
|
| 19 |
+
"rms_norm_eps": 1e-06,
|
| 20 |
+
"rope_theta": 1000000.0,
|
| 21 |
+
"max_position_embeddings": 32768
|
| 22 |
+
},
|
| 23 |
+
"bridge_hidden_s2i": 2048,
|
| 24 |
+
"bridge_hidden_i2s": 4096
|
| 25 |
+
},
|
| 26 |
+
"image": {
|
| 27 |
+
"size": 384,
|
| 28 |
+
"num_tokens": 576,
|
| 29 |
+
"grid": 24,
|
| 30 |
+
"codebook_size": 16384,
|
| 31 |
+
"codebook_dim": 8
|
| 32 |
+
},
|
| 33 |
+
"speech": {
|
| 34 |
+
"sample_rate": 24000,
|
| 35 |
+
"frame_rate": 12.5,
|
| 36 |
+
"grid_frames": 240,
|
| 37 |
+
"num_codebooks": 8,
|
| 38 |
+
"semantic_vocab_size": 16384,
|
| 39 |
+
"acoustic_vocab_size": 4096,
|
| 40 |
+
"semantic_feature_dim": 768
|
| 41 |
+
},
|
| 42 |
+
"prompts": {
|
| 43 |
+
"system": "You are a helpful language and vision assistant. You are able to understand the visual content that the user provides, and assist the user with a variety of tasks using natural language.",
|
| 44 |
+
"s2i": "Generate an image that matches this speech: ",
|
| 45 |
+
"i2s": "Describe this image in spoken words: ",
|
| 46 |
+
"vqa": "Listen to the spoken question about this image and answer it. "
|
| 47 |
+
},
|
| 48 |
+
"generation": {
|
| 49 |
+
"s2i": {
|
| 50 |
+
"cfg_scale": 3.0,
|
| 51 |
+
"temperature": 0.3,
|
| 52 |
+
"top_k": 30
|
| 53 |
+
},
|
| 54 |
+
"i2s": {
|
| 55 |
+
"temperature": 0.8,
|
| 56 |
+
"top_k": 30
|
| 57 |
+
},
|
| 58 |
+
"vqa": {
|
| 59 |
+
"max_new_tokens": 16
|
| 60 |
+
}
|
| 61 |
+
}
|
| 62 |
+
}
|
licenses/DualCodec_MIT_LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2025 Jiaqi Li
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
licenses/Janus-Pro-7B_DEEPSEEK_LICENSE_AGREEMENT.txt
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
DEEPSEEK LICENSE AGREEMENT
|
| 2 |
+
|
| 3 |
+
Version 1.0, 23 October 2023
|
| 4 |
+
|
| 5 |
+
Copyright (c) 2023 DeepSeek
|
| 6 |
+
|
| 7 |
+
Section I: PREAMBLE
|
| 8 |
+
|
| 9 |
+
Large generative models are being widely adopted and used, and have the potential to transform the way individuals conceive and benefit from AI or ML technologies.
|
| 10 |
+
|
| 11 |
+
Notwithstanding the current and potential benefits that these artifacts can bring to society at large, there are also concerns about potential misuses of them, either due to their technical limitations or ethical considerations.
|
| 12 |
+
|
| 13 |
+
In short, this license strives for both the open and responsible downstream use of the accompanying model. When it comes to the open character, we took inspiration from open source permissive licenses regarding the grant of IP rights. Referring to the downstream responsible use, we added use-based restrictions not permitting the use of the model in very specific scenarios, in order for the licensor to be able to enforce the license in case potential misuses of the Model may occur. At the same time, we strive to promote open and responsible research on generative models for content generation.
|
| 14 |
+
|
| 15 |
+
Even though downstream derivative versions of the model could be released under different licensing terms, the latter will always have to include - at minimum - the same use-based restrictions as the ones in the original license (this license). We believe in the intersection between open and responsible AI development; thus, this agreement aims to strike a balance between both in order to enable responsible open-science in the field of AI.
|
| 16 |
+
|
| 17 |
+
This License governs the use of the model (and its derivatives) and is informed by the model card associated with the model.
|
| 18 |
+
|
| 19 |
+
NOW THEREFORE, You and DeepSeek agree as follows:
|
| 20 |
+
|
| 21 |
+
1. Definitions
|
| 22 |
+
"License" means the terms and conditions for use, reproduction, and Distribution as defined in this document.
|
| 23 |
+
"Data" means a collection of information and/or content extracted from the dataset used with the Model, including to train, pretrain, or otherwise evaluate the Model. The Data is not licensed under this License.
|
| 24 |
+
"Output" means the results of operating a Model as embodied in informational content resulting therefrom.
|
| 25 |
+
"Model" means any accompanying machine-learning based assemblies (including checkpoints), consisting of learnt weights, parameters (including optimizer states), corresponding to the model architecture as embodied in the Complementary Material, that have been trained or tuned, in whole or in part on the Data, using the Complementary Material.
|
| 26 |
+
"Derivatives of the Model" means all modifications to the Model, works based on the Model, or any other model which is created or initialized by transfer of patterns of the weights, parameters, activations or output of the Model, to the other model, in order to cause the other model to perform similarly to the Model, including - but not limited to - distillation methods entailing the use of intermediate data representations or methods based on the generation of synthetic data by the Model for training the other model.
|
| 27 |
+
"Complementary Material" means the accompanying source code and scripts used to define, run, load, benchmark or evaluate the Model, and used to prepare data for training or evaluation, if any. This includes any accompanying documentation, tutorials, examples, etc, if any.
|
| 28 |
+
"Distribution" means any transmission, reproduction, publication or other sharing of the Model or Derivatives of the Model to a third party, including providing the Model as a hosted service made available by electronic or other remote means - e.g. API-based or web access.
|
| 29 |
+
"DeepSeek" (or "we") means Beijing DeepSeek Artificial Intelligence Fundamental Technology Research Co., Ltd., Hangzhou DeepSeek Artificial Intelligence Fundamental Technology Research Co., Ltd. and/or any of their affiliates.
|
| 30 |
+
"You" (or "Your") means an individual or Legal Entity exercising permissions granted by this License and/or making use of the Model for whichever purpose and in any field of use, including usage of the Model in an end-use application - e.g. chatbot, translator, etc.
|
| 31 |
+
"Third Parties" means individuals or legal entities that are not under common control with DeepSeek or You.
|
| 32 |
+
|
| 33 |
+
Section II: INTELLECTUAL PROPERTY RIGHTS
|
| 34 |
+
|
| 35 |
+
Both copyright and patent grants apply to the Model, Derivatives of the Model and Complementary Material. The Model and Derivatives of the Model are subject to additional terms as described in Section III.
|
| 36 |
+
|
| 37 |
+
2. Grant of Copyright License. Subject to the terms and conditions of this License, DeepSeek hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare, publicly display, publicly perform, sublicense, and distribute the Complementary Material, the Model, and Derivatives of the Model.
|
| 38 |
+
|
| 39 |
+
3. Grant of Patent License. Subject to the terms and conditions of this License and where and as applicable, DeepSeek hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this paragraph) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Model and the Complementary Material, where such license applies only to those patent claims licensable by DeepSeek that are necessarily infringed by its contribution(s). If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Model and/or Complementary Material constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for the Model and/or works shall terminate as of the date such litigation is asserted or filed.
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
Section III: CONDITIONS OF USAGE, DISTRIBUTION AND REDISTRIBUTION
|
| 43 |
+
|
| 44 |
+
4. Distribution and Redistribution. You may host for Third Party remote access purposes (e.g. software-as-a-service), reproduce and distribute copies of the Model or Derivatives of the Model thereof in any medium, with or without modifications, provided that You meet the following conditions:
|
| 45 |
+
a. Use-based restrictions as referenced in paragraph 5 MUST be included as an enforceable provision by You in any type of legal agreement (e.g. a license) governing the use and/or distribution of the Model or Derivatives of the Model, and You shall give notice to subsequent users You Distribute to, that the Model or Derivatives of the Model are subject to paragraph 5. This provision does not apply to the use of Complementary Material.
|
| 46 |
+
b. You must give any Third Party recipients of the Model or Derivatives of the Model a copy of this License;
|
| 47 |
+
c. You must cause any modified files to carry prominent notices stating that You changed the files;
|
| 48 |
+
d. You must retain all copyright, patent, trademark, and attribution notices excluding those notices that do not pertain to any part of the Model, Derivatives of the Model.
|
| 49 |
+
e. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions - respecting paragraph 4.a. – for use, reproduction, or Distribution of Your modifications, or for any such Derivatives of the Model as a whole, provided Your use, reproduction, and Distribution of the Model otherwise complies with the conditions stated in this License.
|
| 50 |
+
|
| 51 |
+
5. Use-based restrictions. The restrictions set forth in Attachment A are considered Use-based restrictions. Therefore You cannot use the Model and the Derivatives of the Model for the specified restricted uses. You may use the Model subject to this License, including only for lawful purposes and in accordance with the License. Use may include creating any content with, finetuning, updating, running, training, evaluating and/or reparametrizing the Model. You shall require all of Your users who use the Model or a Derivative of the Model to comply with the terms of this paragraph (paragraph 5).
|
| 52 |
+
|
| 53 |
+
6. The Output You Generate. Except as set forth herein, DeepSeek claims no rights in the Output You generate using the Model. You are accountable for the Output you generate and its subsequent uses. No use of the output can contravene any provision as stated in the License.
|
| 54 |
+
|
| 55 |
+
Section IV: OTHER PROVISIONS
|
| 56 |
+
|
| 57 |
+
7. Updates and Runtime Restrictions. To the maximum extent permitted by law, DeepSeek reserves the right to restrict (remotely or otherwise) usage of the Model in violation of this License.
|
| 58 |
+
|
| 59 |
+
8. Trademarks and related. Nothing in this License permits You to make use of DeepSeek’ trademarks, trade names, logos or to otherwise suggest endorsement or misrepresent the relationship between the parties; and any rights not expressly granted herein are reserved by DeepSeek.
|
| 60 |
+
|
| 61 |
+
9. Personal information, IP rights and related. This Model may contain personal information and works with IP rights. You commit to complying with applicable laws and regulations in the handling of personal information and the use of such works. Please note that DeepSeek's license granted to you to use the Model does not imply that you have obtained a legitimate basis for processing the related information or works. As an independent personal information processor and IP rights user, you need to ensure full compliance with relevant legal and regulatory requirements when handling personal information and works with IP rights that may be contained in the Model, and are willing to assume solely any risks and consequences that may arise from that.
|
| 62 |
+
|
| 63 |
+
10. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, DeepSeek provides the Model and the Complementary Material on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, 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 or redistributing the Model, Derivatives of the Model, and the Complementary Material and assume any risks associated with Your exercise of permissions under this License.
|
| 64 |
+
|
| 65 |
+
11. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall DeepSeek be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Model and the Complementary Material (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if DeepSeek has been advised of the possibility of such damages.
|
| 66 |
+
|
| 67 |
+
12. Accepting Warranty or Additional Liability. While redistributing the Model, Derivatives of the Model and the Complementary Material thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of DeepSeek, and only if You agree to indemnify, defend, and hold DeepSeek harmless for any liability incurred by, or claims asserted against, DeepSeek by reason of your accepting any such warranty or additional liability.
|
| 68 |
+
|
| 69 |
+
13. If any provision of this License 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.
|
| 70 |
+
|
| 71 |
+
14. Governing Law and Jurisdiction. This agreement will be governed and construed under PRC laws without regard to choice of law principles, and the UN Convention on Contracts for the International Sale of Goods does not apply to this agreement. The courts located in the domicile of Hangzhou DeepSeek Artificial Intelligence Fundamental Technology Research Co., Ltd. shall have exclusive jurisdiction of any dispute arising out of this agreement.
|
| 72 |
+
|
| 73 |
+
END OF TERMS AND CONDITIONS
|
| 74 |
+
|
| 75 |
+
Attachment A
|
| 76 |
+
|
| 77 |
+
Use Restrictions
|
| 78 |
+
|
| 79 |
+
You agree not to use the Model or Derivatives of the Model:
|
| 80 |
+
|
| 81 |
+
- In any way that violates any applicable national or international law or regulation or infringes upon the lawful rights and interests of any third party;
|
| 82 |
+
- For military use in any way;
|
| 83 |
+
- For the purpose of exploiting, harming or attempting to exploit or harm minors in any way;
|
| 84 |
+
- To generate or disseminate verifiably false information and/or content with the purpose of harming others;
|
| 85 |
+
- To generate or disseminate inappropriate content subject to applicable regulatory requirements;
|
| 86 |
+
- To generate or disseminate personal identifiable information without due authorization or for unreasonable use;
|
| 87 |
+
- To defame, disparage or otherwise harass others;
|
| 88 |
+
- For fully automated decision making that adversely impacts an individual’s legal rights or otherwise creates or modifies a binding, enforceable obligation;
|
| 89 |
+
- For any use intended to or which has the effect of discriminating against or harming individuals or groups based on online or offline social behavior or known or predicted personal or personality characteristics;
|
| 90 |
+
- To exploit any of the vulnerabilities of a specific group of persons based on their age, social, physical or mental characteristics, in order to materially distort the behavior of a person pertaining to that group in a manner that causes or is likely to cause that person or another person physical or psychological harm;
|
| 91 |
+
- For any use intended to or which has the effect of discriminating against individuals or groups based on legally protected characteristics or categories.
|
licenses/Janus_code_MIT_LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2023 DeepSeek
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
licenses/Qwen2.5-3B_QWEN_RESEARCH_LICENSE_AGREEMENT.txt
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Qwen RESEARCH LICENSE AGREEMENT
|
| 2 |
+
|
| 3 |
+
Qwen RESEARCH LICENSE AGREEMENT Release Date: September 19, 2024
|
| 4 |
+
|
| 5 |
+
By clicking to agree or by using or distributing any portion or element of the Qwen Materials, you will be deemed to have recognized and accepted the content of this Agreement, which is effective immediately.
|
| 6 |
+
|
| 7 |
+
1. Definitions
|
| 8 |
+
a. This Qwen RESEARCH LICENSE AGREEMENT (this "Agreement") shall mean the terms and conditions for use, reproduction, distribution and modification of the Materials as defined by this Agreement.
|
| 9 |
+
b. "We" (or "Us") shall mean Alibaba Cloud.
|
| 10 |
+
c. "You" (or "Your") shall mean a natural person or legal entity exercising the rights granted by this Agreement and/or using the Materials for any purpose and in any field of use.
|
| 11 |
+
d. "Third Parties" shall mean individuals or legal entities that are not under common control with us or you.
|
| 12 |
+
e. "Qwen" shall mean the large language models, and software and algorithms, consisting of trained model weights, parameters (including optimizer states), machine-learning model code, inference-enabling code, training-enabling code, fine-tuning enabling code and other elements of the foregoing distributed by us.
|
| 13 |
+
f. "Materials" shall mean, collectively, Alibaba Cloud's proprietary Qwen and Documentation (and any portion thereof) made available under this Agreement.
|
| 14 |
+
g. "Source" form shall mean the preferred form for making modifications, including but not limited to model source code, documentation source, and configuration files.
|
| 15 |
+
h. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
| 16 |
+
i. "Non-Commercial" shall mean for research or evaluation purposes only.
|
| 17 |
+
|
| 18 |
+
2. Grant of Rights
|
| 19 |
+
a. You are granted a non-exclusive, worldwide, non-transferable and royalty-free limited license under Alibaba Cloud's intellectual property or other rights owned by us embodied in the Materials to use, reproduce, distribute, copy, create derivative works of, and make modifications to the Materials FOR NON-COMMERCIAL PURPOSES ONLY.
|
| 20 |
+
b. If you are commercially using the Materials, you shall request a license from us.
|
| 21 |
+
|
| 22 |
+
3. Redistribution
|
| 23 |
+
You may distribute copies or make the Materials, or derivative works thereof, available as part of a product or service that contains any of them, with or without modifications, and in Source or Object form, provided that you meet the following conditions:
|
| 24 |
+
a. You shall give any other recipients of the Materials or derivative works a copy of this Agreement;
|
| 25 |
+
b. You shall cause any modified files to carry prominent notices stating that you changed the files;
|
| 26 |
+
c. You shall retain in all copies of the Materials that you distribute the following attribution notices within a "Notice" text file distributed as a part of such copies: "Qwen is licensed under the Qwen RESEARCH LICENSE AGREEMENT, Copyright (c) Alibaba Cloud. All Rights Reserved."; and
|
| 27 |
+
d. You may add your own copyright statement to your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of your modifications, or for any such derivative works as a whole, provided your use, reproduction, and distribution of the work otherwise complies with the terms and conditions of this Agreement.
|
| 28 |
+
|
| 29 |
+
4. Rules of use
|
| 30 |
+
a. The Materials may be subject to export controls or restrictions in China, the United States or other countries or regions. You shall comply with applicable laws and regulations in your use of the Materials.
|
| 31 |
+
b. If you use the Materials or any outputs or results therefrom to create, train, fine-tune, or improve an AI model that is distributed or made available, you shall prominently display “Built with Qwen” or “Improved using Qwen” in the related product documentation.
|
| 32 |
+
|
| 33 |
+
5. Intellectual Property
|
| 34 |
+
a. We retain ownership of all intellectual property rights in and to the Materials and derivatives made by or for us. Conditioned upon compliance with the terms and conditions of this Agreement, with respect to any derivative works and modifications of the Materials that are made by you, you are and will be the owner of such derivative works and modifications.
|
| 35 |
+
b. No trademark license is granted to use the trade names, trademarks, service marks, or product names of us, except as required to fulfill notice requirements under this Agreement or as required for reasonable and customary use in describing and redistributing the Materials.
|
| 36 |
+
c. If you commence a lawsuit or other proceedings (including a cross-claim or counterclaim in a lawsuit) against us or any entity alleging that the Materials or any output therefrom, or any part of the foregoing, infringe any intellectual property or other right owned or licensable by you, then all licenses granted to you under this Agreement shall terminate as of the date such lawsuit or other proceeding is commenced or brought.
|
| 37 |
+
|
| 38 |
+
6. Disclaimer of Warranty and Limitation of Liability
|
| 39 |
+
a. We are not obligated to support, update, provide training for, or develop any further version of the Qwen Materials or to grant any license thereto.
|
| 40 |
+
b. THE MATERIALS ARE PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF ANY KIND INCLUDING WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, OR FITNESS FOR A PARTICULAR PURPOSE. WE MAKE NO WARRANTY AND ASSUME NO RESPONSIBILITY FOR THE SAFETY OR STABILITY OF THE MATERIALS AND ANY OUTPUT THEREFROM.
|
| 41 |
+
c. IN NO EVENT SHALL WE BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING FROM YOUR USE OR INABILITY TO USE THE MATERIALS OR ANY OUTPUT OF IT, NO MATTER HOW IT’S CAUSED.
|
| 42 |
+
d. You will defend, indemnify and hold harmless us from and against any claim by any third party arising out of or related to your use or distribution of the Materials.
|
| 43 |
+
|
| 44 |
+
7. Survival and Termination.
|
| 45 |
+
a. The term of this Agreement shall commence upon your acceptance of this Agreement or access to the Materials and will continue in full force and effect until terminated in accordance with the terms and conditions herein.
|
| 46 |
+
b. We may terminate this Agreement if you breach any of the terms or conditions of this Agreement. Upon termination of this Agreement, you must delete and cease use of the Materials. Sections 6 and 8 shall survive the termination of this Agreement.
|
| 47 |
+
|
| 48 |
+
8. Governing Law and Jurisdiction.
|
| 49 |
+
a. This Agreement and any dispute arising out of or relating to it will be governed by the laws of China, without regard to conflict of law principles, and the UN Convention on Contracts for the International Sale of Goods does not apply to this Agreement.
|
| 50 |
+
b. The People's Courts in Hangzhou City shall have exclusive jurisdiction over any dispute arising out of this Agreement.
|
| 51 |
+
|
| 52 |
+
9. Other Terms and Conditions.
|
| 53 |
+
a. Any arrangements, understandings, or agreements regarding the Material not stated herein are separate from and independent of the terms and conditions of this Agreement. You shall request a separate license from us, if you use the Materials in ways not expressly agreed to in this Agreement.
|
| 54 |
+
b. We shall not be bound by any additional or different terms or conditions communicated by you unless expressly agreed.
|
licenses/w2v-bert-2.0_MIT_LICENSE.txt
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
facebook/w2v-bert-2.0 is released by Meta under the MIT License
|
| 2 |
+
(https://huggingface.co/facebook/w2v-bert-2.0).
|
| 3 |
+
|
| 4 |
+
MIT License
|
| 5 |
+
|
| 6 |
+
Copyright (c) Meta Platforms, Inc. and affiliates.
|
| 7 |
+
|
| 8 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 9 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 10 |
+
in the Software without restriction, including without limitation the rights
|
| 11 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 12 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 13 |
+
furnished to do so, subject to the following conditions:
|
| 14 |
+
|
| 15 |
+
The above copyright notice and this permission notice shall be included in all
|
| 16 |
+
copies or substantial portions of the Software.
|
| 17 |
+
|
| 18 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 19 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 20 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 21 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 22 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 23 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 24 |
+
SOFTWARE.
|
model-00001-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e787f43b76067fb3f6e11d67457079a7682b387aaf4868e8a1ba1c8d9bc99c8f
|
| 3 |
+
size 4945146238
|
model-00002-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da6cba7283e2e5a3c732219b298f5b1d19a5d9bba740f9a858edf1e426d79f51
|
| 3 |
+
size 4973635616
|
model-00003-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51b2c4b8447a597424f44245aa5929f8dccff33be18acac6279c5f0f9498998e
|
| 3 |
+
size 4996713440
|
model-00004-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:abb9eab714e40a82d8633d45161b63b04335499b077b3b3c00efe227401aa408
|
| 3 |
+
size 4997759040
|
model-00005-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd4224985091b711c0b607ea27f5ffa647ec989b60aa62f1db71ff47d78dfa04
|
| 3 |
+
size 3624038424
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<image_placeholder>",
|
| 4 |
+
"<patch_placeholder>",
|
| 5 |
+
"<|ref|>",
|
| 6 |
+
"<|/ref|>",
|
| 7 |
+
"<|det|>",
|
| 8 |
+
"<|/det|>",
|
| 9 |
+
"<|grounding|>",
|
| 10 |
+
"<|User|>",
|
| 11 |
+
"<|Assistant|>"
|
| 12 |
+
],
|
| 13 |
+
"bos_token": "<|begin▁of▁sentence|>",
|
| 14 |
+
"eos_token": "<|end▁of▁sentence|>",
|
| 15 |
+
"pad_token": "<|▁pad▁|>"
|
| 16 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<|begin▁of▁sentence|>",
|
| 3 |
+
"clean_up_tokenization_spaces": false,
|
| 4 |
+
"eos_token": "<|end▁of▁sentence|>",
|
| 5 |
+
"model_max_length": 16384,
|
| 6 |
+
"pad_token": null,
|
| 7 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 8 |
+
"unk_token": null,
|
| 9 |
+
"use_default_system_prompt": true
|
| 10 |
+
}
|