add qwen2.5vl model
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
use anyhow::Result;
|
||||
use aha::models::qwen2_5vl::config::Config;
|
||||
|
||||
#[test]
|
||||
fn qwen2_5vl_config() -> Result<()> {
|
||||
// cargo test qwen2_5vl_config -- --nocapture
|
||||
let model_path = "/home/jhq/huggingface_model/Qwen/Qwen2.5-VL-3B-Instruct/";
|
||||
let config_path = model_path.to_string() + "/config.json";
|
||||
let config: Config = serde_json::from_slice(&std::fs::read(config_path)?)?;
|
||||
println!("{:?}", config);
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user