syntaxdot-transformers 0.2.0

Transformer architectures, such as BERT
[package]
name = "syntaxdot-transformers"
version = "0.2.0"
authors = ["Daniƫl de Kok <me@danieldk.eu>"]
edition = "2018"
description = "Transformer architectures, such as BERT"
homepage = "https://github.com/tensordot/syntaxdot"
repository = "https://github.com/tensordot/syntaxdot.git"
documentation = "https://docs.rs/syntaxdot-transformers/"
license = "BlueOak-1.0.0"

[dependencies]
hdf5 = { version = "0.7", optional = true }
serde = { version = "1", features = ["derive"] }
syntaxdot-tch-ext = { path = "../syntaxdot-tch-ext", version = "0.2" }
tch = "0.3"
thiserror = "1"

[dev-dependencies]
approx = "0.3"
maplit = "1"
ndarray = { version = "0.13", features = ["approx"] }

[features]
default = ["load-hdf5"]
load-hdf5 = ["hdf5"]
model-tests = []