Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
input_files: list<item: string>
  child 0, item: string
source_id: string
rows: int64
kept_rows: int64
dropped_parse: int64
dropped_empty_response: int64
dropped_response_too_long: int64
dedupe_dropped: int64
truncated_rows: int64
max_original_len: int64
max_written_len: int64
target_tokens: int64
max_seq_length: int64
tokenizer_vocab_size: int64
total_tokens: int64
sample_count: int64
avg_sample_len: double
max_sample_len: int64
token_min: int64
token_max: int64
max_token_id_seen: int64
vocab_size: null
max_seq_len: int64
total_length: int64
tokenizer_info: struct<tokenizer_path: string, format: string, vocab_size: int64>
  child 0, tokenizer_path: string
  child 1, format: string
  child 2, vocab_size: int64
to
{'tokenizer_info': {'tokenizer_path': Value('string'), 'format': Value('string'), 'vocab_size': Value('int64')}, 'vocab_size': Value('null'), 'max_seq_len': Value('int64'), 'total_length': Value('int64'), 'sample_count': Value('int64')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 478, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2355, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2380, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              input_files: list<item: string>
                child 0, item: string
              source_id: string
              rows: int64
              kept_rows: int64
              dropped_parse: int64
              dropped_empty_response: int64
              dropped_response_too_long: int64
              dedupe_dropped: int64
              truncated_rows: int64
              max_original_len: int64
              max_written_len: int64
              target_tokens: int64
              max_seq_length: int64
              tokenizer_vocab_size: int64
              total_tokens: int64
              sample_count: int64
              avg_sample_len: double
              max_sample_len: int64
              token_min: int64
              token_max: int64
              max_token_id_seen: int64
              vocab_size: null
              max_seq_len: int64
              total_length: int64
              tokenizer_info: struct<tokenizer_path: string, format: string, vocab_size: int64>
                child 0, tokenizer_path: string
                child 1, format: string
                child 2, vocab_size: int64
              to
              {'tokenizer_info': {'tokenizer_path': Value('string'), 'format': Value('string'), 'vocab_size': Value('int64')}, 'vocab_size': Value('null'), 'max_seq_len': Value('int64'), 'total_length': Value('int64'), 'sample_count': Value('int64')}
              because column names don't match

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

LFM2.5-KO-SFT-Stage0-Legal-LFMChat-8K

Stage0 Korean legal warmup, LFM tokenizer, response-only SFT arrays.

This dataset is part of the LFM2.5-8B-A1B-KO-SFT / Agentic SFT workflow.

Source Attribution

  • Legal source-grounded SFT: 006_ko_legal_source_agent_sft_20260621.jsonl.
  • Legal RAG SFT: 007_ko_legal_rag_agent_sft_round15_v2.jsonl.
  • Bar-style JSON answer SFT: 008_current_law_bar_json_answer_sft_20260621.jsonl.

Additional public references:

Notes

  • Warmup stage used to validate LFM tokenizer compatibility and response-only labels.
  • Legal content is connected to Legalize-KR/law.go.kr style sources as documented in the CPT and SFT model cards.

Summary

field value
kind prepared_tokenized
sample count 8747
token count 35068923
max sequence / sample length 8192
uploaded size bytes 158463144

Format

  • raw_lfm_chat_jsonl: JSONL rows with a text field containing LFM ChatML-like conversation text.
  • prepared_tokenized: NumPy response-only SFT arrays built with the LFM tokenizer:
    • tokens.npy
    • epoch_0/inst_start.npy
    • epoch_0/inst_len.npy
    • epoch_0/resp_start.npy
    • epoch_0/resp_len.npy
    • tokenizer.json

Local Source Path

/home/work/.data/lfm2_ko_sft/prepared/lfm_chat/20260628_lfmchat_stage0_legal

License And Usage Notes

This release republishes preprocessing artifacts used for the LFM2.5 Korean CPT/SFT workflow. Source components come from multiple public or locally prepared datasets, so downstream users should verify each upstream source license before redistribution or commercial use. Legal and finance examples are for model training/evaluation only and are not legal, financial, or investment advice.

Stats

{
  "path": "/home/work/.data/lfm2_ko_sft/prepared/lfm_chat/20260628_lfmchat_stage0_legal",
  "size_bytes": 158463144,
  "preprocess_stats.json": {
    "input_files": [
      "/home/work/.data/lfm2_ko_sft/prepared/jsonl_converted/legal_source_agent.sft.jsonl",
      "/home/work/.data/lfm2_ko_sft/prepared/jsonl_converted/legal_rag_round15.sft.jsonl",
      "/home/work/.data/lfm2_ko_sft/prepared/jsonl_converted/current_law_bar_json.sft.jsonl"
    ],
    "source_id": "legal_source_rag_bar_lfm_tokenizer",
    "rows": 8747,
    "kept_rows": 8747,
    "dropped_parse": 0,
    "dropped_empty_response": 0,
    "dropped_response_too_long": 0,
    "dedupe_dropped": 0,
    "truncated_rows": 1815,
    "max_original_len": 14052,
    "max_written_len": 8192,
    "target_tokens": 0,
    "max_seq_length": 8192,
    "tokenizer_vocab_size": 125017,
    "total_tokens": 35068923,
    "sample_count": 8747,
    "avg_sample_len": 4009.251514805076,
    "max_sample_len": 8192,
    "token_min": 10,
    "token_max": 124900,
    "max_token_id_seen": 124900
  },
  "file_count": 9
}
Downloads last month
-