qgallouedec HF Staff commited on
Commit
b9e22f0
·
verified ·
1 Parent(s): 212a35c

Upload Idefics2ForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +1 -1
  2. generation_config.json +1 -12
  3. model.safetensors +2 -2
config.json CHANGED
@@ -2,7 +2,7 @@
2
  "architectures": [
3
  "Idefics2ForConditionalGeneration"
4
  ],
5
- "dtype": "bfloat16",
6
  "image_token_id": 32001,
7
  "model_type": "idefics2",
8
  "perceiver_config": {
 
2
  "architectures": [
3
  "Idefics2ForConditionalGeneration"
4
  ],
5
+ "dtype": "float32",
6
  "image_token_id": 32001,
7
  "model_type": "idefics2",
8
  "perceiver_config": {
generation_config.json CHANGED
@@ -1,18 +1,7 @@
1
  {
2
  "_from_model_config": true,
3
- "bad_words_ids": [
4
- [
5
- 32000
6
- ],
7
- [
8
- 32001
9
- ]
10
- ],
11
  "bos_token_id": 1,
12
- "eos_token_id": [
13
- 2,
14
- 32002
15
- ],
16
  "pad_token_id": 0,
17
  "transformers_version": "4.57.3"
18
  }
 
1
  {
2
  "_from_model_config": true,
 
 
 
 
 
 
 
 
3
  "bos_token_id": 1,
4
+ "eos_token_id": 2,
 
 
 
5
  "pad_token_id": 0,
6
  "transformers_version": "4.57.3"
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:aa3d343587da9c9ac4ab46ec5fe7c6cbecfda9cd8d2069db2aa625d15037048b
3
- size 7329776
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16c55a94a324aad151c674a57958fcbc8bb9ad8ce5a1f8fe087302ac4a5b0170
3
+ size 14647936