mirror of
https://github.com/huggingface/candle.git
synced 2025-06-21 12:20:46 +00:00

* Add the mimi audio-tokenizer. * Formatting tweaks. * Add a full example. * Use the transformers names. * More renamings. * Get encoding and decoding to work. * Clippy fixes.
23 lines
532 B
Rust
23 lines
532 B
Rust
// Adapted from the reference implementation at:
|
|
// https://github.com/kyutai-labs/moshi
|
|
// Copyright (c) Kyutai, all rights reserved.
|
|
// This source code is licensed under the license found in the
|
|
// LICENSE file in the root directory of this source tree.
|
|
|
|
pub use candle;
|
|
pub use candle_nn;
|
|
|
|
pub mod conv;
|
|
pub mod encodec;
|
|
pub mod quantization;
|
|
pub mod seanet;
|
|
pub mod transformer;
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
|
pub enum NormType {
|
|
RmsNorm,
|
|
LayerNorm,
|
|
}
|
|
|
|
pub use encodec::{load, Config, Encodec as Model};
|