The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
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 11 new columns ({'lang_score', 'char_rep_ratio', 'perplexity', 'lang', 'flagged_words_ratio', 'special_char_ratio', 'avg_line_length', 'alnum_ratio', 'word_rep_ratio', 'num_words', 'max_line_length'})
This happened while the json dataset builder was generating data using
/tmp/hf-datasets-cache/medium/datasets/71920310133875-config-parquet-and-info-BAAI-IndustryCorpus_progr-5c36d49b/downloads/716e12e7c067ada597f46b27dd01cf6effce61aefd300f8624ca7145f283d930
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
text: string
alnum_ratio: double
avg_line_length: double
char_rep_ratio: double
flagged_words_ratio: double
industry_type: string
lang: string
lang_score: double
max_line_length: int64
num_words: int64
perplexity: double
special_char_ratio: double
word_rep_ratio: double
id: int64
to
{'id': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'industry_type': 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 1577, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1191, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
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 11 new columns ({'lang_score', 'char_rep_ratio', 'perplexity', 'lang', 'flagged_words_ratio', 'special_char_ratio', 'avg_line_length', 'alnum_ratio', 'word_rep_ratio', 'num_words', 'max_line_length'})
This happened while the json dataset builder was generating data using
/tmp/hf-datasets-cache/medium/datasets/71920310133875-config-parquet-and-info-BAAI-IndustryCorpus_progr-5c36d49b/downloads/716e12e7c067ada597f46b27dd01cf6effce61aefd300f8624ca7145f283d930
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.
id string | text string | industry_type string |
|---|---|---|
2014-23/1025/en_head.json.gz/11242 | Developer Reading List Andrew Binstock, December 21, 2012 New books on C, C#, Node, Win8 Apps, Perl and Groovy.
1 2 3 4 5 Next E-mail
Programming C# 5.0 by Ian Griffiths
This 800-page volume is a comprehensive tutorial and reference on C#. It's a thorough and complete discussion of the language and associated technolog... | 编程 |
2014-23/1026/en_head.json.gz/5309 | Developer Reading List Dr. Dobb's Andrew Binstock, April 02, 2013 New books on Java, Erlang, Unit Testing, Windows and more.
Learn You Some Erlang for Great Good by Fred Héber
Erlang is the functional language, developed at Swedish phone-maker Ericsson, for use in large-scale, fault-tolerant applications. The language,... | 编程 |
2014-23/1026/en_head.json.gz/18260 | Ruby Conference Wrap-Up (Part 5)
This is the last installment of my long-winded commentary on the 2005 International Ruby Conference. It’s a short one, because I had leave late Sunday morning to catch my flight home from San Diego.
David Heinemeier Hansson opened the morning’s talks with his presentation on the “The St... | 编程 |
2014-23/1027/en_head.json.gz/3276 | The History of Python
A series of articles on the history of the Python programming language and its community.
First-class Everything
[Folks, please don't use the comments section of this blog to ask questions. If you want to suggest a topic for a future blog entry, send me email. (Use Google to find my home page, whi... | 编程 |
2014-23/1027/en_head.json.gz/5175 | Developer Reading List Andrew Binstock, February 25, 2014 Java 8, JavaScript, Functional Programming, and Software Engineering
1 2 3 4 5 Next E-mail
Java SE 8 for the Really Impatient by Cay S. Horstmann
Java 8, probably the most important release of the language since Java 2, is set to be launched next month. As such,... | 编程 |
2014-23/1027/en_head.json.gz/17004 | C++ Reading List Andrew Binstock, May 28, 2013 The new C++11 standard has led to a flood of new books and updates to classics. These are the core books you need.
C++ Programming Language, 4th Edition by Bjarne Stroustrup
This book is rightfully viewed as the "Bible" of C++ programming. It's the authoritative exposition... | 编程 |
2014-23/1028/en_head.json.gz/6329 | testingReflections.com
The mind-share information resource for software testing, agile testing and test-first/test-driven development Navigation
Today's:Update: New Article Published: Man and Machine
New Article Published: Man and Machine
Thoughts on Agile & Agile Testing
Candidate Statement for CMG Director
STP Online... | 编程 |
2014-23/1028/en_head.json.gz/6622 | Download Free Books on Yoga, Religion & Philosophy
THE BAAL SHEM TOV
By SRI SWAMI
VENKATESANANDA
He was known as 'Israel ben Eliezer' and he was born around 1700 A.D. in a small
village Okop perhaps in the Ukraine. The place and the date of birth, and the poverty or
the affluence of parentage - these are of interest to... | 编程 |
2014-23/1028/en_head.json.gz/6799 | [p. 157]
The Zionist Movement
Translated by Eszter Andor and finished by Judie Goldstein
Trends Within the Movement and What They Supported In the interwar period the most important activities of the Zionists in Krinki were to prepare the youth for aliya to Eretz Israel, educate children in a national-Hebrew spirit, an... | 编程 |
2014-23/1713/en_head.json.gz/20772 | Developer Reading List Andrew Binstock, December 21, 2012 New books on C, C#, Node, Win8 Apps, Perl and Groovy.
Programming C# 5.0 by Ian Griffiths
This 800-page volume is a comprehensive tutorial and reference on C#. It's a thorough and complete discussion of the language and associated technologies written in a clear... | 编程 |
2014-23/1713/en_head.json.gz/32328 | Understanding Programming
PHP, MySQL, JavaScript & HTML5 For Dummies Extras
Getting Started with Java Programming
By Barry Burd from Beginning Programming with Java For Dummies, 2nd Edition
The late 1980s saw several advances in software development, and by the early 1990s, many large programming projects were being wr... | 编程 |
2014-23/1713/en_head.json.gz/37673 | Microsoft stealth launches 'historic' programming language
Hidden F# strikes right note
Tim Anderson,
Launching a new language is easy - getting it used is hard. The combination of existing code and existing skills is a strong barrier to adoption, and even excellent languages like Ruby and Python have struggled to brea... | 编程 |
2014-23/1420/en_head.json.gz/10160 | 3/14/201405:15 PMAndrew BinstockNewsConnect Directly0 commentsComment NowLogin50%50%
The JavaScript AlternativesThree languages compete to make JavaScript easier to write and faster to execute. Which to choose?Two and a half years ago, in discussing JavaScript's ubiquity, I projected that this trait alone would make th... | 编程 |
2014-23/1420/en_head.json.gz/15059 | JavaScript training for every employee? One company says yes
Software firm FreeCause mandates that everyone learn JavaScript -- and they mean everyone.
Howard Baldwin (Computerworld (US)) on 19 September, 2012 11:39
Coding is all the rage these days, as everyone from New York City Mayor Michael Bloomberg to urban teena... | 编程 |
2014-23/1420/en_head.json.gz/17429 | Ten Fantastic Objective-C Libraries for iPhone Developers Building Search Interface Using Apache Solr in .NET Microsoft Delivers New 64-Bit JIT Compiler for .NET Bitcoin’s True Purpose Amazon Releases Its Own Chaos Gorilla Author Feedback
Turn a Parsnip into a Turnip with Edit Distance Algorithms
Edit distance algorith... | 编程 |
2014-23/1420/en_head.json.gz/20952 | Interviews | Discuss | Print | Email | Screen Friendly Version | Previous | Next
Sponsored Link • Good Enough Software
A Conversation with Andy Hunt and Dave Thomas, Part III
by Bill Venners
Pragmatic Programmers Andy Hunt and Dave Thomas talk with Bill Venners about the myth of bug-free software, the importance of spe... | 编程 |
2014-23/1420/en_head.json.gz/39487 | Java Authors: Liz McMillan, Roger Strukhoff, Patrick Carey, Greg Akers, Michelle Drolet Related Topics: Java Java: Article
Genetic Algorithms in Java
By Michael Lacy
Starting about 3.5 billion years ago with bacteria, nature em- barked on the grandest of all algorithms: the evolution of highly complex and dynamic machi... | 编程 |
2014-23/1420/en_head.json.gz/44725 | Developer Reading List Andrew Binstock, December 21, 2012 New books on C, C#, Node, Win8 Apps, Perl and Groovy.
1 2 3 4 5 Next E-mail
Programming C# 5.0 by Ian Griffiths
This 800-page volume is a comprehensive tutorial and reference on C#. It's a thorough and complete discussion of the language and associated technolog... | 编程 |
2014-23/1421/en_head.json.gz/1955 | C++ Reading List Andrew Binstock, May 28, 2013 The new C++11 standard has led to a flood of new books and updates to classics. These are the core books you need.
C++ Programming Language, 4th Edition by Bjarne Stroustrup
This book is rightfully viewed as the "Bible" of C++ programming. It's the authoritative exposition... | 编程 |
2014-23/1421/en_head.json.gz/16616 | Scheme is a statically scoped and properly tail-recursive dialect of the Lisp programming language invented by Guy Lewis Steele Jr. and Gerald Jay Sussman. It was designed to have an exceptionally clear and simple semantics and few different ways to form expressions. A wide variety of programming paradigms, including i... | 编程 |
2014-15/2898/en_head.json.gz/3565 | Developer Reading List Andrew Binstock, December 21, 2012 New books on C, C#, Node, Win8 Apps, Perl and Groovy.
1 2 3 4 5 Next E-mail
Programming C# 5.0 by Ian Griffiths
This 800-page volume is a comprehensive tutorial and reference on C#. It's a thorough and complete discussion of the language and associated technolog... | 编程 |
2014-15/2898/en_head.json.gz/4651 | Home > News > Bloggers > Consumer Backlash Consumer Backlash
Feb 11th, '11 • Bloggers • by XXL Staff • 32 Comments
I’m not a fan of doing lists. Sure, they’re good for a quick fix and all, but most of the time I just view them as an unoriginal, passé and bland formula used when the writer or writing organization either... | 编程 |
2014-15/2898/en_head.json.gz/8738 | Wide Awake Developers
Glue Fleet and Compojure Together Using Protocols
Inspired by Glenn Vanderburg's article on Clojure templating frameworks, I decided to try using Fleet for my latest pet project. Fleet has a very nice interface. I can call a single function to create new Clojure functions for every template in a d... | 编程 |
2014-15/2898/en_head.json.gz/9324 | and opinions on situation in Haiti 14/2/06
Haiti: mass protests erupt over vote count By Jonathan Keane
www.wsws.org/articles/2006/feb2006/hait-f14.shtml
Nearly a week after Haitians went to the polls in the first election since the 2004 Washington-backed coup and subsequent US invasion, official results have yet to be... | 编程 |
2014-15/2898/en_head.json.gz/16457 | WikiJava:GFDL - WikiJava
Monday, 21st April 2014 Log in
About WikiJava
Request Articles
Java Basics
Java SE
10 best practices with Exceptions
The BatBot Project
Tools for programmers
The Official Blog
Articles on serialization
Project page Discussion View source History Follow WikiJava on twitter now. @Wikijava
WikiJav... | 编程 |
2014-15/2899/en_head.json.gz/707 | Dev Why Walmart is using Node.js
J. O'Dell
0 Node.js has been the delight of San Francisco hackers for the past couple years now, but startups and indie developers aren’t the only ones using JavaScript on the server side.
At Node Summit today, Walmart executives talk about why the real-world retail giant has chosen to ... | 编程 |
2014-15/2899/en_head.json.gz/1251 | Python gets a big data boost from DARPA
Continuum Analytics will extend the widely used NumPy library for distributed systems
Joab Jackson (IDG News Service)
DARPA (the U.S. Defense Advanced Research Projects Agency) has awarded $3 million to software provider Continuum Analytics to help fund the development of Python'... | 编程 |
2014-15/2899/en_head.json.gz/4004 | Published on O'Reilly (http://oreilly.com/)
Proud to be a "Geekette"
by Julia Lerman
Julia Lerman is the leading independent authority on the Entity Framework and has been using and teaching the technology since its inception two years ago. She is well known in the .NET community as a Microsoft MVP, ASPInsider and INET... | 编程 |
2014-15/2899/en_head.json.gz/5777 | Developer's Reading List Dr. Dobb's Staff, July 17, 2012 Windows Debugging, Web Apps, JavaScript, and Clojure Lead the List of New Titles
Programming Clojure, 2nd Edition by Stuart Halloway and Aaron BedraClojure is a language that continues to gain fans. While it hasn't yet broken into the mainstream, that's not for l... | 编程 |
2014-15/2899/en_head.json.gz/19946 | The A-Z of Programming Languages: C++
Bjarne Stroustrup of C++ fame dissects the history of his famed programming language
Naomi Hamilton (Computerworld)
Computerworld is undertaking a series of investigations into the most widely-used programming languages. Previously we have spoken to Alfred v. Aho of AWK fame, S. Tu... | 编程 |
2014-15/2899/en_head.json.gz/20025 | How Can One Test a Program's Average Performance?
The standard-library sort function. This function typically implements the Quicksort algorithm, which sorts an n-element sequence in O(n log n) time — on average.
Last week, I argued that testing a program's performance is harder than testing its functionality. Not only... | 编程 |
2014-15/2900/en_head.json.gz/8008 | Developer Reading List Andrew Binstock, December 21, 2012 New books on C, C#, Node, Win8 Apps, Perl and Groovy.
1 2 3 4 5 Next E-mail
Programming C# 5.0 by Ian Griffiths
This 800-page volume is a comprehensive tutorial and reference on C#. It's a thorough and complete discussion of the language and associated technolog... | 编程 |
2014-15/4290/en_head.json.gz/7148 | HomeRandom WatchlistUploadsSettingsLog in About WikibooksDisclaimers Computer Programming/Functional programmingDiscussion A Wikibookian suggests that this book or chapter be merged into Programming Languages/Functional Languages.Please discuss whether or not this merge should happen on the discussion page.
Functional ... | 编程 |
2014-15/4290/en_head.json.gz/8538 | The Coming Blowback
The Syrian Mousetrap by AFSHIN RATTANSI The current cast of the longest-running play in the world is ready for its changeover – and that doesn’t just refer to hegemonic power-shifts in theatres of war. The Mousetrap, showing in the West End of London and currently starring Georgina Sutcliffe was wri... | 编程 |
Industry models play a crucial role in driving enterprise intelligence transformation and innovative development. High-quality industry data is key to improving the performance of large models and realizing industry applications. However, datasets currently used for industry model training generally suffer from issues such as insufficient data volume, low quality, and lack of domain expertise.
To address these problems, we constructed and applied 22 industry data processing operators to clean and filter 3.4TB of high-quality multi-industry classified Chinese and English language pre-training datasets from over 100TB of open-source datasets including WuDaoCorpora, BAAI-CCI, redpajama, and SkyPile-150B. The filtered data consists of 1TB of Chinese data and 2.4TB of English data. To facilitate user utilization, we annotated the Chinese data with 12 types of labels including alphanumeric ratio, average line length, language confidence score, maximum line length, and perplexity.
Furthermore, to validate the dataset's performance, we conducted continued pre-training, SFT, and DPO training on a medical industry demonstration model. The results showed a 20% improvement in objective performance and a subjective win rate of 82%.
Industry categories: 18 categories including medical, education, literature, finance, travel, law, sports, automotive, news, etc. Rule-based filtering: Traditional Chinese conversion, email removal, IP address removal, link removal, Unicode repair, etc. Chinese data labels: Alphanumeric ratio, average line length, language confidence score, maximum line length, perplexity, toxicity character ratio, etc. Model-based filtering: Industry classification language model with 80% accuracy Data deduplication: MinHash document-level deduplication Data size: 1TB Chinese, 2.4TB English
Industry classification data size:
| Industry Category | Data Size (GB) | Industry Category | Data Size (GB) |
|---|---|---|---|
| Programming | 4.1 | Politics | 326.4 |
| Law | 274.6 | Mathematics | 5.9 |
| Education | 458.1 | Sports | 442 |
| Finance | 197.8 | Literature | 179.3 |
| Computer Science | 46.9 | News | 564.1 |
| Technology | 333.6 | Film & TV | 162.1 |
| Travel | 82.5 | Medicine | 189.4 |
| Agriculture | 41.6 | Automotive | 40.8 |
| Emotion | 31.7 | Artificial Intelligence | 5.6 |
| Total (GB) | 3386.5 |
For the convenience of users to download and use, we have split the large dataset into sub-datasets for 18 industries. The current one is the sub-dataset for the programming industry.
Data processing workflow:
- Downloads last month
- 25
