Skip to main content

encode_late

Function encode_late 

Source
pub fn encode_late(text: &str) -> Option<(Vec<Vec<f32>>, Vec<f32>, Sparse)>
Expand description

Encode one text three ways from one pass: a vector per token, the pooled vector, and learned term weights. Read by the retrieval benchmark only.