BUAADreamer commited on
Commit
32c9e75
1 Parent(s): 85355cf

Upload LlavaForConditionalGeneration

Browse files
README.md CHANGED
@@ -1,13 +1,13 @@
1
  ---
 
 
 
2
  library_name: transformers
3
  tags:
4
  - llama-factory
5
- license: apache-2.0
6
  datasets:
7
  - BUAADreamer/llava-med-zh-instruct-60k
8
  - BUAADreamer/llava-med-zh-eval
9
- language:
10
- - zh
11
  metrics:
12
  - accuracy
13
  pipeline_tag: visual-question-answering
 
1
  ---
2
+ language:
3
+ - zh
4
+ license: apache-2.0
5
  library_name: transformers
6
  tags:
7
  - llama-factory
 
8
  datasets:
9
  - BUAADreamer/llava-med-zh-instruct-60k
10
  - BUAADreamer/llava-med-zh-eval
 
 
11
  metrics:
12
  - accuracy
13
  pipeline_tag: visual-question-answering
config.json CHANGED
@@ -1,8 +1,9 @@
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",
@@ -20,8 +21,8 @@
20
  "vocab_size": 32064
21
  },
22
  "tie_word_embeddings": false,
23
- "torch_dtype": "float16",
24
- "transformers_version": "4.40.1",
25
  "use_cache": true,
26
  "vision_config": {
27
  "hidden_size": 1024,
 
1
  {
2
+ "_name_or_path": "saves/llava1_5-7b/full/sft_med",
3
  "architectures": [
4
  "LlavaForConditionalGeneration"
5
  ],
6
+ "hidden_size": 4096,
7
  "ignore_index": -100,
8
  "image_token_index": 32000,
9
  "model_type": "llava",
 
21
  "vocab_size": 32064
22
  },
23
  "tie_word_embeddings": false,
24
+ "torch_dtype": "bfloat16",
25
+ "transformers_version": "4.41.0",
26
  "use_cache": true,
27
  "vision_config": {
28
  "hidden_size": 1024,
generation_config.json CHANGED
@@ -3,5 +3,5 @@
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
  "pad_token_id": 32001,
6
- "transformers_version": "4.40.1"
7
  }
 
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
  "pad_token_id": 32001,
6
+ "transformers_version": "4.41.0"
7
  }
model-00001-of-00008.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6fa64c054457a0338126f20f294e667f5c20d84273f003ac28f10fc0725259b2
3
- size 1945628448
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b76a06a787447f178e414c8fd06223004a39ecafd9231f165aea6aa330128d36
3
+ size 1945628864
model-00002-of-00008.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cb9f8d7cec0b4133eedcbbdd74213cd0a6f9fc1bebcaf05f6c39a16b8a9b9c74
3
- size 1933661752
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cc97b29a5d1aac0bdfed8638097e98abb3da0b37aee0eb29344f8ce145153ff
3
+ size 1933661792
model-00003-of-00008.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a43635cfeeaf076518c8be333927066d5a8e2d9621980cb1928ce3a65f362cc3
3
- size 1990284880
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46c6c53b8ddc1e852dbe811e7cc0977200818a6857f9b02d4364a2c8ba6728c1
3
+ size 1990284920
model-00004-of-00008.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1d2a41273b2ab61dd8b3c4334b5b3fd36bf19ca425ca66bfd3f7b516cec567dd
3
- size 1990284904
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:967177ff84179ee1ee2ff83c595a9be5dc11b728bee7a966459306f021ef8498
3
+ size 1990284944
model-00005-of-00008.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b2e8792d3b8ca96e3de8176b7399928e62e1225ed82901ae86a6bd1d9ae4cd67
3
- size 1990284904
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:709f124f0dd74ab2d36c7b0a08e73607f028b4830ee778ac167a04e1becb4714
3
+ size 1990284952
model-00006-of-00008.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:be19f91b81059dc02e329c5d30a6249a4e86846d9f7b8506e87aa8a4f1402bc6
3
- size 1990284904
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:876568578502e0514c6874d2c76a9d3d5f98ac8b59fec4233e59febb17eb98e7
3
+ size 1990284944
model-00007-of-00008.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:935769523b5fa02d863b006ebbeb684e0186e1afa84c8f72b52447d9ed302539
3
- size 1933645152
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f31cb48d4a343b93aa700179a836e09a0cebf4a69733de222aadb7d97759e745
3
+ size 1933645200
model-00008-of-00008.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a23dbe70ed20f95223c421a3d938778869a847d1af35253cef2cf086a91d0a7b
3
  size 352871032
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1c75b145de727ef9c1c00e96fd1eafd3db00089a95681f96b093cefa4376bbf
3
  size 352871032