candle_pipelines/
lib.rs

1//! Simple, intuitive pipelines for local LLM inference in Rust.
2//!
3//! Powered by [Candle](https://github.com/huggingface/candle), with an API inspired by Python's [Transformers](https://huggingface.co/docs/transformers).
4//! Includes pipelines for text generation, classification, and masked language modeling.
5
6#![deny(missing_docs)]
7
8// ============ Internal API ============
9
10pub(crate) mod loaders;
11pub(crate) mod models;
12pub(crate) mod pipelines;
13
14// ============ Public API ============
15
16pub mod error;
17
18pub use pipelines::{fill_mask, sentiment, text_generation, zero_shot};