Salmamoori commited on
Commit
a31287e
1 Parent(s): 12ab42f

End of training

Browse files
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "llava-hf/llava-1.5-7b-hf",
3
+ "architectures": [
4
+ "LlavaForConditionalGeneration"
5
+ ],
6
+ "ignore_index": -100,
7
+ "image_token_index": 32000,
8
+ "model_type": "llava",
9
+ "pad_token_id": 32001,
10
+ "projector_hidden_act": "gelu",
11
+ "quantization_config": {
12
+ "_load_in_4bit": true,
13
+ "_load_in_8bit": false,
14
+ "bnb_4bit_compute_dtype": "float32",
15
+ "bnb_4bit_quant_storage": "uint8",
16
+ "bnb_4bit_quant_type": "fp4",
17
+ "bnb_4bit_use_double_quant": false,
18
+ "llm_int8_enable_fp32_cpu_offload": false,
19
+ "llm_int8_has_fp16_weight": false,
20
+ "llm_int8_skip_modules": null,
21
+ "llm_int8_threshold": 6.0,
22
+ "load_in_4bit": true,
23
+ "load_in_8bit": false,
24
+ "quant_method": "bitsandbytes"
25
+ },
26
+ "text_config": {
27
+ "_name_or_path": "lmsys/vicuna-7b-v1.5",
28
+ "architectures": [
29
+ "LlamaForCausalLM"
30
+ ],
31
+ "max_position_embeddings": 4096,
32
+ "model_type": "llama",
33
+ "rms_norm_eps": 1e-05,
34
+ "torch_dtype": "float16",
35
+ "vocab_size": 32064
36
+ },
37
+ "tie_word_embeddings": false,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.44.2",
40
+ "vision_config": {
41
+ "hidden_size": 1024,
42
+ "image_size": 336,
43
+ "intermediate_size": 4096,
44
+ "model_type": "clip_vision_model",
45
+ "num_attention_heads": 16,
46
+ "num_hidden_layers": 24,
47
+ "patch_size": 14,
48
+ "projection_dim": 768,
49
+ "vocab_size": 32000
50
+ },
51
+ "vision_feature_layer": -2,
52
+ "vision_feature_select_strategy": "default",
53
+ "vocab_size": 32064
54
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 32001,
6
+ "transformers_version": "4.44.2"
7
+ }
model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0518eae1b407357b33c7687772ae7616d860014397504f343c354f6ee9d7b313
3
+ size 4999683241
model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34d7ff550efd811b2cf7ede288e21acb267eefe4e40016240529981902be367f
3
+ size 648550945
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.json CHANGED
@@ -1,7 +1,14 @@
1
  {
2
  "version": "1.0",
3
  "truncation": null,
4
- "padding": null,
 
 
 
 
 
 
 
5
  "added_tokens": [
6
  {
7
  "id": 0,
 
1
  {
2
  "version": "1.0",
3
  "truncation": null,
4
+ "padding": {
5
+ "strategy": "BatchLongest",
6
+ "direction": "Right",
7
+ "pad_to_multiple_of": null,
8
+ "pad_id": 32001,
9
+ "pad_type_id": 0,
10
+ "pad_token": "<pad>"
11
+ },
12
  "added_tokens": [
13
  {
14
  "id": 0,
tokenizer_config.json CHANGED
@@ -45,12 +45,13 @@
45
  }
46
  },
47
  "bos_token": "<s>",
 
48
  "clean_up_tokenization_spaces": false,
49
  "eos_token": "</s>",
50
  "legacy": false,
51
  "model_max_length": 1000000000000000019884624838656,
52
  "pad_token": "<pad>",
53
- "padding_side": "left",
54
  "processor_class": "LlavaProcessor",
55
  "sp_model_kwargs": {},
56
  "tokenizer_class": "LlamaTokenizer",
 
45
  }
46
  },
47
  "bos_token": "<s>",
48
+ "chat_template": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. {% for message in messages %}{% if message['role'] == 'user' %}USER: {% else %}ASSISTANT: {% endif %}{% for item in message['content'] %}{% if item['type'] == 'text' %}{{ item['text'] }}{% elif item['type'] == 'image' %}<image>{% endif %}{% endfor %}{% if message['role'] == 'user' %} {% else %}{{eos_token}}{% endif %}{% endfor %}",
49
  "clean_up_tokenization_spaces": false,
50
  "eos_token": "</s>",
51
  "legacy": false,
52
  "model_max_length": 1000000000000000019884624838656,
53
  "pad_token": "<pad>",
54
+ "padding_side": "right",
55
  "processor_class": "LlavaProcessor",
56
  "sp_model_kwargs": {},
57
  "tokenizer_class": "LlamaTokenizer",