"max_position_embeddings": 128000 ?

#5
by S1M0N38 - opened

Is it correct the value for "max_position_embeddings" to be 128000 ? For LFM3 is 262144 so im expecting the same value for this VL version. Or if the model does not support "256 k tokens", im expecting the max_position_embeddings to be 131072 (i.e. 2^17). usually context window are power of 2. In the mean while also it worth checking the "vocab size".

The same possible "issue" is present across the LFM3-* lineup (not in the LFM3 tho).

Liquid AI org

LFM3-1.7B and LFM3-VL-2B are both based on LFM3-1.7B-Base, which has max_position_embeddings=262144. We set the VL model’s value to 128,000 because its vision training data sequences are shorter.

You can change this value to be higher if your application needs it, but we haven't formally evaluated the VL model on sequences longer than 128K tokens.

s-jse changed discussion status to closed

Sign up or log in to comment