1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//! Transformer models (Vaswani et al., 2017)
//!
//! This crate implements various transformer models, provided through
//! the [`models`] module. The implementations are more restricted than
//! e.g. their Huggingface counterparts, focusing only on the parts
//! necessary for sequence labeling.

pub mod activations;

pub(crate) mod cow;

mod error;
pub use error::TransformerError;

pub mod layers;

pub mod loss;

pub mod models;

pub mod module;

pub mod scalar_weighting;

pub(crate) mod util;