mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 18:48:51 +00:00
Beit: Add the gen_relative_position_index() function (#2306)
Co-authored-by: v-espitalier <>
This commit is contained in:
@ -55,7 +55,7 @@ pub fn main() -> anyhow::Result<()> {
|
||||
None => {
|
||||
let api = hf_hub::api::sync::Api::new()?;
|
||||
let api = api.model("vincent-espitalier/candle-beit".into());
|
||||
api.get("beit_base_patch16_384.in22k_ft_in22k_in1k_adapted.safetensors")?
|
||||
api.get("beit_base_patch16_384.in22k_ft_in22k_in1k.safetensors")?
|
||||
}
|
||||
Some(model) => model.into(),
|
||||
};
|
||||
|
Reference in New Issue
Block a user