together 1.5.14__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.
@@ -163,7 +163,7 @@ def fine_tuning(ctx: click.Context) -> None:
163
163
  @click.option(
164
164
  "--simpo-gamma",
165
165
  type=float,
166
- default=0.1,
166
+ default=0.0,
167
167
  help="SimPO gamma parameter (only used when '--training-method' is 'dpo')",
168
168
  )
169
169
  @click.option(
@@ -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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: together
3
- Version: 1.5.14
3
+ Version: 1.5.16
4
4
  Summary: Python client for Together's Cloud Platform!
5
5
  License: Apache-2.0
6
6
  Author: Together AI
@@ -7,7 +7,7 @@ together/cli/api/chat.py,sha256=2PHRb-9T-lUEKhUJFtc7SxJv3shCVx40gq_8pzfsewM,9234
7
7
  together/cli/api/completions.py,sha256=l-Zw5t7hojL3w8xd_mitS2NRB72i5Z0xwkzH0rT5XMc,4263
8
8
  together/cli/api/endpoints.py,sha256=f6KafWZvRF6n_ThWdr3y9uhE6wPF37PcD45w_EtgXmY,13289
9
9
  together/cli/api/files.py,sha256=QLYEXRkY8J2Gg1SbTCtzGfoTMvosoeACNK83L_oLubs,3397
10
- together/cli/api/finetune.py,sha256=zrjxpPSgqcZRhJA4A_QjXNhNUfEu24zw0Da3UfUlzrY,17063
10
+ together/cli/api/finetune.py,sha256=kyeJHT1hYRVGne10bgaGkSbg5w1hctb1eI2ZyI39cH8,17063
11
11
  together/cli/api/images.py,sha256=GADSeaNUHUVMtWovmccGuKc28IJ9E_v4vAEwYHJhu5o,2645
12
12
  together/cli/api/models.py,sha256=CXw8B1hqNkadogi58GIXhLg_dTJnvTBaE7Kq1_xQ-10,1423
13
13
  together/cli/api/utils.py,sha256=IuqYWPnLI38_Bqd7lj8V_SnGdYc59pRmMbQmciS4FsM,1326
@@ -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=1O8JIbtLDY32N6hL88jUQVDEGcXFnl9qJAEREFoEK5k,40407
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.14.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
66
- together-1.5.14.dist-info/METADATA,sha256=5fJlYeJKCtS-wVbWPtI_CDWKVSpMDvF3t-DmC8qxZ2U,15497
67
- together-1.5.14.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
68
- together-1.5.14.dist-info/entry_points.txt,sha256=G-b5NKW6lUUf1V1fH8IPTBb7jXnK7lhbX9H1zTEJXPs,50
69
- together-1.5.14.dist-info/RECORD,,
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,,