uyzhang commited on
Commit
052577a
·
1 Parent(s): 3e514ac

Update README.md

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. config.json +3 -3
README.md CHANGED
@@ -50,7 +50,7 @@ model_path = "Open-Bee/Bee-8B-RL"
50
  # Load model
51
  model = AutoModel.from_pretrained(
52
  model_path,
53
- torch_dtype="float32",
54
  trust_remote_code=True,
55
  ).to("cuda")
56
 
 
50
  # Load model
51
  model = AutoModel.from_pretrained(
52
  model_path,
53
+ dtype="bfloat16",
54
  trust_remote_code=True,
55
  ).to("cuda")
56
 
config.json CHANGED
@@ -183,13 +183,13 @@
183
  "rope_scaling": null,
184
  "rope_theta": 1000000,
185
  "sliding_window": null,
186
- "torch_dtype": "float32",
187
  "use_cache": true,
188
  "use_sliding_window": false,
189
  "vocab_size": 152000
190
  },
191
  "tie_word_embeddings": false,
192
- "torch_dtype": "float32",
193
  "transformers_version": "4.55.0",
194
  "use_image_newline_parameter": true,
195
  "video_token_index": 151670,
@@ -209,7 +209,7 @@
209
  "num_channels": 3,
210
  "num_hidden_layers": 26,
211
  "patch_size": 14,
212
- "torch_dtype": "float32",
213
  "vision_use_head": false
214
  },
215
  "vision_feature_layer": -1,
 
183
  "rope_scaling": null,
184
  "rope_theta": 1000000,
185
  "sliding_window": null,
186
+ "torch_dtype": "bfloat16",
187
  "use_cache": true,
188
  "use_sliding_window": false,
189
  "vocab_size": 152000
190
  },
191
  "tie_word_embeddings": false,
192
+ "torch_dtype": "bfloat16",
193
  "transformers_version": "4.55.0",
194
  "use_image_newline_parameter": true,
195
  "video_token_index": 151670,
 
209
  "num_channels": 3,
210
  "num_hidden_layers": 26,
211
  "patch_size": 14,
212
+ "torch_dtype": "bfloat16",
213
  "vision_use_head": false
214
  },
215
  "vision_feature_layer": -1,