mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 10:38:54 +00:00
Removing candle-hub
internal to extract into hf-hub
standalone.
This commit is contained in:
@ -4,9 +4,9 @@ mod model;
|
||||
|
||||
use anyhow::{anyhow, Error as E, Result};
|
||||
use candle::Tensor;
|
||||
use candle_hub::{api::sync::Api, Cache, Repo, RepoType};
|
||||
use candle_nn::VarBuilder;
|
||||
use clap::Parser;
|
||||
use hf_hub::{api::sync::Api, Cache, Repo, RepoType};
|
||||
use model::{BertModel, Config, DTYPE};
|
||||
use tokenizers::{PaddingParams, Tokenizer};
|
||||
|
||||
|
Reference in New Issue
Block a user