syntaxdot_transformers/
lib.rs

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