hyw-base 0.1.1

Data and basic structures for hyw
Documentation
1
2
3
4
5
6
7
8
9
10
11
use hyw_base::{Hyw, HE, YI, WEI};

fn main() {
    println!("HE: {} chars", HE.len());
    println!("YI: {} chars", YI.len());
    println!("WEI: {} chars", WEI.len());

    let size = Hyw::all().size_hint().0;
    println!("Total: {size} combinations");
    println!("Approx. embedding size: {}MB", 4 * size / 1024); // 4 bytes per f32, 1024 floats per embedding
}