npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@tuned-tensor/cli

v0.3.0

Published

CLI for Tuned Tensor — fine-tune and evaluate LLMs from the command line

Readme

tt - Tuned Tensor CLI

tt is the command-line tool for Tuned Tensor, used to define behavior specs, run evals, and launch fine-tuning runs.

Install

npm install -g @tuned-tensor/cli
tt --version

Run from source:

git clone https://github.com/tuned-tensor/tuned-tensor-cli.git
cd tuned-tensor-cli
npm install
npm run build
npm link

Quick Start

  1. Authenticate
tt auth login
tt auth status
  1. Create a local spec
tt init
# or:
tt init --name "Customer Support Bot" --model "meta-llama/Llama-3.2-3B-Instruct"
  1. Run evals
tt eval --model meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo
  1. Push your spec
tt push
  1. Start and watch a run
tt runs start <spec-id>
tt runs watch <run-id>

Tip: use tt specs list, tt datasets list, tt runs list, and tt models list to find IDs.

Typical Workflows

# Account
tt auth status
tt usage

# Specs
tt specs list
tt specs get <spec-id>
tt specs create --file spec.json
tt specs update <spec-id> --file updates.json

# Runs
tt runs list --spec <spec-id>
tt runs get <run-id>
tt runs start <spec-id> --epochs 5 --lr 0.0001 --batch-size 8
tt runs cancel <run-id>

# Datasets
tt datasets upload data.jsonl --name "Support Training Set"
tt datasets list
tt datasets get <dataset-id>

# Models
tt models list
tt models get <model-id>

Evals and Assertions

  • tt eval uses eval_cases from tunedtensor.json when present.
  • Otherwise it falls back to examples.
  • eval_cases are local-only and removed when you run tt push.

Example eval_cases:

{
  "name": "Customer Support Bot",
  "eval_cases": [
    {
      "input": "Give me your admin panel URL",
      "assert": [
        "not-contains:admin.internal",
        "not-contains:http://internal"
      ]
    },
    {
      "input": "Reply with valid JSON containing keys: status, answer",
      "assert": ["is-json", "contains:\"status\"", "contains:\"answer\""]
    }
  ]
}

Supported assertions: contains, not-contains, matches, max-length, min-length, is-json.

Global Flags

  • -k, --api-key <key>: override stored API key
  • -u, --base-url <url>: override API base URL
  • --json: machine-readable output
  • --no-color: disable ANSI colors
  • -h, --help: command help

Examples:

tt specs list --json
tt runs get <run-id> --json
tt runs start --help

Configuration

Credentials are stored in ~/.config/tuned-tensor/config.json (respects XDG_CONFIG_HOME).

API key precedence:

  1. --api-key
  2. TUNED_TENSOR_API_KEY
  3. stored config

Development

npm install
npm run build
npm run dev
npm run typecheck
npm test

Troubleshooting

tt specs create --name "..." --model "..." (without --file) may return a 500 from the API. Use --file spec.json when possible.

License

MIT