@tuned-tensor/cli 0.22.1 → 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 +40 -4
- package/dist/index.js +9319 -8455
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -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
|
|
|
@@ -387,6 +387,37 @@ tt usage
|
|
|
387
387
|
tt balance
|
|
388
388
|
```
|
|
389
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
|
+
|
|
390
421
|
`tt cloud specs`, `tt cloud datasets`,
|
|
391
422
|
`tt cloud label`, and `tt cloud models` expose the corresponding account
|
|
392
423
|
operations; each command's `--help` documents its arguments. Hosted training
|
|
@@ -401,9 +432,14 @@ original account and origin or prepare a new proposal. Cancelling older
|
|
|
401
432
|
hosted runs remains an explicit CLI command. Without a TT token these account tools are unavailable, while
|
|
402
433
|
local workflow commands and BYO inference continue to work.
|
|
403
434
|
|
|
404
|
-
`tt usage` reports the
|
|
405
|
-
|
|
406
|
-
|
|
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
|
|
407
443
|
requests have provider usage reports, so incomplete reporting is not mistaken
|
|
408
444
|
for zero consumption. The displayed provider cost is informational, not a
|
|
409
445
|
charge to TT credits. BYO provider usage is separate. `tt balance` shows TT
|