Add column and entries for context length. #11
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As discussed in #7, I added an additional column
context length
to the table and filled in the data for most of the models.While it was unambiguous for most of the recent decoder-transformer with a standard positional embedding, here some exceptions:
T5
was trained with a sequence length of 512. However, its use of relative-attention theoretically allows for longer sequences. See the discussion here. As 512 was mainly used during training, I decided to use512
as this is the value that makes effectively sense given the capabilities obtained during trainingReplit Code
uses ALiBi which allows for extrapolation of sequence during inference that are longer than the ones seen during training. As I did not find any other information on the maximum context length, I decided to useinfinity
as the value. Not 100% sure though.MPT-7B
also uses ALiBi. According to their blog post and their GitHub, the models are trained on up to 65k inputs and can handle up to 84k. Therefore decided to use84k
SantaCoder
+RedPajama-INCITE
: Could not find any context length information. Marked them with?
TODO: Some entries are missing and some are still unclear to me; marked with
?
.