@tuned-tensor/cli 0.22.0 → 0.23.0
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
CHANGED
|
@@ -72,7 +72,7 @@ npm install -g --ignore-scripts @tuned-tensor/cli
|
|
|
72
72
|
tt --version
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
-
Uninstall with `npm uninstall -g @tuned-tensor/cli` (add
|
|
75
|
+
Upgrade later with `tt upgrade`. Uninstall with `npm uninstall -g @tuned-tensor/cli` (add
|
|
76
76
|
`--prefix ~/.local` if the curl installer used that prefix).
|
|
77
77
|
|
|
78
78
|
Node.js 22.19.0 or newer is required. Training additionally needs
|
|
@@ -128,7 +128,7 @@ selects `tunedtensor/managed` automatically. In the shell, `/login tunedtensor`
|
|
|
128
128
|
saves the same account token and switches the saved agent selection to
|
|
129
129
|
`tunedtensor/managed`, including after restart. Managed inference requires no OpenRouter key
|
|
130
130
|
or additional login. The server controls the model and request limits.
|
|
131
|
-
`tt usage` shows the
|
|
131
|
+
`tt usage` shows the weekly limit remaining, the daily allowance, and reported usage.
|
|
132
132
|
|
|
133
133
|
For BYO OpenRouter inference:
|
|
134
134
|
|
|
@@ -156,10 +156,19 @@ catalog providers remain available by ID. Unauthenticated entries are marked
|
|
|
156
156
|
`auth required`. Local endpoints such as Ollama use a placeholder `apiKey` in
|
|
157
157
|
`models.json` and need no TT account.
|
|
158
158
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
159
|
+
`tt` checks npm for a newer stable release at most every 12 hours and
|
|
160
|
+
remembers the answer in `~/.tuned-tensor/update-check.json`. The notice appears
|
|
161
|
+
when the shell opens and after commands run in a terminal; explicit commands
|
|
162
|
+
never wait on the registry. Upgrade with:
|
|
163
|
+
|
|
164
|
+
```bash
|
|
165
|
+
tt upgrade # latest stable, into the same npm prefix tt runs from
|
|
166
|
+
tt upgrade --check # only report
|
|
167
|
+
tt upgrade beta # or a specific version
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
Offline or unavailable registry checks are ignored. `CI`, `TT_NO_UPDATE_CHECK=1`
|
|
171
|
+
or `NO_UPDATE_NOTIFIER=1` disable the check.
|
|
163
172
|
|
|
164
173
|
After a model is selected, the banner shows it and ordinary sentences go to
|
|
165
174
|
the agent:
|
|
@@ -378,6 +387,37 @@ tt usage
|
|
|
378
387
|
tt balance
|
|
379
388
|
```
|
|
380
389
|
|
|
390
|
+
### Teacher-label raw data
|
|
391
|
+
|
|
392
|
+
Label unlabeled inputs with a stronger teacher model, review them, and train
|
|
393
|
+
an adapter on the result. Labeling uses TT credits. Add a few high-quality
|
|
394
|
+
examples to the spec first: the teacher follows them as the output format.
|
|
395
|
+
|
|
396
|
+
In the agent, say what you want, for example "label emails.jsonl with the
|
|
397
|
+
teacher". It checks the spec and proposes the job. Approving it pushes the spec,
|
|
398
|
+
uploads the file and starts labeling in the cloud. Ask for the status at any
|
|
399
|
+
time. When labeling finishes, the agent asks whether to use only rows you
|
|
400
|
+
reviewed or also the teacher's drafts, proposes the download, and then proposes
|
|
401
|
+
the `dataset_prebuilt` edit.
|
|
402
|
+
|
|
403
|
+
The same steps as commands:
|
|
404
|
+
|
|
405
|
+
```bash
|
|
406
|
+
tt cloud push --file tunedtensor.json # prints the cloud spec ID
|
|
407
|
+
tt cloud label upload emails.jsonl --spec <spec-id> --watch # {"input": "..."} per line
|
|
408
|
+
tt cloud label status <job-id>
|
|
409
|
+
tt cloud label rows <job-id> --status labeled
|
|
410
|
+
tt cloud label accept <job-id> --rows 0,3,12 # or --all after spot checks
|
|
411
|
+
tt cloud label edit <job-id> --row 5 --output "..."
|
|
412
|
+
tt cloud label download <job-id> # writes datasets/<job-name>/
|
|
413
|
+
```
|
|
414
|
+
|
|
415
|
+
`download` keeps accepted and edited rows (add `--include-unreviewed` for
|
|
416
|
+
teacher drafts), drops rows blocked for secrets, removes duplicate inputs,
|
|
417
|
+
drops inputs that received conflicting labels, and holds out a deterministic
|
|
418
|
+
validation split (`--validation-ratio`, default 0.1). It prints the
|
|
419
|
+
`dataset_prebuilt` paths to add to `tunedtensor.json`.
|
|
420
|
+
|
|
381
421
|
`tt cloud specs`, `tt cloud datasets`,
|
|
382
422
|
`tt cloud label`, and `tt cloud models` expose the corresponding account
|
|
383
423
|
operations; each command's `--help` documents its arguments. Hosted training
|
|
@@ -392,9 +432,14 @@ original account and origin or prepare a new proposal. Cancelling older
|
|
|
392
432
|
hosted runs remains an explicit CLI command. Without a TT token these account tools are unavailable, while
|
|
393
433
|
local workflow commands and BYO inference continue to work.
|
|
394
434
|
|
|
395
|
-
`tt usage` reports the
|
|
396
|
-
|
|
397
|
-
|
|
435
|
+
`tt usage` reports how much of the weekly managed inference limit remains,
|
|
436
|
+
when it resets (Monday 00:00 UTC), and the server-configured daily request
|
|
437
|
+
allowance. When the weekly limit is used up, managed requests are refused
|
|
438
|
+
until the reset; BYO provider keys are unaffected. Check `tt usage` before a
|
|
439
|
+
long session to avoid hitting the limit mid-task. Each provider completion, including a tool follow-up, consumes one request;
|
|
440
|
+
failed and cancelled requests also count. Weekly cost includes reservations for
|
|
441
|
+
running requests and estimates for interrupted requests or missing final costs.
|
|
442
|
+
Token/cost coverage shows which
|
|
398
443
|
requests have provider usage reports, so incomplete reporting is not mistaken
|
|
399
444
|
for zero consumption. The displayed provider cost is informational, not a
|
|
400
445
|
charge to TT credits. BYO provider usage is separate. `tt balance` shows TT
|
|
@@ -7768,6 +7768,7 @@ export {
|
|
|
7768
7768
|
DEFAULT_FOUNDATION_RUNS_DIR,
|
|
7769
7769
|
DEFAULT_DECISION_RUNS_DIR,
|
|
7770
7770
|
expandUserPath,
|
|
7771
|
+
getTunedTensorHome,
|
|
7771
7772
|
getConfigDir,
|
|
7772
7773
|
getAgentConfigDir,
|
|
7773
7774
|
defaultStoreRoot,
|
|
@@ -7896,4 +7897,4 @@ export {
|
|
|
7896
7897
|
assessHardware,
|
|
7897
7898
|
createRunConsoleReporter
|
|
7898
7899
|
};
|
|
7899
|
-
//# sourceMappingURL=chunk-
|
|
7900
|
+
//# sourceMappingURL=chunk-RPWOCVIL.js.map
|