londogard / text-gen-kt

Text Generation in Kotlin. Will include multiple pre-trained models & ability to train your own. Easy-to-use API as a goal too.
Apache License 2.0
2 stars 0 forks source link

Add ModelCompression #5

Open Lundez opened 4 years ago

Lundez commented 4 years ago

Compress List<Pair<Int, Double>> into Object(IntArray, DoubleArray).

Validate space savings on this! (And time!)

Lundez commented 4 years ago

Potentially; Add extensions functions to DoubleArray(size=2) etc to simplify this.