mirror of
https://github.com/p-e-w/heretic.git
synced 2026-08-31 01:16:02 -07:00
feat: Add alternate CI hash in the valid list (for qwen2.5) (#412)
* feat: Add alternate CI hash in the valid list (for qwen2.5) * ruff
This commit is contained in:
+9
-11
@@ -773,18 +773,16 @@ def run():
|
||||
# Best trials isn't sorted, so sort by all the scores in non-decreasing order.
|
||||
sorted_trials = sorted(
|
||||
study.best_trials,
|
||||
key=lambda trial: (
|
||||
tuple(
|
||||
next(
|
||||
(
|
||||
score["score"]["value"]
|
||||
for score in trial.user_attrs["scores"]
|
||||
if score["name"] == name
|
||||
),
|
||||
None,
|
||||
)
|
||||
for name in objective_names
|
||||
key=lambda trial: tuple(
|
||||
next(
|
||||
(
|
||||
score["score"]["value"]
|
||||
for score in trial.user_attrs["scores"]
|
||||
if score["name"] == name
|
||||
),
|
||||
None,
|
||||
)
|
||||
for name in objective_names
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
cd8e9439f0570856fd70470bf8889ebd8b5d1107207f67a5efb46e342330527f *chat_template.jinja
|
||||
45134b857367fdcb97c0179199848c353fc28f8b95ac2244ac8f45cca448d864 *config.json
|
||||
e81e23e025c38e825dcf8375861e26a90e804276e4db9ee390122a4fdc95dae7 *generation_config.json
|
||||
e616cbeb5a913015eb3db96e001030048df2db560df363d4cf688f0c1b2c96de *model.safetensors
|
||||
f7f96da3a872b5e901575b2067c744ad336c3a3d77a21584d20024557b1bd7f0 *tokenizer.json
|
||||
04b1682c59acbd057f4c9072297faa73d56fc9de053094c659cdb4c464f58f86 *tokenizer_config.json
|
||||
Reference in New Issue
Block a user