Upload Florence2ForConditionalGeneration
Browse files- adapter_config.json +3 -3
- adapter_model.safetensors +1 -1
- generation_config.json +13 -0
adapter_config.json
CHANGED
|
@@ -21,11 +21,11 @@
|
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
| 23 |
"lm_head",
|
| 24 |
-
"fc2",
|
| 25 |
-
"q_proj",
|
| 26 |
"k_proj",
|
|
|
|
|
|
|
| 27 |
"v_proj",
|
| 28 |
-
"
|
| 29 |
],
|
| 30 |
"task_type": "CAUSAL_LM",
|
| 31 |
"use_dora": false,
|
|
|
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
| 23 |
"lm_head",
|
|
|
|
|
|
|
| 24 |
"k_proj",
|
| 25 |
+
"fc2",
|
| 26 |
+
"out_proj",
|
| 27 |
"v_proj",
|
| 28 |
+
"q_proj"
|
| 29 |
],
|
| 30 |
"task_type": "CAUSAL_LM",
|
| 31 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 34451560
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66d0e9e16973f72743ca136cd516a5cfc17b31237090ae1275e74bd1cf10193e
|
| 3 |
size 34451560
|
generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 0,
|
| 4 |
+
"decoder_start_token_id": 2,
|
| 5 |
+
"early_stopping": true,
|
| 6 |
+
"eos_token_id": 2,
|
| 7 |
+
"forced_bos_token_id": 0,
|
| 8 |
+
"forced_eos_token_id": 2,
|
| 9 |
+
"no_repeat_ngram_size": 3,
|
| 10 |
+
"num_beams": 3,
|
| 11 |
+
"pad_token_id": 1,
|
| 12 |
+
"transformers_version": "4.41.2"
|
| 13 |
+
}
|