Closed grantmwilliams closed 3 years ago
Hi @grantmwilliams,
the destination to where a sentence vector is written is completely dependent on the input.
Each input is an iterable of (list[str], int), whereas int represents the target index. All input wrappers of type Indexed
will always take the supplied order of inputs, whereas CIndexed
can be used to supply a custom set of indices for many-to-one mappings.
I think this library requires some update by now, especially documentation
For an example like:
Where I read in an ordered list of sentences and then process them through a pre-trained model, does FSE guarantee the order of the model vectors to be the same order that the sentences were fed in?
I didn't see anything in the documentation or source code to suggest they wouldn't be, but I also haven't seen in the documentation any claims for guaranteed ordering either.
Thanks!