@tuned-tensor/cli 0.4.22 → 0.4.23
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.
- package/README.md +7 -3
- package/dist/index.js +16 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
# tt - Tuned Tensor CLI
|
|
2
2
|
|
|
3
|
-
`tt` is the command-line
|
|
4
|
-
Use it to define behaviour
|
|
5
|
-
|
|
3
|
+
`tt` is the command-line client for the optional managed
|
|
4
|
+
[Tuned Tensor](https://www.tunedtensor.com) service. Use it to define behaviour
|
|
5
|
+
specs, launch managed fine-tuning runs, inspect paired baseline-vs-tuned
|
|
6
|
+
reports, and download or serve trained models. For local CUDA or DGX Spark
|
|
7
|
+
training without a Tuned Tensor account, use `tt-local` from
|
|
8
|
+
`@tuned-tensor/local`.
|
|
6
9
|
|
|
7
10
|
The main CLI documentation lives at
|
|
8
11
|
[tunedtensor.com/docs/cli](https://tunedtensor.com/docs/cli). This README is a
|
|
@@ -37,6 +40,7 @@ tt push
|
|
|
37
40
|
tt runs estimate <spec-id>
|
|
38
41
|
tt runs start <spec-id>
|
|
39
42
|
tt runs watch <run-id>
|
|
43
|
+
tt runs report <run-id>
|
|
40
44
|
```
|
|
41
45
|
|
|
42
46
|
To continue training from a completed fine-tuned model artifact:
|
package/dist/index.js
CHANGED
|
@@ -652,6 +652,7 @@ function formatEstimateRange(estimate) {
|
|
|
652
652
|
return `${formatMinutes(duration.estimated_minutes)} (${formatMinutes(duration.range_minutes.low)}-${formatMinutes(duration.range_minutes.high)})`;
|
|
653
653
|
}
|
|
654
654
|
function printRunEstimate(estimate) {
|
|
655
|
+
const billing = estimate.billing;
|
|
655
656
|
printDetail([
|
|
656
657
|
["Estimated Time", formatEstimateRange(estimate)],
|
|
657
658
|
["Confidence", estimate.duration.confidence],
|
|
@@ -659,7 +660,20 @@ function printRunEstimate(estimate) {
|
|
|
659
660
|
["Basis", estimate.duration.basis.replaceAll("_", " ")],
|
|
660
661
|
["Estimated Cost", formatCents(estimate.estimated_cost_cents)],
|
|
661
662
|
["Training Tokens", `${(estimate.estimated_training_tokens / 1e3).toFixed(1)}k`],
|
|
662
|
-
["Epochs", String(estimate.estimated_epochs)]
|
|
663
|
+
["Epochs", String(estimate.estimated_epochs)],
|
|
664
|
+
["Plan", billing?.plan],
|
|
665
|
+
[
|
|
666
|
+
"Billing Source",
|
|
667
|
+
billing?.billing_source === "free_quota" ? "Free monthly quota" : billing?.billing_source === "credits" ? "Credits" : void 0
|
|
668
|
+
],
|
|
669
|
+
[
|
|
670
|
+
"Free Runs",
|
|
671
|
+
billing ? `${billing.free_runs_remaining}/${billing.free_runs_monthly_limit} remaining` : void 0
|
|
672
|
+
],
|
|
673
|
+
[
|
|
674
|
+
"Free Eligible",
|
|
675
|
+
billing ? billing.free_run_eligible ? "yes" : `no (${billing.free_run_ineligibility.join(", ") || "not eligible"})` : void 0
|
|
676
|
+
]
|
|
663
677
|
]);
|
|
664
678
|
console.log(
|
|
665
679
|
"\nDuration is a rough historical range. Final cost uses provider-reported training tokens."
|
|
@@ -4123,7 +4137,7 @@ function registerPushCommand(parent) {
|
|
|
4123
4137
|
|
|
4124
4138
|
// src/index.ts
|
|
4125
4139
|
var program = new Command();
|
|
4126
|
-
program.name("tt").description("Tuned Tensor CLI \u2014 fine-tune and evaluate LLMs").version("0.4.
|
|
4140
|
+
program.name("tt").description("Tuned Tensor CLI \u2014 fine-tune and evaluate LLMs").version("0.4.23").option("-k, --api-key <key>", "API key (overrides stored key)").option(
|
|
4127
4141
|
"-u, --base-url <url>",
|
|
4128
4142
|
"API base URL (default: https://tunedtensor.com)"
|
|
4129
4143
|
).option("--json", "Output raw JSON").option("--no-color", "Disable colors").hook("preAction", (_thisCommand, actionCommand) => {
|