Dataset Preview
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 1 new columns ({'$\t1520\t1\t1\t1'}) and 1 missing columns ({'#\t1574\t1\t1\t1'}).

This happened while the csv dataset builder was generating data using

zip://googlebooks-eng-1M-1gram-20090715-1.csv::hf://datasets/gustawdaniel/ngram-google-2012@3dd41894dd0ba6f161b713d196d6e86e12edafa1/data/googlebooks-eng-1M-1gram-20090715-1.csv.zip

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              $	1520	1	1	1: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 395
              to
              {'#\t1574\t1\t1\t1': Value(dtype='string', id=None)}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1316, in compute_config_parquet_and_info_response
                  parquet_operations, partial = stream_convert_to_parquet(
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 909, in stream_convert_to_parquet
                  builder._prepare_split(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2013, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 1 new columns ({'$\t1520\t1\t1\t1'}) and 1 missing columns ({'#\t1574\t1\t1\t1'}).
              
              This happened while the csv dataset builder was generating data using
              
              zip://googlebooks-eng-1M-1gram-20090715-1.csv::hf://datasets/gustawdaniel/ngram-google-2012@3dd41894dd0ba6f161b713d196d6e86e12edafa1/data/googlebooks-eng-1M-1gram-20090715-1.csv.zip
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

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.

# 1574 1 1 1
string
# 1584 6 6 1
# 1614 1 1 1
# 1631 115 100 1
# 1632 3 3 1
# 1635 1 1 1
# 1640 1 1 1
# 1641 1 1 1
# 1642 5 5 1
# 1644 234 193 1
# 1647 6 5 1
# 1648 12 12 1
# 1651 1 1 1
# 1654 1 1 1
# 1658 5 5 1
# 1659 1 1 1
# 1660 4 4 1
# 1663 1 1 1
# 1664 1 1 1
# 1665 2 2 2
# 1666 3 3 1
# 1667 8 8 2
# 1668 2 2 1
# 1670 27 25 2
# 1673 22 20 3
# 1674 144 128 1
# 1675 68 63 2
# 1676 17 16 2
# 1677 21 19 3
# 1678 19 19 3
# 1679 3 3 1
# 1680 21 19 3
# 1681 11 11 3
# 1682 123 113 5
# 1683 93 85 6
# 1684 24 22 4
# 1685 82 75 5
# 1686 34 33 6
# 1687 3 3 3
# 1688 16 16 5
# 1689 14 13 3
# 1693 11 11 3
# 1694 39 37 5
# 1695 11 11 2
# 1697 16 15 1
# 1698 52 47 5
# 1699 29 27 9
# 1700 43 38 6
# 1701 156 151 13
# 1702 38 36 13
# 1703 101 96 13
# 1704 38 30 12
# 1705 99 86 14
# 1706 36 36 8
# 1707 45 42 9
# 1708 35 34 10
# 1709 23 22 8
# 1710 66 66 13
# 1711 55 51 14
# 1712 20 20 6
# 1713 47 46 14
# 1714 54 53 18
# 1715 62 58 12
# 1716 33 31 14
# 1717 40 40 17
# 1718 88 80 20
# 1719 55 52 19
# 1720 145 129 27
# 1721 54 52 20
# 1722 69 65 21
# 1723 58 57 16
# 1724 50 49 17
# 1725 70 66 24
# 1726 66 64 31
# 1727 134 120 33
# 1728 90 86 36
# 1729 76 73 34
# 1730 146 132 38
# 1731 169 157 29
# 1732 58 58 27
# 1733 37 31 20
# 1734 69 62 30
# 1735 63 59 25
# 1736 43 41 21
# 1737 112 76 17
# 1738 83 76 29
# 1739 294 281 54
# 1740 60 58 25
# 1741 32 32 19
# 1742 154 137 26
# 1743 110 104 36
# 1744 71 69 36
# 1745 79 75 39
# 1746 25 25 17
# 1747 488 467 59
# 1748 61 59 26
# 1749 162 155 48
# 1750 114 104 38
# 1751 134 130 43
# 1752 52 51 27
# 1753 111 109 56
End of preview.
python -m spacy download en_core_web_sm

Titles:

jq -s '.[].title' raw/dict.jsonl

returns

  • "English"
  • "English One Million"
  • "American English"
  • "British English"
  • "English Fiction"
  • "Chinese (simplified)"
  • "French"
  • "German"
  • "Hebrew"
  • "Italian"
  • "Russian"
  • "Spanish"

Spellcheck: https://pypi.org/project/pyspellchecker/

English - ‘en’
Spanish - ‘es’
French - ‘fr’
Portuguese - ‘pt’
German - ‘de’
Russian - ‘ru’
Arabic - ‘ar’

Sets now:

  • "English" - en
  • "Spanish" - es
  • "French" - fr
  • "German" - de
  • "Russian" - ru
Downloads last month
54