Dataset Viewer
Auto-converted to Parquet Duplicate
text
string
term_score
int32
term_score_v2
int32
Take the 2-minute tour × I had the Logitech MX-518 mouse, but it had been having issues with responsiveness, causing me to call support for a replacement. Instead of another 518, they sent me a Logitech G400 mouse because the 518 has been discontinued. This causes issues because, while the MX518 was supported by lomoc...
11
6
is implemented with id ? Aahz aahz at Sun Nov 4 06:12:10 CET 2012 Hans Mulder <hansmu at> wrote: >On 3/11/12 20:41:28, Aahz wrote: >> In article <50475822$0$6867$e4fe514c at>, >> Hans Mulder <hansmu at> wrote: >>> On 5/09/12 15:19:47, Franck Ditter wrote: >>>> - I should have said that I work with Python 3. Does th...
12
6
The stargate of devices Open your topic Your latest topics No topics found, let‘s open a new one! QEST is a stargate between the universe of devices which speak MQTT, and the universe of apps which speak HTTP and REST. In this way you don't have to deal any custom protocol, you just GET and PUT the topic URI, like...
6
6
Take the 2-minute tour × So this is how I set up my project: git init --bare Later I learned that if you want to work on a project with multiple users this is how I should have done it: git init --bare --shared Now I tried to work like that and luckily we are in the beginning so I could set up git again. I still w...
13
9
Take the 2-minute tour × The command ls .* when run gives as output the following : • All the files in the current directory starting with a . (hidden files) • All the files in the hidden directories present in the current directory • All the files in the current directory • All the files in the parent ...
19
11
Re: CSS Variables Draft Proposal From: Boris Zbarsky <[email protected]> Date: Mon, 14 Feb 2011 16:28:14 -0500 Message-ID: <[email protected]> On 2/14/11 3:46 PM, Tab Atkins Jr. wrote: > This term is underdefined for my usage, > and perhaps not exactly what I want, though. > You can't put a unit in and expec...
12
6
Take the 2-minute tour × I am creating very simple CMS for my organisation. My strategy is to embed editable content between tags called < editable >. However to hide these from the browser I am commenting them out. So an example of an editable region will look like this. <!-- <editable name="news_item> Today's news...
12
6
Take the 2-minute tour × I added a file to the index with: git add somefile.txt I then got the SHA1 for this file with: git hash-object somefile.txt I now have a SHA1 and I would like to retrieve the filename of the object in the index using the SHA1. git show 5a5bf28dcd7944991944cc5076c7525439830122 This comman...
5
3
Take the 2-minute tour × I'm making an SCons file for building Docbook documentation. In order to trace dependencies I would like some way to resolve catalog file lookups to an absolute path to a file. So say I have a bit of Docbook XML : <title>Docbook example document</title> <xi:include href="file:///co...
10
6
Take the 2-minute tour × As with the command line in Pylons call the REST function from controller such as update? How to pass a request.POST to update function? share|improve this question add comment 2 Answers up vote 1 down vote accepted You need to use paster's post command. Below, I post to /login/attempt of ...
8
3
Take the 2-minute tour × I'm a mac user giving vim a serious try. Most of the GUI editors I'm used to allow me to open a directory as a "project" by executing a command like: edit ~/www/example.com/ The vim equivalent vim ~/www/example.com/ will show me a list of files in the directory, and I can open them. But it d...
7
6
Take the 2-minute tour × I am using python 2.7 & python 3.1.3. But in my python i am unable to "import gdb" It is giving me error as >>> import gdb Traceback (most recent call last): ImportError: No module named gdb Whats a reason for this, how should i has to solve this problem. share|improve this question Maybe ...
14
7
Take the 2-minute tour × I merged the beta branch into the master branch. I pushed to origin. I now want master to be as it was prior to the merger both locally and remotely. A good answer for undoing a merge that was already pushed suggests git revert -m 1 commit_hash If this is indeed the way to go, how can I det...
6
8
Capistrano and database.yml June 3rd, 2009 at 7:06 am • permalink10 comments Capistrano logoLast week, an user asked the Capistrano mailing list about database password best practices. This reminded me that I never posted here a Capistrano recipe I created almost one year ago to solve exactly this problem. Which pro...
19
6
Take the tour × Possible Duplicate: Python, opposite function urllib.urlencode I have a url string which is already formatted with key=value pairs and &'s in between, as created by urllib's urlencode function. Is there a standard Python library utility to reverse this process? That is: Given a string representing a ...
6
6
Take the 2-minute tour × I have 4 text files that I want to read and find the top 5 most occurring names of. The text files have names in the following format "Rasmus,M,11". Below is my code which right now is able to call all of the text files and then read them. Right now, this code prints out all of the names in th...
8
4
Take the 2-minute tour × I have a text file which contains 2 columns separated by a tab, containing some data that I would like to read into arrays and perform some simple operations for instance plot the data. The data in the second column is in scientific notation and can takes extremely small values such varying fr...
14
8
Take the 2-minute tour × I have hunted around various other posts and although there are some useful tips I haven't found a similar problem to mine so I thought I would ask. I have generated the following list: data2 = ['AN1_OUT,24','AN2_OUT,13','AN3_OUT,14','AN4_OUT,15'] What I want to do is identify the setting (A...
6
4
Take the 2-minute tour × Hi I ve a script in iron python where a variable mite contain special characters. Ex name- megha_lohit url - http://url.com if name == megha_lohit: print 'success' else raise testcaseexception(failed) Here the code doesnt pass the if loop and enters teh else part failing the test case , even...
7
6
Sign up × How do I find out what packages have been installed since the OS was installed? I do not want to know all packages installed, only those that were not part of the initial OS install, and have been explicitly installed afterwards. For the sake of this question, lets assume a fresh install, as I imagine distr...
10
3
Take the 2-minute tour × This question already has an answer here: hey, I'm trying to programming a crossword creator. using a given dictionary txt file and a given pattern txt file. The basic idea is using DFS algorithm. the problem begin when the dictionary file is v-e-r-y big (about 50000 words). then i recive the...
8
4
Forgot your password? Comment: Mint+Mate or CentOS (Score 1) 573 by doodleboy (#43266521) Attached to: Ask Slashdot: New To Linux; Which Distro? By which I mean, a distro that runs Gnome2. I've been using Linux as my primary desktop OS since sometime in the late 90's and I actually work as a shell programmer. I am n...
8
3
Personal tools From HaskellWiki < Performance Revision as of 15:22, 10 January 2006 by Simonmar (Talk | contribs) Jump to: navigation, search Please report any overly-slow GHC-compiled programs. Since GHC doesn't have any credible competition in the performance department these days it's hard to say what overly-sl...
6
3
Take the 2-minute tour × I recently got into trouble because of this. $sudo vim /etc/motd [sudo] password for bruce: bruce is not in the sudoers file. This incident will be reported. Is there a way to check if I have sudo access or not? share|improve this question Ask your systems administrator? –  mdpc Feb 18 '...
7
7
Tell me more × When I connect to my Ubuntu 10.04.2 LTS server I get the following banner: 25 packages can be updated. 15 updates are security updates. However if I run package upgrades/updates nothing comes up: $ sudo apt-get update $ sudo apt-get upgrade Reading package lists... Done Building dependency tree ...
6
7
Tell me more × Why does Python see these classes as different data types? >>> class A: ... pass >>> class B(object): ... pass >>> a = A() >>> b = B() >>> type(A) <type 'classobj'> >>> type(B) <type 'type'> >>> type(a) <type 'instance'> >>> type(b) <class '__main__.B'> I'm pretty new. So I don't really underst...
10
6
Take the 2-minute tour × These days I design some algorithms in python, but find first two greatest value in python is too ugly and inefficient. How to implement it in a efficient or a pythonic way? share|improve this question possible duplicate of Filter max 20 values from a list of integers –  Steven Rumbalski Jun...
15
6
Take the 2-minute tour × Is there a way to find what path a command has had it's output redirected to (if it has been)? I tried using: ps -p PID -o cmd Thinking I could look for a > and extract the path from that, but the output doesn't have that part in it. I'm pretty sure it hasn't just been truncated. share|imp...
8
3
Take the 2-minute tour × I am building a wireless link between two points using Wireless-N standard. To determine the best position of the antennas, there is a signal strength indicator on the antennas. The problem is the link strength doesn't always correspond to link throughput. I'm looking for an offline version o...
8
3
Take the 2-minute tour × Reasons for doing this aside, is there a reasonable way to convert an entire git repository to subversion? I can find only tons on information on migrating from subversion to git, and exchanging changesets between the two, but not for doing a simple conversion of the entire git repository to ...
12
3
Take the 2-minute tour × Shouldn't the list comprehension restrict the variable scope. user = <user1> project.users = [<user1>, <user2>, <user3>, <user4>] project_usernames = [user.username for user in project.users] I am generating the list project_usernames using list comprehension on project.users. But it is mod...
11
6
Take the 2-minute tour × sqlstring = 'INSERT INTO {}' table = 'Product' does not result to 'INSERT INTO Product' but still 'INSERT INTO {}' why is this so? share|improve this question Using my Python 3.2 it does result in "INSERT INTO Product", not sure what the problem is on your side. –  Michael Dec 1 '11 at 0:09 ...
11
9
Loïc Dachary http://dachary.org Free Software Developer Journey Mon, 25 Nov 2013 15:08:02 +0000 en hourly 1 http://wordpress.org/?v=3.0.4 Manage a multi-datacenter crush map with the command line http://dachary.org/?p=2536 http://dachary.org/?p=2536#comments Thu, 21 Nov 2013 15:28:56 +0000 Loic Dachary http://dachary.o...
22
15
Tell me more × I have a Debian Squeeze server with Apache2 and Subversion on-board. The Subversion version is 1.6.12 (r955767). It is from debian repos. But recently I installed Subversion v1.7.7 from sources into /usr/local/ and now in console I see root@test:~# svn --version svn, version 1.7.7 (r1393599) compile...
14
9
Tell me more × I need to make a program in which the user inputs a word and I need to do something to each individual letter in that word. They cannot enter it one letter at a time just one word. I.E. someone enters "test" how can I make my program know that it is a four letter word and how to break it up, like make ...
14
6
Tell me more × i am just starting with python (python3) because i read its good for the euler project since it can handle very big numbers. now i am struggling with a quite simple problem of converting float to int. Why don't i get the same result for this: num = 6008514751432349174082765599289028910605977570 prin...
9
6
Running Plone and Zope behind an Apache 2 web server « Return to page index How to set up an Apache 2 web server as proxy with disk caching and deflating. Preface and Apache 2 module configuration This tutorial describes how to set up an Apache 2 webserver as proxy with disk caching and deflating (compressing like ...
20
12
Take the 2-minute tour × i have a python module with a function: def do_stuff(param1 = 'a'): if type(param1) == int: # enter python interpreter here is there a way to drop into the command line interpreter where i have the comment? so that if i run the following in python: >>> import my_module >>> do_st...
5
4
End of preview. Expand in Data Studio

Terminal/CLI Web Text

webterminal

A filtered extract of terminal and command-line content from two large web-text corpora, designed for upsampling agentic-adjacent data during pretraining.

Subsets

Subset Rows Tokens Size Quality
clean (default) 2.33M 4.6B 11 GB ~98% terminal content
unfiltered 61.3M 359B 962 GB ~15% terminal content
from datasets import load_dataset

# Load the clean subset (default)
ds = load_dataset("AdaMLLab/WebTerminal")

# Load the unfiltered subset
ds = load_dataset("AdaMLLab/WebTerminal", "unfiltered")

Sources

  • DCLM (Zyphra/dclm-dedup)
  • FineWeb (Salesforce/fineweb_deduplicated)

How it was built

v0.1 Unfiltered

  1. Fast filter: skip any document that doesn't contain obvious CLI indicators ($, sudo, pip install, ```bash, root@, etc.)
  2. Score: remaining docs are scored (0-34) across five signals, each with a per-match point value and a cap:
Filter Description Points Cap
Prompt patterns Shell prompts like $ cmd, user@host:~$, >>>, root@, PS C:\ 2 per match 10
CLI commands Known commands: sudo, apt-get, pip install, git clone, docker run, curl, ssh, gcc, etc. (30+ patterns) 1 per unique match 8
stdout patterns Output indicators: "successfully installed", "cloning into", drwx (ls output), "packets transmitted", "traceback", version strings 2 per match 6
Code blocks Terminal-flavored code blocks: ```bash, ```shell, <pre><code>, terminal/console div classes 2 per match 6
Indented blocks 3+ consecutive lines indented 4+ spaces (code/output blocks) 1 per match 4

Documents scoring >=5 are kept.

  1. Dedup: exact dedup across both datasets using xxhash64 on full text. Removed 1,168 duplicates.

v0.2 Clean

The unfiltered subset is ~84-86% noise at lower score levels (5-12), which make up 93% of the data. The root cause: v0.1's scoring uses context-blind keyword matching, CLI command names like find, make, cat appear in normal English prose, bare $ matches currency amounts, and indented Python/SQL code gets scored as terminal content.

v0.2 applies a three-stage structural filter over the unfiltered data:

  1. Context-aware: instead of matching bare $, requires $ sudo, $ git, $ docker, etc. (dollar sign + space + known command). Eliminates ~87% of documents immediately.
  2. Validation regex: confirms a genuine structural terminal pattern exists, shell prompts followed by real commands, user@host:~$ patterns, Python REPL >>>, tracebacks, ```bash code blocks, Unix file permission listings, man page headers, shebangs.
  3. Weighted structural scoring (term_score_v2): each pattern has a weight (1-3) and occurrences are capped. Documents need term_score_v2 >= 3 to be kept.
Weight Signal Max
3 Command prompts ($ cmd at line start) 9
3 SSH prompts (user@host:~$) 9
2 Python REPL, file listings, tracebacks, terminal code blocks, git/docker ops, Windows prompts, man pages 2-6 each
1 Install output, systemd units, shebangs, sudo commands 1 each

No indentation-based scoring. No context-blind command substring matching.

Result: 3.8% of the unfiltered data survives, from 61.3M rows down to 2.33M rows. Quality jumps from ~15% to ~98% terminal/CLI content.

Schema

Clean subset

Column Type Description
text string Document text
term_score int32 Original v0.1 score (5-34)
term_score_v2 int32 Structural score from v0.2 filter (3+)

Unfiltered subset

Column Type Description
text string Document text
term_score int32 Original v0.1 score (5-34)

Stats

Clean (v0.2)

  • 2,334,414 rows | 4.6B tokens (Llama-3.2-1B tokenizer) | 11 GB
  • 62 parquet files, ~169-185 MB each, snappy compressed

Unfiltered (v0.1)

  • 61,341,278 rows | 359B tokens | 962 GB
  • 4,187 parquet files, ~180-240 MB each, snappy compressed
v0.1 Score Count %
5 39,025,201 63.62%
6 10,787,199 17.59%
7 4,063,886 6.63%
8 2,911,983 4.75%
9-14 3,594,547 5.86%
15-34 958,462 1.56%

Use case

Upsampling agentic-adjacent data during pretraining. The clean subset is recommended for most use cases. The unfiltered subset is available for researchers who want to apply their own filtering.

Downloads last month
193