functionVerified releasev1

generate_practice_line

Generate one practice line from a trained typing-check model, optionally biased by keystroke_bias (requires torch).

Updated
Runtime
current process; user-managed packages · Python 3.13

Interface

Verified contract

Callable Object

Inputs

NameType
model_dirstr
biaslist | None
temperaturefloat
max_tokensint
seedint | None
devicestr

Outputs

NameType
defaultstr

Exact release

Pinned local call

from spl import SPLClient

result = SPLClient.embedded().call(
    "splime://@splime.project/typing-trainer/generate_practice_line@1",
    kwargs={'bias': [], 'device': 'replace-with-value', 'max_tokens': 0, 'model_dir': 'replace-with-value', 'seed': 0, 'temperature': 0.0},
    trust=True,
)

Review before running. Public bundles contain executable code. Verify the publisher and exact content hash; a virtual environment isolates dependencies, not the operating system.

Evidence

Evidence-backed concepts

  • Generate practice line
  • Optionally biased
  • Keystroke bias
  • Requires torch
  • Trained typing check model
  • Model dir
  • Max tokens
  • Floating point

History

Public versions

  • v10 downloads

Discover

Similar Objects

Explore all