together 1.2.6__py3-none-any.whl → 1.2.7__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 +7 -1
- {together-1.2.6.dist-info → together-1.2.7.dist-info}/METADATA +1 -1
- {together-1.2.6.dist-info → together-1.2.7.dist-info}/RECORD +6 -6
- {together-1.2.6.dist-info → together-1.2.7.dist-info}/LICENSE +0 -0
- {together-1.2.6.dist-info → together-1.2.7.dist-info}/WHEEL +0 -0
- {together-1.2.6.dist-info → together-1.2.7.dist-info}/entry_points.txt +0 -0
together/resources/finetune.py
CHANGED
|
@@ -33,7 +33,7 @@ class FineTuning:
|
|
|
33
33
|
n_checkpoints: int | None = 1,
|
|
34
34
|
batch_size: int | None = 16,
|
|
35
35
|
learning_rate: float | None = 0.00001,
|
|
36
|
-
lora: bool =
|
|
36
|
+
lora: bool = False,
|
|
37
37
|
lora_r: int | None = 8,
|
|
38
38
|
lora_dropout: float | None = 0,
|
|
39
39
|
lora_alpha: float | None = 8,
|
|
@@ -108,6 +108,12 @@ class FineTuning:
|
|
|
108
108
|
"The default value of batch size has been changed from 32 to 16 since together version >= 1.2.6"
|
|
109
109
|
)
|
|
110
110
|
|
|
111
|
+
# TODO: Remove after next LoRA default change
|
|
112
|
+
log_warn(
|
|
113
|
+
"Some of the jobs run _directly_ from the together-python library might be trained using LoRA adapters. "
|
|
114
|
+
"The version range when this change occurred is from 1.2.3 to 1.2.6."
|
|
115
|
+
)
|
|
116
|
+
|
|
111
117
|
return FinetuneResponse(**response.data)
|
|
112
118
|
|
|
113
119
|
def list(self) -> FinetuneList:
|
|
@@ -28,7 +28,7 @@ together/resources/chat/completions.py,sha256=BFeApiCRSTzy3FXiRudWVhN-dOodC4MMYo
|
|
|
28
28
|
together/resources/completions.py,sha256=ouv9_jCsVT-vz49i77T053v35LL9iWhUXT7awa_gH5o,11387
|
|
29
29
|
together/resources/embeddings.py,sha256=AddhcJTS7cjhCpW6v8B2mOLoHugeo3AxL9AGrBEKe8o,2580
|
|
30
30
|
together/resources/files.py,sha256=bnPbaF25e4InBRPvHwXHXT-oSX1Z1sZRsnQW5wq82U4,4990
|
|
31
|
-
together/resources/finetune.py,sha256=
|
|
31
|
+
together/resources/finetune.py,sha256=hBvTVIongV32-dJo8iKdKgy_7K_TGdk5QQ3q6ocYb0I,13988
|
|
32
32
|
together/resources/images.py,sha256=ALTxJyrUHkGnPzfm7R_nySF0fhUwPjrcyg1j3hzZ_WY,4809
|
|
33
33
|
together/resources/models.py,sha256=2dtHhXAqTDOOpwSbYLzWcKTC0-m2Szlb7LDYvp7Jr4w,1786
|
|
34
34
|
together/together_response.py,sha256=MhczUCPem93cjX-A1TOAUrRj3sO-o3SLcEcTsZgVzQI,1319
|
|
@@ -49,8 +49,8 @@ together/utils/api_helpers.py,sha256=RSF7SRhbjHzroMOSWAXscflByM1r1ta_1SpxkAT22iE
|
|
|
49
49
|
together/utils/files.py,sha256=gMLthqfP5hKxVAerHMdy7gLXzdfY6lyOXdpW24Y4X3I,7165
|
|
50
50
|
together/utils/tools.py,sha256=3-lXWP3cBCzOVSZg9tr5zOT1jaVeKAKVWxO2fcXZTh8,1788
|
|
51
51
|
together/version.py,sha256=p03ivHyE0SyWU4jAnRTBi_sOwywVWoZPU4g2gzRgG-Y,126
|
|
52
|
-
together-1.2.
|
|
53
|
-
together-1.2.
|
|
54
|
-
together-1.2.
|
|
55
|
-
together-1.2.
|
|
56
|
-
together-1.2.
|
|
52
|
+
together-1.2.7.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
53
|
+
together-1.2.7.dist-info/METADATA,sha256=Pk0b0rO468XdWV-jcSv6E0dhdr3F2J6i2ybUuvjJhP0,11812
|
|
54
|
+
together-1.2.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
55
|
+
together-1.2.7.dist-info/entry_points.txt,sha256=G-b5NKW6lUUf1V1fH8IPTBb7jXnK7lhbX9H1zTEJXPs,50
|
|
56
|
+
together-1.2.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|