Removing candle-hub internal to extract into hf-hub standalone.

This commit is contained in:
Nicolas Patry
2023-07-19 15:04:38 +02:00
parent 67e20c3792
commit 439321745a
13 changed files with 9 additions and 1658 deletions

View File

@ -5,10 +5,10 @@ extern crate intel_mkl_src;
use anyhow::{Error as E, Result};
use candle::{DType, Device, Tensor};
use candle_hub::{api::sync::Api, Repo, RepoType};
use candle_nn::VarBuilder;
use candle_transformers::generation::LogitsProcessor;
use clap::Parser;
use hf_hub::{api::sync::Api, Repo, RepoType};
use tokenizers::Tokenizer;
mod model;