Skip to content

Data Tools

Soup includes powerful CLI tools for preparing training datasets. Full augmentation guide: Data augmentation.

An output that is an input is refused (v0.77.1)

Through v0.77.0, eighteen soup data commands could write their result over one of their own inputs and exit 0; in upstream's words, the original could not be recovered. Since v0.77.1 each of them compares its outputs with its inputs before the data is read and refuses the same file under any spelling: the same string, ./x, sub/../x, the absolute path, a case variant on a case-insensitive file system and a hard link. Upstream's list also names a symlink and, on Windows, a trailing space or dot, ::$DATA and a junction. The message names both paths and says what to change:

text
--output 'd.jsonl' is the same file as the input 'd.jsonl'; choose a different --output
CommandsExitRefused when --output is
pii, toxicity, langdetect, educational, decontaminate1the same file as --input (for decontaminate, also as --benchmark-file)
doctor, topics, from-traces, canary insert, sample, dedup, filter, convert, merge, active-sample1the same file as an input
lint3the same file as the input
augment, evolve2the same file as --input

The check also catches a default output name that the input already has: pii.jsonl, toxicity.jsonl, langdetect.jsonl, educational.jsonl and clean.jsonl for the five quality scans, merged.jsonl for merge, prefs.jsonl for from-traces, active_samples.jsonl for active-sample and augmented.jsonl for augment. For the other commands only an explicit --output can collide: convert, filter, sample and dedup derive their default name from the input name, lint, doctor and topics write only when you pass --output, and canary insert requires one. canary insert also refuses a --manifest that is the dataset or the --output. An output that is a different file works as before, and default output names are unchanged (#2245, #2261).

If a script wrote a result over its own input, it now fails; for an in-place edit, write to a new file and rename it. soup data clean already refused this.

Since v0.77.2 the commands v0.77.1 left out are covered too (#2226, #2274 by @kok-o; #2349). One shared, terminal-safe refusal now applies to a soup data output that aliases an input, links and alternate path spellings included:

CommandRefused when the output is the same file as
soup data persona-mix--prompts, and --personas or --styles when given
soup data generate--seed, --dedup-with or --context when given
soup data canary check--manifest (when --output is given)
soup data mix --optimizeone of the --datasets, and --base-yaml with --live
soup data forge--docs or a document in it, for --output and --provenance; --output and --provenance also may not be the same file
soup data recipe --executethe recipe file or a seed node's path, for each file the run would write under --output (the checkpoint, each node's output and each sampler's output)
soup data ingestthe source document, checked before it is read

The exit code is 1 for these. The refusal text no longer starts with Error: (soup data doctor, lint) or Plan failed: (soup data forge), and every exit code in the table above is unchanged. soup data gen-magpie has no input-file option, so there is nothing for it to overwrite. soup adapters arithmetic and soup adapters merge refuse an --output that names one of the input adapters in the same way (#2379), exit 1. Upstream prints no new total, so "eighteen" above stays the v0.77.1 count, and this page does not claim a count for v0.77.2 or "every soup data command". Checked on the v0.77.2 binary: persona-mix, generate (--seed and --dedup-with), ingest, mix --optimize, recipe --execute and forge (-o and --provenance inside --docs) each exit 1 and leave the input untouched.

Inspect

bash
soup data inspect ./data/train.jsonl

Shows dataset statistics: sample count, token distribution, field analysis. For vision datasets, automatically shows image statistics (images referenced, missing image field, found on disk, outside the image directory, formats). --rows N (-r) sets how many sample rows it prints; the default is 5.

--image-dir DIR (new in v0.76.0) names the directory the images live in. Without it, relative image paths resolve against the data file's directory, the same way training resolves them, and an image that training would refuse as outside that directory is reported as outside rather than counted as found. See Data formats for the rules.

Validate

bash
soup data validate ./data/train.jsonl
soup data validate ./data/train.jsonl --format alpaca
soup data validate ./data/train.jsonl --min-valid-fraction 0.9

Checks for missing fields, encoding issues, and format compliance. Auto-detects format when --format is not specified.

It agrees with the loader now, and it did not before v0.75.0. The validator used to judge a row by which top-level keys were present, while load_dataset runs the real converters and drops any row that comes back empty. Those are two different notions of valid, and they disagreed in two directions: the six formats with no key signature at all — prm, pre_tokenized, input_output, video, multimodal and raft — skipped validation entirely and reported every row valid regardless of content, and for the formats that were checked, key presence passed rows a converter drops on a value, such as a null field or a non-dict message. A file could validate clean and then fail in the middle of a training run.

The valid-row count is now computed by running the real conversion path per row, so the agreement is structural rather than a second, weaker check that drifts. When a row is dropped, the converter's own reason is surfaced for the first few offenders, row 3: chatml message must be a dict, so the report says which rows and why rather than only a count. On upstream's own datasets this shifted 120 of 360 file-by-format verdicts, every one of them an over-count on a file that genuinely had zero valid rows in that format.

Since v0.76.0 soup train (and --dry-run) prints the same count when its loader drops rows, Warning: N of M rows dropped: they do not convert as '<format>'. First: row <i>: <reason>., with, for a local file, a hint to run soup data validate (worded List them all with:; the command counts every dropped row and prints the reasons for the first three), and it exits 1 before loading the model when the data yields no training rows at all. See Data formats.

The exit codes matter, because this is the first step of the PR gate soup ci init writes:

ExitMeaning
0At least one row is usable, and any --min-valid-fraction is met. A partially valid dataset still exits 0 when no minimum is given. An empty file also exits 0 when --format is named explicitly (it prints Dataset is empty and 0/0 rows valid); without --format it exits 3, so a gate that must fail on an empty dataset needs its own row-count check
2A non-empty dataset with no usable rows, or one below --min-valid-fraction. This is the gate failing
3An input or usage error: a missing file, a format that cannot be detected (an empty file with no --format included), an unknown --format, a --min-valid-fraction outside [0.0, 1.0], or a mistyped flag

Since v0.76.0 a bad invocation of soup data validate exits 3, so 2 always means the data failed the check. Through v0.75.2 an input error exited 1 and a mistyped flag exited 2, the same code as a failed gate. A CI step that tests for exit 1 as "bad input" no longer matches; one that treats any non-zero as failure still works. One case still exits 1: a file extension the loader does not support (anything outside .jsonl, .json, .csv, .parquet and .txt) ends in an unhandled error, not a usage error. The other commands that follow the same 0 / 2 / 3 rule are listed on Exit codes.

Rows that are not JSON objects (v0.77.0). A JSONL line that is not an object or not valid JSON, and a JSON array element that is not an object, is skipped with a warning that names the line or row (Warning: line 2 is a JSON number, not an object); the loader prints the first three warnings of each kind, then ... and N more, and never prints the rejected content. Since v0.77.0 soup data validate lists the first three of each kind as issues (then ... and N more) and counts each one as an invalid row in its N/M rows valid line, in --min-valid-fraction and in the exit code (#1908). A file whose every row was skipped exits 2 (Validation failed: no usable rows remain.) when --format names the format, and 3 without one (no object rows remain: ... cannot detect a format. Pass --format to validate.). A partially valid file without --min-valid-fraction still exits 0, so pass --min-valid-fraction 1.0 when every row must convert. The training drop warning counts only the rows that reached the converter: soup train prints the loader's warnings for the lines it skipped, but only soup data validate counts them.

Warning:

Re-run this (v0.77.0). Through v0.76.1 soup data validate left those rows out of both counts: a four-line file with three lines of invalid JSON printed Dataset is valid! and 1/1 rows valid, and passed --min-valid-fraction 1.0 with exit 0, while a row such as 42 crashed the validator instead (AttributeError, exit 1). Validate such files again, and check any CI step that relied on the old result (#1887, #1908; #1860, #1873). Since v0.77.0 the workflow soup ci init writes runs the validate step with --min-valid-fraction 1.0. A workflow written by an earlier release keeps the old step until you regenerate it with soup ci init --force (#2079); see Compliance pack.

--min-valid-fraction takes a float in [0.0, 1.0] and defaults to 0.0, meaning no minimum. Since v0.78.0 nan is refused like inf and 1.5 (#2917): soup data validate --min-valid-fraction nan is a usage error, exit 3 (nan is not in the range 0.0<=x<=1.0.), before any input is read. The v0.77.2 tree accepted it (exit 0, 3/3 rows valid in the run that checked). Upstream applies the same refusal to five more options, each a usage error with exit 2: soup data score --threshold, soup data decontaminate --threshold, soup data toxicity --threshold, soup data forge --uncertainty-threshold and soup draft measure --min-acceptance. Two of those behaviours are new in v0.75.0: before it, a file with zero usable rows exited 0, and --format bogus exited 0 while reporting "2/2 rows valid for bogus format", which quietly turned the CI gate into a pass for any file. An unknown format is an input error rather than a failed gate, deliberately, so a typo cannot be mistaken for a real rejection.

The accepted values for --format are auto plus the nineteen convertible formats: alpaca, sharegpt, chatml, dpo, kto, llava, sharegpt4v, plaintext, embedding, audio, tool-calling, prm, pre_tokenized, input_output, video, multimodal, raft, asr and cross_encoder (the last is new in v0.76.0 and is valid only with task: cross_encoder). The flag's own --help text lists only seven of them and is stale; this list is the allowlist the code checks against.

Clean

bash
soup data clean raw.jsonl --dry-run
soup data clean raw.jsonl

soup data clean (new in v0.76.0) strips control characters, zero-width spaces and byte-order marks, drops rows with an empty assistant turn, and optionally strips boilerplate, closes unclosed code fences, repairs tool-call JSON and prunes echo turns. It writes a new file and never modifies the input. The full reference is on Clean a dataset with soup data clean.

Convert

bash
soup data convert ./data/train.jsonl --to sharegpt --output converted.jsonl

Transform between alpaca, sharegpt, and chatml formats. --output defaults to <input>_<format>.jsonl; since v0.77.1 it must not be the input file (exit 1, #2261).

Merge

bash
soup data merge data1.jsonl data2.jsonl --output merged.jsonl --shuffle

Combine multiple datasets with optional shuffling. --output defaults to merged.jsonl. Since v0.77.1 it must not be any of the inputs, so an input that is itself named merged.jsonl is refused under the default (exit 1, #2261).

Deduplicate

bash
# Requires: pip install "soup-cli[data]"
soup data dedup ./data/train.jsonl --threshold 0.8

# Semantic near-dup removal over embedding cosine (v0.71.36, needs [train]):
soup data dedup ./data/train.jsonl --semantic -o clean.jsonl

Remove near-duplicate samples using MinHash, or add --semantic to catch reworded duplicates MinHash's shingling scores as distinct. --threshold (0.0 to 1.0, default 0.8) is a Jaccard similarity for MinHash and an embedding cosine under --semantic: they are different scales, so a value tuned for one means nothing for the other. See Data Moat II for the semantic path, plus soup data topics (coverage map) and soup data canary (memorization probe). --output defaults to <input>_deduped.jsonl and, since v0.77.1, must not be the input file (exit 1, #2261). --field limits what is hashed or embedded to one field. Since v0.77.2 a --field that is absent from every row exits 1 with --field 'x' is absent from every row; choose a field present in the dataset. before either backend runs and before an output is written (#2336 by @kok-o); an empty field keeps the all-text default. The v0.77.2 notes describe the old result as exit 0 with "distinct rows dropped". --device (auto, cpu or cuda) and --embed-model (default sentence-transformers/all-MiniLM-L6-v2) apply to --semantic only.

Extended Statistics

bash
soup data stats ./data/train.jsonl

Length distribution with histograms, token counts, and language detection.

Quality scans

For an overlap check between a training file and an evaluation file, see Train/evaluation leakage below.

soup data pii, toxicity, score, langdetect, educational and decontaminate are documented on Data Forge. Since v0.77.0 they read alpaca, preference, KTO and ShareGPT rows as well as text and content (#2037), warn with a count when some rows have no extractable text, and exit 1 before writing anything when no row has text. Their default --output names are pii.jsonl, toxicity.jsonl, langdetect.jsonl, educational.jsonl and, for decontaminate, clean.jsonl, in the current directory. Through v0.77.0 an input with one of those names was replaced and the command exited 0. Since v0.77.1 an --output, default or explicit, that is the same file as --input (or, for decontaminate, --benchmark-file) is refused with exit 1 before the data is read (#2245); see An output that is an input is refused.

Train/evaluation leakage: soup data leakage (v0.78.0)

bash
soup data leakage --train train.jsonl --eval eval.jsonl --samples 5
soup data leakage --train train.jsonl --eval eval.jsonl --json

A read-only check that reports how many eval records have exactly the same extracted input text as some training record (#2672, proposed by @duysengali-kuanysh, built by @AubakirovArman in #2833). Each eval record counts once, however many training records match. Nothing is written, filtered or hooked into training. Both inputs must be non-empty JSONL objects under the working directory. A malformed record, or one with no usable input text, is refused with a message that names it (Leakage input error: line 2 is not valid JSON) instead of being skipped (exit 3), and both files are loaded fully into memory within the loader's caps (1 GiB and 1,000,000 records per file).

What is compared is the input fields only: prompt (message-list prompts included), Alpaca instruction / input / system, ChatML messages, ShareGPT conversations, the shared prefix of chosen / rejected conversations (which must agree), and plain text / content / query. For a complete conversation only the final assistant answer is left out, so earlier turns count and the same question with different answers still matches. Only outer whitespace is stripped: case and inner whitespace must match, roles and message boundaries are not part of the match (one message a\nb equals two messages a and b), and a bare prompt-only preference string needs an explicit prompt field.

It is exact matching, and nothing else. It is not semantic similarity, near-duplicate detection, a comparison of rendered chat-template tokens or of images, and a clean result describes this one check on these two files only. Upstream calls it partial and keeps #2672 open. For n-gram overlap against benchmark texts see soup data decontaminate on Data Forge.

The command takes --train, --eval, --samples (default 5, range 0 to 20) and --json. The report holds the counts, the percentage and up to --samples pairs with 160-character prompt previews and the number of matching training records; record numbers are one-based and skip blank lines. The --json report is one line (schema_version 1) with train_rows, eval_rows, overlap_eval_rows, overlap_percent and the samples.

ExitMeaning
0No overlap
2Any overlap (the table and the pairs are printed; with --json, the one-line report)
3Unusable input or options: a missing file or a path outside the working directory, a malformed record, --samples outside 0 to 20, or a mistyped flag

Checked on the v0.78.0 binary with two-row files: one shared prompt gave Overlap 50.00% and exit 2, a file with no shared prompt exit 0, a prompt that differs only in letter case did not match, --samples 21 and a missing file exit 3. The command joins the exit-code scheme of the other gate commands, which is why a mistyped flag exits 3 rather than 2 (see Exit codes).

Synthetic Data Generation

bash
# Generate using OpenAI API
soup data generate --prompt "Create math word problems" --count 100 --format alpaca

# Use a different model
soup data generate --prompt "Medical Q&A pairs" --model gpt-4o --count 500

# Deduplicate against existing data
soup data generate --prompt "..." --count 200 --dedup-with existing.jsonl

# Use seed examples to guide style
soup data generate --prompt "..." --seed examples.jsonl --count 100

# Use a local server (soup serve, Ollama, etc.)
soup data generate --prompt "..." --provider server --api-base http://localhost:11434/v1

--api-base follows one rule for the providers that take a URL (openai, server and vllm): plain http only for loopback (localhost, 127.0.0.1 or ::1), https for a remote server, and, since v0.75.2, never an IP address in a private, link-local or reserved range, on either scheme (the error reads api_base: private/link-local/reserved IP hosts are not allowed (SSRF protection)). A host written only as numbers that is not a valid IPv4 address (10.0.0.256, 4294967296) is refused too (v0.76.0), with api_base: an all-numeric host that is not a valid IPv4 address is not allowed (SSRF protection). Reach a server on your network by its hostname over HTTPS. 0.0.0.0 is not loopback, so use localhost. The ollama provider accepts loopback only.

Reply size cap (v0.77.0). An HTTP generation reply from the openai, server, ollama, vllm or anthropic provider is limited to 8 MiB of decoded content, checked while it streams; an oversized reply is refused before it is parsed, its body is not logged, and the error names the endpoint setting and the cap (#1929). soup data gen-magpie applies the same 8 MiB limit to a raw completion, drops that sample and keeps collecting within its attempt limit.

--count is a target (v0.78.0, #2415, #2418). Rows the provider did not deliver, or that failed validation, are asked for again until --count is reached. A row dropped as a duplicate counts toward --count and is shown in the summary (Duplicates: N removed), so a run with many duplicates ends below the target on purpose. After three requests in a row that bring no valid row, the command prints Generation halted: received no valid examples after 3 consecutive attempts (<n>/<count> generated), saves the rows it has and exits 1. A provider error mid-run saves the partial file and exits 1 as before. Through v0.77.2 a run that came up short stopped below --count and exited 0; upstream's migration note says to lower --count or fix the provider output if you relied on the short file, and to check the exit code in scripts. A run makes more provider requests than before, which on a paid API can cost more. This was read from the code at the tag; it needs a provider and was not run for this page.

Multi-Provider Support (v0.20.0+)

bash
# Generate via local Ollama instance
soup data generate --prompt "..." --provider ollama --model llama3.1
soup data generate --prompt "..." --ollama-model llama3.1  # shorthand

# Generate via Anthropic Claude API (set ANTHROPIC_API_KEY env var)
soup data generate --prompt "..." --provider anthropic --model claude-3-haiku-20240307

# Generate via local vLLM server
soup data generate --prompt "..." --provider vllm --model meta-llama/Llama-3.1-8B-Instruct

Domain Templates (v0.20.0+)

bash
# Code instruction pairs (Python, JS, Go, Rust, Java)
soup data generate --prompt "..." --template code --language Python --task-type function

# Multi-turn conversations
soup data generate --prompt "..." --template conversation --turns 6 --topic "science"

# QA from context document
soup data generate --prompt "..." --template qa --context document.txt

# Preference data (DPO/KTO/ORPO)
soup data generate --prompt "..." --template preference --pref-task dpo

# Chain-of-thought reasoning (GRPO)
soup data generate --prompt "..." --template reasoning --domain math

--template reasoning tells the generator how to end each solution, so the golds can be read by GRPO's accuracy and verifiable math rewards: math rows end with #### <number> on its own line, and logic and code rows with an Answer: <answer> line. Before v0.76.0 the prompt asked only for "the final answer", and a gold such as So there are 42 apples. made soup train refuse the dataset before generation (#1349). --dedup-with also applies to --template preference rows (DPO and KTO formats) since v0.76.0, together with within-run duplicates; before that, preference output skipped deduplication, so an earlier preference generation may contain duplicates.

The template flags default to --language Python, --task-type function (also debug, explain, refactor, test), --turns 4 (2 to 10), --topic "general knowledge", --pref-task dpo (also kto, orpo) and --domain math (also logic, code). The options that apply to every template:

FlagDefaultWhat it does
--output, -ogenerated.jsonlWhere the rows are written
--format, -falpacaRow shape: alpaca, sharegpt or chatml
--batch-size5Examples requested per API call
--temperature, -t0.8Sampling temperature
--requests-per-minute, --rpm60Rate limit on API calls
--api-keyOPENAI_API_KEYRead from that environment variable when the flag is omitted; prefer the variable
--trust-remote-codeoffLocal provider only: allow a model that ships custom Python (default deny)

Quality Pipeline (v0.20.0+)

bash
# Auto-validate after generation (remove malformed entries)
soup data generate --prompt "..." --validate

# Auto-filter by quality (coherence scoring)
soup data generate --prompt "..." --filter

# Auto-dedup (MinHash, requires: pip install "soup-cli[data]")
soup data generate --prompt "..." --dedup

# Full quality pipeline: validate + filter + dedup
soup data generate --prompt "..." --quality-pipeline

Quality Filter

bash
# Filter by coherence score
soup data filter ./data/train.jsonl --coherence 0.3

# Filter by perplexity + coherence
soup data filter ./data/train.jsonl --perplexity 500 --coherence 0.3

# Add scores without removing samples
soup data filter ./data/train.jsonl --score-only

Uses perplexity + coherence scoring to identify low-quality samples. --output defaults to <input>_filtered.jsonl; since v0.77.1 it must not be the input file (exit 1, #2261).

--perplexity and --score-only need torch and transformers (since v0.77.2). Without them the command prints Perplexity scoring requires torch and transformers. with pip install "soup-cli[train]", exits 1 and keeps any existing output (#2377 by @kok-o). The v0.77.2 notes describe the old result as exit 0 with "unfiltered or partial" output, "silently writing unfiltered rows or incomplete scores". Check any file a --perplexity or --score-only run wrote on a machine without those packages. --coherence alone needs neither.

Data Sampling (v0.23.0+)

bash
# Random sample
soup data sample ./data/train.jsonl --strategy random -n 1000

# Diverse sample (TF-IDF clustering)
soup data sample ./data/train.jsonl --strategy diverse -n 500

# Hard examples (by length)
soup data sample ./data/train.jsonl --strategy hard -n 500

Give --n (a row count, a positive integer) or --pct (a percentage in the range above 0 and up to 100). With neither the command exits 1 (Specify either --n (count) or --pct (percentage).), and when both are given --pct wins. Since v0.78.0 a bad value is refused (#2931): --n below 1 exits 1 with --n must be a positive integer., and --pct of 0, above 100 or not finite exits 1 with --pct must be a finite number in (0, 100].. Through v0.77.2 -n 0 wrote an empty output file, --pct 0 sampled one row and --pct 150 returned every row, all with exit 0. --seed makes random and diverse reproducible; hard is deterministic and ignores it. The output defaults to <input>_sampled_<strategy>.jsonl beside the input (the flag's own help text says <input>_sampled.jsonl and is stale), and an explicit --output must sit under the current directory and, since v0.77.1, must not be the input file (exit 1, #2261).

Data Splitting (v0.23.0+)

bash
# Split into train/val/test. --val and --test are integer PERCENTAGES,
# not fractions; the train remainder is implied, and --train is accepted
# for command parity rather than read.
soup data split ./data/train.jsonl --val 10 --test 10

# Absolute row counts instead of percentages, with a reproducible seed
soup data split ./data/train.jsonl --val 500 --test 500 --absolute --seed 42

# Stratified split. --stratify takes the field to stratify on, as a value.
soup data split ./data/train.jsonl --val 10 --stratify category

# Semantic stratification (v0.73.2): cluster rows by TF-IDF + K-Means, then
# split within each cluster. Cannot be combined with --stratify.
soup data split ./data/train.jsonl --val 10 --stratify-semantic --num-clusters 8

--stratify-semantic is lexical, not an embedding model: it clusters a TF-IDF matrix of each row's text with K-Means (5 clusters unless --num-clusters says otherwise), needs scikit-learn from pip install "soup-cli[data]", and refuses a dataset over 50,000 rows. --num-clusters without --stratify-semantic only prints a warning.

Since v0.78.0 a stratified split gives the counts you asked for (#2954, by @Samearth17). --stratify and --stratify-semantic now return the requested validation and test counts across the whole dataset. Rows are allocated across strata differently, so the same --seed can place different rows in train, validation and test than v0.77.2 did. Upstream lists it among the runs that are not bit-comparable with v0.77.2, gives no mechanism and does not say by how much the old counts differed. Run on a 112-row file whose five strata held 23, 23, 22, 22 and 22 rows: --val 10 --test 10 gave 11 and 11 rows on v0.78.0, which is int(112 x 10 / 100), against 10 and 10 on v0.77.2 (the old counts depend on the strata sizes: with 40, 30, 20, 14 and 8 rows both versions gave 11 and 11). --stratify-semantic needs scikit-learn and was not run. Re-split before you compare results with an older run.

HuggingFace Dataset Hub (v0.24.0+)

bash
# Search for datasets
soup data search "math reasoning"

# Preview remote dataset metadata
soup data preview tatsu-lab/alpaca

# Download to local JSONL
soup data download tatsu-lab/alpaca --output ./data/alpaca.jsonl --samples 1000

Dataset Registry (v0.24.0+)

Keep a local, named record of datasets (name, path and format) in ~/.soup/datasets.json:

bash
# Register a dataset (the path must sit under the current directory)
soup data register my-chat-data --path ./data/chat.jsonl --format chatml

# List registered datasets
soup data registry

# Remove an entry
soup data unregister my-chat-data

The registry is a lookup you list with soup data registry. soup train does not resolve registered names. data.train: registry:my-chat-data and data.train: my-chat-data are both treated as Hugging Face dataset ids (the console prints Loading from HuggingFace: ...), because neither has one of the supported file suffixes (.jsonl, .json, .csv, .parquet, .txt) or a ://, and both fail there. Put the file path in data.train. (soup data register --help still says "for use in soup.yaml"; that text is out of date.)

Soup is free and Apache-2.0. If it saved you a training run, starring the repo costs nothing and helps most. You can also fund the GPU time behind the work a 4 GB laptop cannot reach.