-
Notifications
You must be signed in to change notification settings - Fork 122
feat: Integration or regression tests #336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
d9298b8
feat: add integration tests
stephantul b23cb3b
temporarily relax skeletoken to 0.3.3
stephantul 4565456
add newer models
stephantul 206f183
fix test path
stephantul b5bae43
ignore integration tests in CI
stephantul 326aa03
fix test
stephantul d653c3f
fix skeletoken
stephantul 055ff3b
update specifier
stephantul d9a36b5
add MTEB as dependency
stephantul File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
91 changes: 91 additions & 0 deletions
91
tests/integration/data/Alibaba-NLP___gte-modernbert-base_baseline.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,91 @@ | ||
| { | ||
| "base_model": "Alibaba-NLP/gte-modernbert-base", | ||
| "configs": { | ||
| "custom_vocab": { | ||
| "embedding_dim": 32, | ||
| "embedding_mean": 0.000534, | ||
| "embedding_rank": 32, | ||
| "embedding_rows": 50269, | ||
| "embedding_std": 3.379484, | ||
| "first_tokens": [ | ||
| "!", | ||
| "\"", | ||
| "#", | ||
| "$", | ||
| "%", | ||
| "&", | ||
| "'", | ||
| "(", | ||
| ")", | ||
| "*" | ||
| ], | ||
| "full_vocab_size": 50269, | ||
| "last_tokens": [ | ||
| "\u0120quixnorfle", | ||
| "norfle", | ||
| "\u0120quix", | ||
| "\u0120blorptastic", | ||
| "ptastic", | ||
| "\u0120blor", | ||
| "\u0120flimzycrag", | ||
| "zycr", | ||
| "\u0120flim", | ||
| "\u0120flimzycr" | ||
| ], | ||
| "mteb_sts_scores": { | ||
| "BIOSSES": 0.369924, | ||
| "SICK-R": 0.496052, | ||
| "STS12": 0.499049, | ||
| "STS13": 0.586944, | ||
| "STS14": 0.526949, | ||
| "STS15": 0.628959, | ||
| "STS16": 0.596379, | ||
| "STSBenchmark": 0.536571 | ||
| }, | ||
| "token_order_hash": "c2f9a27e98ef519d36c74cbde4ccc7ab023a23896aac6351f30c41c900daac78" | ||
| }, | ||
| "subword": { | ||
| "embedding_dim": 256, | ||
| "embedding_mean": 3.1e-05, | ||
| "embedding_rank": 256, | ||
| "embedding_rows": 50254, | ||
| "embedding_std": 1.690459, | ||
| "first_tokens": [ | ||
| "!", | ||
| "\"", | ||
| "#", | ||
| "$", | ||
| "%", | ||
| "&", | ||
| "'", | ||
| "(", | ||
| ")", | ||
| "*" | ||
| ], | ||
| "full_vocab_size": 50254, | ||
| "last_tokens": [ | ||
| "767", | ||
| "itons", | ||
| "\u0120PIP", | ||
| "\u0120Tus", | ||
| "ibrated", | ||
| "\u0120fortified", | ||
| "ferenced", | ||
| "\u0120Outcomes", | ||
| "[UNK]", | ||
| "[PAD]" | ||
| ], | ||
| "mteb_sts_scores": { | ||
| "BIOSSES": 0.525464, | ||
| "SICK-R": 0.553442, | ||
| "STS12": 0.547261, | ||
| "STS13": 0.659771, | ||
| "STS14": 0.615254, | ||
| "STS15": 0.708012, | ||
| "STS16": 0.669369, | ||
| "STSBenchmark": 0.609307 | ||
| }, | ||
| "token_order_hash": "c3ba2855d4683a2c49936b821bd0d7ad2f137bf090f66ee382bb85c350b4baba" | ||
| } | ||
| } | ||
| } |
91 changes: 91 additions & 0 deletions
91
tests/integration/data/baai___bge-base-en-v1.5_baseline.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,91 @@ | ||
| { | ||
| "base_model": "baai/bge-base-en-v1.5", | ||
| "configs": { | ||
| "custom_vocab": { | ||
| "embedding_dim": 32, | ||
| "embedding_mean": -0.00102, | ||
| "embedding_rank": 32, | ||
| "embedding_rows": 29529, | ||
| "embedding_std": 0.907232, | ||
| "first_tokens": [ | ||
| "[PAD]", | ||
| "[UNK]", | ||
| "!", | ||
| "\"", | ||
| "#", | ||
| "$", | ||
| "%", | ||
| "&", | ||
| "'", | ||
| "(" | ||
| ], | ||
| "full_vocab_size": 29529, | ||
| "last_tokens": [ | ||
| "##\uff0d", | ||
| "##\uff0e", | ||
| "##\uff0f", | ||
| "##\uff1a", | ||
| "##\uff1f", | ||
| "##\uff5e", | ||
| "zibblorptron", | ||
| "quixnorfle", | ||
| "blorptastic", | ||
| "flimzycrag" | ||
| ], | ||
| "mteb_sts_scores": { | ||
| "BIOSSES": 0.60555, | ||
| "SICK-R": 0.574381, | ||
| "STS12": 0.615507, | ||
| "STS13": 0.715354, | ||
| "STS14": 0.638972, | ||
| "STS15": 0.682774, | ||
| "STS16": 0.623959, | ||
| "STSBenchmark": 0.611345 | ||
| }, | ||
| "token_order_hash": "09d9aaaedc7d41b2fd1e3ffa64f16794a2cefe9ffc7faf1055ae5d49350c3060" | ||
| }, | ||
| "subword": { | ||
| "embedding_dim": 256, | ||
| "embedding_mean": -0.000118, | ||
| "embedding_rank": 256, | ||
| "embedding_rows": 29525, | ||
| "embedding_std": 0.562719, | ||
| "first_tokens": [ | ||
| "[PAD]", | ||
| "[UNK]", | ||
| "!", | ||
| "\"", | ||
| "#", | ||
| "$", | ||
| "%", | ||
| "&", | ||
| "'", | ||
| "(" | ||
| ], | ||
| "full_vocab_size": 29525, | ||
| "last_tokens": [ | ||
| "##\uff01", | ||
| "##\uff08", | ||
| "##\uff09", | ||
| "##\uff0c", | ||
| "##\uff0d", | ||
| "##\uff0e", | ||
| "##\uff0f", | ||
| "##\uff1a", | ||
| "##\uff1f", | ||
| "##\uff5e" | ||
| ], | ||
| "mteb_sts_scores": { | ||
| "BIOSSES": 0.742493, | ||
| "SICK-R": 0.633061, | ||
| "STS12": 0.634404, | ||
| "STS13": 0.755101, | ||
| "STS14": 0.697645, | ||
| "STS15": 0.777181, | ||
| "STS16": 0.708249, | ||
| "STSBenchmark": 0.694604 | ||
| }, | ||
| "token_order_hash": "d881fab650dd73240615f87f531ff31a6135f961933ebc32c0dfdd130763e7a8" | ||
| } | ||
| } | ||
| } |
91 changes: 91 additions & 0 deletions
91
tests/integration/data/google___embeddinggemma-300m_baseline.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,91 @@ | ||
| { | ||
| "base_model": "google/embeddinggemma-300m", | ||
| "configs": { | ||
| "custom_vocab": { | ||
| "embedding_dim": 32, | ||
| "embedding_mean": 0.000445, | ||
| "embedding_rank": 32, | ||
| "embedding_rows": 255746, | ||
| "embedding_std": 2.829036, | ||
| "first_tokens": [ | ||
| "<pad>", | ||
| "<unk>", | ||
| "<0x00>", | ||
| "<0x01>", | ||
| "<0x02>", | ||
| "<0x03>", | ||
| "<0x04>", | ||
| "<0x05>", | ||
| "<0x06>", | ||
| "<0x07>" | ||
| ], | ||
| "full_vocab_size": 255746, | ||
| "last_tokens": [ | ||
| "zibblor", | ||
| "quixnorfle", | ||
| "norfle", | ||
| "quix", | ||
| "blorptastic", | ||
| "blorpt", | ||
| "flimzycrag", | ||
| "flim", | ||
| "flimzycr", | ||
| "zycr" | ||
| ], | ||
| "mteb_sts_scores": { | ||
| "BIOSSES": 0.48233, | ||
| "SICK-R": 0.570594, | ||
| "STS12": 0.519418, | ||
| "STS13": 0.622716, | ||
| "STS14": 0.537778, | ||
| "STS15": 0.575234, | ||
| "STS16": 0.534645, | ||
| "STSBenchmark": 0.451954 | ||
| }, | ||
| "token_order_hash": "bb8f48741104cf94146b583abb11a896d6005dbf7e04403053821a12ddeecf42" | ||
| }, | ||
| "subword": { | ||
| "embedding_dim": 256, | ||
| "embedding_mean": 1.4e-05, | ||
| "embedding_rank": 256, | ||
| "embedding_rows": 255732, | ||
| "embedding_std": 1.653758, | ||
| "first_tokens": [ | ||
| "<pad>", | ||
| "<unk>", | ||
| "<0x00>", | ||
| "<0x01>", | ||
| "<0x02>", | ||
| "<0x03>", | ||
| "<0x04>", | ||
| "<0x05>", | ||
| "<0x06>", | ||
| "<0x07>" | ||
| ], | ||
| "full_vocab_size": 255732, | ||
| "last_tokens": [ | ||
| "\ud83e\udd3d", | ||
| "\u13dc", | ||
| "\u141b", | ||
| "\u257e", | ||
| "\u25a5", | ||
| "\u7c59", | ||
| "\u8182", | ||
| "\u87f3", | ||
| "\ud44e", | ||
| "\ud835\udd39" | ||
| ], | ||
| "mteb_sts_scores": { | ||
| "BIOSSES": 0.639707, | ||
| "SICK-R": 0.633239, | ||
| "STS12": 0.566534, | ||
| "STS13": 0.731087, | ||
| "STS14": 0.647276, | ||
| "STS15": 0.723692, | ||
| "STS16": 0.644938, | ||
| "STSBenchmark": 0.58957 | ||
| }, | ||
| "token_order_hash": "cf0c61603b3c2786463e128bb975616001935355803924492e245746455ed235" | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.