together 1.5.15__py3-none-any.whl → 1.5.16__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- together/resources/finetune.py +0 -18
- {together-1.5.15.dist-info → together-1.5.16.dist-info}/METADATA +1 -1
- {together-1.5.15.dist-info → together-1.5.16.dist-info}/RECORD +6 -6
- {together-1.5.15.dist-info → together-1.5.16.dist-info}/LICENSE +0 -0
- {together-1.5.15.dist-info → together-1.5.16.dist-info}/WHEEL +0 -0
- {together-1.5.15.dist-info → together-1.5.16.dist-info}/entry_points.txt +0 -0
together/resources/finetune.py
CHANGED
|
@@ -183,24 +183,6 @@ def create_finetune_request(
|
|
|
183
183
|
)
|
|
184
184
|
train_on_inputs = "auto"
|
|
185
185
|
|
|
186
|
-
if dpo_beta is not None and training_method != "dpo":
|
|
187
|
-
raise ValueError("dpo_beta is only supported for DPO training")
|
|
188
|
-
if dpo_normalize_logratios_by_length and training_method != "dpo":
|
|
189
|
-
raise ValueError(
|
|
190
|
-
"dpo_normalize_logratios_by_length=True is only supported for DPO training"
|
|
191
|
-
)
|
|
192
|
-
if rpo_alpha is not None:
|
|
193
|
-
if training_method != "dpo":
|
|
194
|
-
raise ValueError("rpo_alpha is only supported for DPO training")
|
|
195
|
-
if not rpo_alpha >= 0.0:
|
|
196
|
-
raise ValueError(f"rpo_alpha should be non-negative (got {rpo_alpha})")
|
|
197
|
-
|
|
198
|
-
if simpo_gamma is not None:
|
|
199
|
-
if training_method != "dpo":
|
|
200
|
-
raise ValueError("simpo_gamma is only supported for DPO training")
|
|
201
|
-
if not simpo_gamma >= 0.0:
|
|
202
|
-
raise ValueError(f"simpo_gamma should be non-negative (got {simpo_gamma})")
|
|
203
|
-
|
|
204
186
|
lr_scheduler: FinetuneLRScheduler
|
|
205
187
|
if lr_scheduler_type == "cosine":
|
|
206
188
|
if scheduler_num_cycles <= 0.0:
|
|
@@ -35,7 +35,7 @@ together/resources/completions.py,sha256=5Wa-ZjPCxRcam6CDe7KgGYlTA7yJZMmd5TrRgGC
|
|
|
35
35
|
together/resources/embeddings.py,sha256=PTvLb82yjG_-iQOyuhsilp77Fr7gZ0o6WD2KeRnKoxs,2675
|
|
36
36
|
together/resources/endpoints.py,sha256=NNjp-wyzOotzlscGGrANhOHxQBjHTN8f5kTQTH_CLvE,17177
|
|
37
37
|
together/resources/files.py,sha256=y3Ri6UtyAa7fjCJ8_fp26Y2hzzi6Aoo21JKkVgljFl8,5026
|
|
38
|
-
together/resources/finetune.py,sha256=
|
|
38
|
+
together/resources/finetune.py,sha256=ATQvM_uICoPWBzSehw0d4WO5pevXi3zObpYumTColPs,39548
|
|
39
39
|
together/resources/images.py,sha256=LQUjKPaFxWTqOAPnyF1Pp7Rz4NLOYhmoKwshpYiprEM,4923
|
|
40
40
|
together/resources/models.py,sha256=qgmAXv61Cq4oLxytenEZBywA8shldDHYxJ_EAu_4JWQ,3864
|
|
41
41
|
together/resources/rerank.py,sha256=3Ju_aRSyZ1s_3zCSNZnSnEJErUVmt2xa3M8z1nvejMA,3931
|
|
@@ -62,8 +62,8 @@ together/utils/api_helpers.py,sha256=2K0O6qeEQ2zVFvi5NBN5m2kjZJaS3-JfKFecQ7SmGaw
|
|
|
62
62
|
together/utils/files.py,sha256=btWQawwXbNKfPmCtRyObZViG1Xx-IPz45PrAtMXvcy8,16741
|
|
63
63
|
together/utils/tools.py,sha256=H2MTJhEqtBllaDvOyZehIO_IVNK3P17rSDeILtJIVag,2964
|
|
64
64
|
together/version.py,sha256=p03ivHyE0SyWU4jAnRTBi_sOwywVWoZPU4g2gzRgG-Y,126
|
|
65
|
-
together-1.5.
|
|
66
|
-
together-1.5.
|
|
67
|
-
together-1.5.
|
|
68
|
-
together-1.5.
|
|
69
|
-
together-1.5.
|
|
65
|
+
together-1.5.16.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
66
|
+
together-1.5.16.dist-info/METADATA,sha256=HsP69DC5NZmuAj6PXR9ja1mQCOWh4ffflnvv3E0Mj3U,15497
|
|
67
|
+
together-1.5.16.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
68
|
+
together-1.5.16.dist-info/entry_points.txt,sha256=G-b5NKW6lUUf1V1fH8IPTBb7jXnK7lhbX9H1zTEJXPs,50
|
|
69
|
+
together-1.5.16.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|