together 1.3.8__py3-none-any.whl → 1.3.10__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/cli/api/finetune.py +2 -5
- together/resources/finetune.py +2 -2
- {together-1.3.8.dist-info → together-1.3.10.dist-info}/METADATA +2 -2
- {together-1.3.8.dist-info → together-1.3.10.dist-info}/RECORD +7 -7
- {together-1.3.8.dist-info → together-1.3.10.dist-info}/LICENSE +0 -0
- {together-1.3.8.dist-info → together-1.3.10.dist-info}/WHEEL +0 -0
- {together-1.3.8.dist-info → together-1.3.10.dist-info}/entry_points.txt +0 -0
together/cli/api/finetune.py
CHANGED
|
@@ -92,7 +92,7 @@ def fine_tuning(ctx: click.Context) -> None:
|
|
|
92
92
|
@click.option(
|
|
93
93
|
"--lora/--no-lora",
|
|
94
94
|
type=bool,
|
|
95
|
-
default=
|
|
95
|
+
default=True,
|
|
96
96
|
help="Whether to use LoRA adapters for fine-tuning",
|
|
97
97
|
)
|
|
98
98
|
@click.option("--lora-r", type=int, default=8, help="LoRA adapters' rank")
|
|
@@ -197,10 +197,7 @@ def create(
|
|
|
197
197
|
"batch_size": model_limits.lora_training.max_batch_size,
|
|
198
198
|
"learning_rate": 1e-3,
|
|
199
199
|
}
|
|
200
|
-
|
|
201
|
-
f"The default LoRA rank for {model} has been changed to {default_values['lora_r']} as the max available.\n"
|
|
202
|
-
f"Also, the default learning rate for LoRA fine-tuning has been changed to {default_values['learning_rate']}."
|
|
203
|
-
)
|
|
200
|
+
|
|
204
201
|
for arg in default_values:
|
|
205
202
|
arg_source = ctx.get_parameter_source("arg") # type: ignore[attr-defined]
|
|
206
203
|
if arg_source == ParameterSource.DEFAULT:
|
together/resources/finetune.py
CHANGED
|
@@ -149,7 +149,7 @@ class FineTuning:
|
|
|
149
149
|
warmup_ratio: float = 0.0,
|
|
150
150
|
max_grad_norm: float = 1.0,
|
|
151
151
|
weight_decay: float = 0.0,
|
|
152
|
-
lora: bool =
|
|
152
|
+
lora: bool = True,
|
|
153
153
|
lora_r: int | None = None,
|
|
154
154
|
lora_dropout: float | None = 0,
|
|
155
155
|
lora_alpha: float | None = None,
|
|
@@ -490,7 +490,7 @@ class AsyncFineTuning:
|
|
|
490
490
|
warmup_ratio: float = 0.0,
|
|
491
491
|
max_grad_norm: float = 1.0,
|
|
492
492
|
weight_decay: float = 0.0,
|
|
493
|
-
lora: bool =
|
|
493
|
+
lora: bool = True,
|
|
494
494
|
lora_r: int | None = None,
|
|
495
495
|
lora_dropout: float | None = 0,
|
|
496
496
|
lora_alpha: float | None = None,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: together
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.10
|
|
4
4
|
Summary: Python client for Together's Cloud Platform!
|
|
5
5
|
Home-page: https://github.com/togethercomputer/together-python
|
|
6
6
|
License: Apache-2.0
|
|
@@ -29,7 +29,7 @@ Requires-Dist: requests (>=2.31.0,<3.0.0)
|
|
|
29
29
|
Requires-Dist: rich (>=13.8.1,<14.0.0)
|
|
30
30
|
Requires-Dist: tabulate (>=0.9.0,<0.10.0)
|
|
31
31
|
Requires-Dist: tqdm (>=4.66.2,<5.0.0)
|
|
32
|
-
Requires-Dist: typer (>=0.9,<0.
|
|
32
|
+
Requires-Dist: typer (>=0.9,<0.16)
|
|
33
33
|
Project-URL: Bug Tracker, https://github.com/togethercomputer/together-python/issues
|
|
34
34
|
Project-URL: Repository, https://github.com/togethercomputer/together-python
|
|
35
35
|
Description-Content-Type: text/markdown
|
|
@@ -6,7 +6,7 @@ together/cli/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
|
6
6
|
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/files.py,sha256=QLYEXRkY8J2Gg1SbTCtzGfoTMvosoeACNK83L_oLubs,3397
|
|
9
|
-
together/cli/api/finetune.py,sha256=
|
|
9
|
+
together/cli/api/finetune.py,sha256=FWHENGE86oLNCVXEJN9AAU3FlSTtnO96aShhB2xVrsk,12923
|
|
10
10
|
together/cli/api/images.py,sha256=GADSeaNUHUVMtWovmccGuKc28IJ9E_v4vAEwYHJhu5o,2645
|
|
11
11
|
together/cli/api/models.py,sha256=xWEzu8ZpxM_Pz9KEjRPRVuv_v22RayYZ4QcgiezT5tE,1126
|
|
12
12
|
together/cli/api/utils.py,sha256=IuqYWPnLI38_Bqd7lj8V_SnGdYc59pRmMbQmciS4FsM,1326
|
|
@@ -29,7 +29,7 @@ together/resources/chat/completions.py,sha256=jYiNZsWa8RyEacL0VgxWj1egJ857oU4nxI
|
|
|
29
29
|
together/resources/completions.py,sha256=5Wa-ZjPCxRcam6CDe7KgGYlTA7yJZMmd5TrRgGCL_ug,11726
|
|
30
30
|
together/resources/embeddings.py,sha256=PTvLb82yjG_-iQOyuhsilp77Fr7gZ0o6WD2KeRnKoxs,2675
|
|
31
31
|
together/resources/files.py,sha256=bnPbaF25e4InBRPvHwXHXT-oSX1Z1sZRsnQW5wq82U4,4990
|
|
32
|
-
together/resources/finetune.py,sha256=
|
|
32
|
+
together/resources/finetune.py,sha256=0UiN2jxxV_lQ9QSFKDjAioXVgPCIzb7biIJbcQj1oq4,26998
|
|
33
33
|
together/resources/images.py,sha256=LQUjKPaFxWTqOAPnyF1Pp7Rz4NLOYhmoKwshpYiprEM,4923
|
|
34
34
|
together/resources/models.py,sha256=2dtHhXAqTDOOpwSbYLzWcKTC0-m2Szlb7LDYvp7Jr4w,1786
|
|
35
35
|
together/resources/rerank.py,sha256=3Ju_aRSyZ1s_3zCSNZnSnEJErUVmt2xa3M8z1nvejMA,3931
|
|
@@ -52,8 +52,8 @@ together/utils/api_helpers.py,sha256=RSF7SRhbjHzroMOSWAXscflByM1r1ta_1SpxkAT22iE
|
|
|
52
52
|
together/utils/files.py,sha256=EJaziXezArb4cKtNodqaOsNJT-FWb1qIfMmSCFqPPm8,13745
|
|
53
53
|
together/utils/tools.py,sha256=3-lXWP3cBCzOVSZg9tr5zOT1jaVeKAKVWxO2fcXZTh8,1788
|
|
54
54
|
together/version.py,sha256=p03ivHyE0SyWU4jAnRTBi_sOwywVWoZPU4g2gzRgG-Y,126
|
|
55
|
-
together-1.3.
|
|
56
|
-
together-1.3.
|
|
57
|
-
together-1.3.
|
|
58
|
-
together-1.3.
|
|
59
|
-
together-1.3.
|
|
55
|
+
together-1.3.10.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
56
|
+
together-1.3.10.dist-info/METADATA,sha256=Qfmm3LBkP-NympbEteGajWU9YwZ2LAGXqVVYqIE4n2s,11830
|
|
57
|
+
together-1.3.10.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
58
|
+
together-1.3.10.dist-info/entry_points.txt,sha256=G-b5NKW6lUUf1V1fH8IPTBb7jXnK7lhbX9H1zTEJXPs,50
|
|
59
|
+
together-1.3.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|