Skip to content

Commit 3861ecb

Browse files
committed
output model name suffix
1 parent 69e53a7 commit 3861ecb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eval_protocol/fireworks_rft.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import sys
66
import tempfile
77
import time
8+
import uuid
89
from pathlib import Path
910
from typing import Any, Callable, Dict, Iterable, Optional, Tuple
1011

@@ -224,7 +225,8 @@ def build_default_dataset_id(evaluator_id: str) -> str:
224225

225226
def build_default_output_model(evaluator_id: str) -> str:
226227
base = evaluator_id.lower().replace("_", "-")
227-
return f"{base}-rft"
228+
uuid_suffix = str(uuid.uuid4())[:4]
229+
return f"{base}-rft-{uuid_suffix}"
228230

229231

230232
__all__ = [

0 commit comments

Comments
 (0)