gm.data#
Data pipeline ops.
Symbols#
Class#
Adds the model |
|
Creates the contrastive model inputs for DPO-like loss. |
|
Decode |
|
Equivalent to |
|
Replace each int by a new value. |
|
Add zeros to the end of the sequence to reach the max length. |
|
Parquet(*, _fake_refs: ‘type[_FakeRefsUnset] |
|
Sequence-to-sequence task. |
|
Tokenize a string to ids. |
Function#
Create the model |
|
Add zeros to the end of the sequence to reach the max length. |