Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception:    SplitsNotFoundError
Message:      The split names could not be parsed from the dataset config.
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions
                  yield
                File "/usr/local/lib/python3.14/site-packages/httpx/_transports/default.py", line 250, in handle_request
                  resp = self._pool.handle_request(req)
                File "/usr/local/lib/python3.14/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request
                  raise exc from None
                File "/usr/local/lib/python3.14/site-packages/httpcore/_sync/connection_pool.py", line 236, in handle_request
                  response = connection.handle_request(
                      pool_request.request
                  )
                File "/usr/local/lib/python3.14/site-packages/httpcore/_sync/connection.py", line 101, in handle_request
                  raise exc
                File "/usr/local/lib/python3.14/site-packages/httpcore/_sync/connection.py", line 78, in handle_request
                  stream = self._connect(request)
                File "/usr/local/lib/python3.14/site-packages/httpcore/_sync/connection.py", line 124, in _connect
                  stream = self._network_backend.connect_tcp(**kwargs)
                File "/usr/local/lib/python3.14/site-packages/httpcore/_backends/sync.py", line 207, in connect_tcp
                  with map_exceptions(exc_map):
                       ~~~~~~~~~~~~~~^^^^^^^^^
                File "/usr/local/lib/python3.14/contextlib.py", line 162, in __exit__
                  self.gen.throw(value)
                  ~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
                  raise to_exc(exc) from exc
              httpcore.ConnectTimeout: timed out
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 844, in read_with_retries
                  out = read(*args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/hf_file_system.py", line 1238, in read
                  return super().read(length)
                         ~~~~~~~~~~~~^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/fsspec/spec.py", line 1897, in read
                  out = self.cache._fetch(self.loc, self.loc + length)
                File "/usr/local/lib/python3.14/site-packages/fsspec/caching.py", line 234, in _fetch
                  self.cache = self.fetcher(start, end)  # new block replaces old
                               ~~~~~~~~~~~~^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/hf_file_system.py", line 1194, in _fetch_range
                  r = http_backoff("GET", url, headers=headers, timeout=constants.HF_HUB_DOWNLOAD_TIMEOUT)
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/utils/_http.py", line 559, in http_backoff
                  return next(
                      _http_backoff_base(
                  ...<9 lines>...
                      )
                  )
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/utils/_http.py", line 479, in _http_backoff_base
                  raise err
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/utils/_http.py", line 467, in _http_backoff_base
                  response = client.request(method=method, url=url, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/httpx/_client.py", line 825, in request
                  return self.send(request, auth=auth, follow_redirects=follow_redirects)
                         ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/httpx/_client.py", line 914, in send
                  response = self._send_handling_auth(
                      request,
                  ...<2 lines>...
                      history=[],
                  )
                File "/usr/local/lib/python3.14/site-packages/httpx/_client.py", line 942, in _send_handling_auth
                  response = self._send_handling_redirects(
                      request,
                      follow_redirects=follow_redirects,
                      history=history,
                  )
                File "/usr/local/lib/python3.14/site-packages/httpx/_client.py", line 979, in _send_handling_redirects
                  response = self._send_single_request(request)
                File "/usr/local/lib/python3.14/site-packages/httpx/_client.py", line 1014, in _send_single_request
                  response = transport.handle_request(request)
                File "/usr/local/lib/python3.14/site-packages/httpx/_transports/default.py", line 249, in handle_request
                  with map_httpcore_exceptions():
                       ~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/contextlib.py", line 162, in __exit__
                  self.gen.throw(value)
                  ~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions
                  raise mapped_exc(message) from exc
              httpx.ConnectTimeout: timed out
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/parquet/parquet.py", line 127, in _split_generators
                  self.info.features = datasets.Features.from_arrow_schema(pq.read_schema(f))
                                                                           ~~~~~~~~~~~~~~^^^
                File "/usr/local/lib/python3.14/site-packages/pyarrow/parquet/core.py", line 2424, in read_schema
                  file = ParquetFile(
                      where, memory_map=memory_map,
                      decryption_properties=decryption_properties)
                File "/usr/local/lib/python3.14/site-packages/pyarrow/parquet/core.py", line 328, in __init__
                  self.reader.open(
                  ~~~~~~~~~~~~~~~~^
                      source, use_memory_map=memory_map,
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ...<8 lines>...
                      arrow_extensions_enabled=arrow_extensions_enabled,
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "pyarrow/_parquet.pyx", line 1656, in pyarrow._parquet.ParquetReader.open
                File "pyarrow/error.pxi", line 89, in pyarrow.lib.check_status
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 869, in read_with_retries
                  raise ConnectionError("Server Disconnected") from disconnect_err
              ConnectionError: Server Disconnected
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 68, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                               ~~~~~~~~~~~~~~~~~~~~~~~^
                      path=dataset,
                      ^^^^^^^^^^^^^
                      config_name=config,
                      ^^^^^^^^^^^^^^^^^^^
                      token=hf_token,
                      ^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
                  info = get_dataset_config_info(
                      path,
                  ...<6 lines>...
                      **config_kwargs,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
                  raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
              datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.

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.

NPSC Ortho Morphcoded

This dataset pairs Norwegian Bokmål sentences from NbAiLab/NPSC_orto with output from AltMorph. AltMorph marks allowed morphological or spelling alternatives in square brackets, separated by a vertical bar. Rows without an applicable alternative are retained with identical source and target text.

Fields

Field Meaning
id Original NPSC sentence ID. Only an overlong source row would receive a deterministic part suffix.
source Whitespace-normalized NPSC Bokmål transcript sentence.
target The same sentence encoded by AltMorph.

Example target syntax: [broa|broen|brua|bruen].

Alternatives inside every block are sorted case-insensitively and alphabetically. The source spelling has no privileged position in a block. Finalization reordered 42,711 blocks into this canonical order; it did not change their alternatives or any surrounding text.

Splits

All source rows were pooled before the published split assignment. With random seed 42, 1,000 distinct rows were drawn for validation and another 1,000 distinct rows for test. All remaining rows form train. IDs are disjoint across splits.

Split Rows Rows changed by AltMorph
train 62,541 35,886
validation 1,000 581
test 1,000 563

Length handling

The build uses 200 whitespace-separated words as a practical proxy for a roughly 256-token standard LLM context. An upstream row is preserved as-is when it is within that limit. Only an overlong row is first split on clear sentence-ending punctuation; an individual segment still above the limit is split into fixed word chunks. No row in the pinned source revision exceeded the limit, so every published ID is the original NPSC sentence_id converted to a string.

The maximum source length in this build is 175 words.

Generation

  • Generated: 2026-08-28T07:06:56.938184+00:00
  • NPSC source revision: b6537bebda02239b125a8a415ef75f633f9a8aed
  • AltMorph revision: 577585ef7c5caaed53dcada22a7f57e83230f642
  • Language: Bokmål (nob)
  • Tagger: Humit-Oslo/humit-tagger-large at revision 942f2901ec3271c9f627eb6a78b07ade87cf8126
  • Context scorer: north/t5_base_NCC (north-t5)
  • Lexical and inflection data: Ordbank API
  • Alternative order: case-insensitive alphabetical
  • Total alternative groups: 70,365
  • Groups reordered during finalization: 42,711
  • Total unchanged rows: 27,511

The source metadata was streamed from the pinned Hub revision; no audio was downloaded. Whitespace was normalized before processing. HumIT supplies morphology and part-of-speech analysis. AltMorph queries Ordbank for allowed forms. If an inflection-expanded Ordbank lookup returns a 5xx server response after all API retries, the build tries the authoritative exact-lemma endpoint; network timeouts and non-5xx statuses keep retrying the full lookup. A narrower result is not cached as a complete inflection search.

North-T5 is applied only to candidates where context can change the reading; authoritative linked spelling variants bypass contextual scoring. The Ordbank cache is persistent, and restartable workers write a completed prefix after every batch.

The reproducible build scripts are kept outside the generated dataset directory in dataset_tools/npsc_orto_morphcoded in the AltMorph repository. The local generated workspace is ignored by Git.

Intended use and limitations

The dataset is intended for training or evaluating systems that recognize or generate allowed Norwegian morphological and spelling alternatives. It is silver data: targets are automatically generated and have not been manually verified. They can contain false positives, omit valid alternatives, or include an inflection that is not valid in the sentence context. They should not be treated as claims that every alternative is equally usual in every context. The data preserves all rows, including source-equals-target examples.

Licensing and attribution

The upstream NPSC card describes the parliamentary transcriptions as CC0 and its Hugging Face curation as CC BY-SA 3.0. This derived dataset uses CC BY-SA 3.0 conservatively. Please also follow the citation guidance in the NPSC dataset card and credit:

  • the National Library of Norway / NPSC dataset maintainers;
  • the University of Oslo HumIT team and Humit-Oslo/humit-tagger-large;
  • the University of Bergen Ordbank service;
  • the North-T5 authors and north/t5_base_NCC;
  • the AltMorph authors.
Downloads last month
14