Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
6
1.05M
<filename>apps/addons/tests/test_decorators.py from django import http import mock from nose.tools import eq_ import amo.tests from addons import decorators as dec from addons.models import Addon class TestAddonView(amo.tests.TestCase): def setUp(self): super(TestAddonView, self).setUp() self.a...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { CoordinatingActivityComponent } from './coordinating-activity/coordinating-activity.component'; import { EditComponent } from './edit/edit.component'; import { CreateRewardComponent } from '../coordinator/create-r...
<reponame>MatejTuray/SourceScraper<gh_stars>10-100 import { SimpleDomScraper } from '../lib'; import { ScraperTester } from 'source-scraper-test-utils'; const urls = ['https://tekeye.uk/html/html5-video-test-page']; ScraperTester.fromStatic(SimpleDomScraper) .testUrlDetection(urls) .testScraping(urls) ...
# -*- coding: utf-8 -*- """ ############################################################################### # # autoPACK Authors: <NAME>, <NAME>, <NAME>, <NAME> # Based on COFFEE Script developed by <NAME> between 2005 and 2010 # with assistance from <NAME> in 2009 and periodic input # from Arthur Olson's Molecul...
<reponame>Joeltronics/audioexperiments #!/usr/bin/env python3 from .filter_base import FilterBase, FilterForm from typing import Tuple from math import pi, sin, cos, sqrt from unit_test.processor_unit_test import FilterUnitTest import numpy as np import scipy.signal from overdrive import overdrive from utils ...
<reponame>tartarini/MAF3<gh_stars>1-10 /* * mafViewManager.cpp * mafResources * * Created by <NAME> on 30/12/09. * Copyright 2011 SCS-B3C. All rights reserved. * * See License at: http://tiny.cc/QXJ4D * */ #include "mafViewManager.h" #include "mafMementoViewManager.h" #include "mafView.h" #include "mafVM...
#!/usr/bin/env python # -*- coding: utf-8 -*- import html2markdown from urllib.request import urlopen from girder import events, logger from girder.constants import AccessType from girder.exceptions import ValidationException from girder.utility.model_importer import ModelImporter from girder.utility.progress import ...
<filename>content/lab/pulumi/azure-native/typescript/app/hello/index.ts module.exports = async function (context) { return { status: 200, body: "You've successfully deployed a Function App!", headers: { "content-type": "text/html", }, }; };
function split(str: string): string { let a: number = 1; let res: string = ''; const parts = (str || '').split('%'); const len: number = parts.length; if (len > 0) { res += parts[0]; } for (let i = 1; i < len; i++) { if (parts[i][0] === 's' || parts[i][0] === 'd') { let value = arguments[...
<filename>sdk/commerce/arm-commerce/src/models/parameters.ts /* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { OperationParamete...
""" Provides the data structure for numerical integration. The purpose of these data structures is to give access to the quadrature points and weights for several spatial domains. """ import gaussian from .gaussian import GaussQuadSimp
<filename>src/app/organizer/table-types.ts import { DimItem } from 'app/inventory/item-types'; import React from 'react'; export const enum SortDirection { ASC, DESC, } type Value = string | number | boolean | undefined | null; /** * Columns can optionally belong to a column group - if so, they're shown/hidden ...
<gh_stars>0 import tornado.escape import tornado.ioloop import tornado.options import tornado.web import os.path import views from tornado.options import define, options define("port", default=8000, help="run on the given port", type=int) class Application(tornado.web.Application): def __init__(self): ...
<filename>src/logic/calc.logic.ts import { AttendVO } from '../vo/attend.vo'; /** * 勤怠関連のロジック */ export interface CalcLogic { /** * 勤務時間の計算を行う * @param attendVO 勤怠情報 */ calc(attendVO: AttendVO): AttendVO; /** * すべての勤怠情報を取得する */ getAllAttends(): AttendVO[]; /** * 勤怠情報を保存する * @param at...
#include <iostream> #include <string> #include <vector> using namespace std; int main(void) { vector<pair<int, string> > list; int q, s, e, cnt = 0, size; list.push_back(make_pair(1967, "DavidBowie")); list.push_back(make_pair(1969, "SpaceOddity")); list.push_back(make_pair(1970, "TheManWhoSoldTheWorld")); list.p...
<reponame>mjameswh/sdk-typescript /** * Tests that if a signal is delivered while the Worker is processing a Workflow * Task, the Worker picks up a new Workflow Task (including the signal) and * the Workflow library delivers the signal to user code before it starts the * Workflow execution. * * @module */ import...
<gh_stars>1-10 # Empty file from cemc.tools.gsfinder import GSFinder from cemc.tools.free_energy import FreeEnergy from cemc.tools.dataset_averager import DatasetAverager from cemc.tools.phase_boundary_tracker import PhaseBoundaryTracker from cemc.tools.canonical_free_energy import CanonicalFreeEnergy from cemc.tools.c...
<reponame>Faholan/Various<filename>battleship/config.py<gh_stars>1-10 """Battleship configuration.""" # Battleship configuration GRID_SIZE = 10 # Number of rows and columns in the grid CELL_SIZE = 50 # Size (in pixel) of each square SIZES = (5, 4, 3, 3, 2) # Boat sizes SHOW_AI_MISSED = True # Show the hits miss...
<gh_stars>1-10 import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; import { FirebaseListObservable } from 'angularfire2'; import { ITask } from '../models/task'; @Component({ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'task-list', template: ` ...
<filename>projects/ngx3js/src/lib/shader/shaders/shader.modifier_tessellation.ts import { IShaderType } from '../../ngx-interface'; export const ModifierTessellation: IShaderType = { vertexShader: ` uniform float amplitude; attribute vec3 customColor; attribute vec3 displacement; varying vec3 vNormal; varyi...
<gh_stars>0 import { MysqlConfig } from './MySql.config' import { ValidationPipeOptions, validationOptions } from './ValidationPipeOptions.config' export { MysqlConfig, ValidationPipeOptions, validationOptions }
<filename>synbiochemdev/design/ice_analysis.py ''' synbiochem (c) University of Manchester 2016 synbiochem is licensed under the MIT License. To view a copy of this license, visit <http://opensource.org/licenses/MIT/>. @author: neilswainston ''' import sys from synbiochem.utils.ice_utils import ICEClient from synb...
<reponame>TMarquet/speech_recognition # -*- coding: utf-8 -*- """ Created on Fri Jan 22 11:02:28 2021 @author: kahg8 """ import webrtcvad import os # Helper libraries import numpy as np from scipy.io import wavfile import matplotlib.pyplot as plt labels = ["yes", "no", "up", "down", "left", "right", "on", "off", "st...
import * as React from 'react'; import { StyleSheet, Text, View, ViewStyle } from 'react-native'; import Video from 'react-native-video'; class VideoTest extends React.Component { constructor(props: {}) { super(props); } render(): React.ReactElement<any> { return ( ...
import { Chip, makeStyles, Theme } from '@material-ui/core'; import React from 'react'; type LozengeProps = { appearance: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success'; label: string; }; const useStyles = makeStyles((theme: Theme) => ({ default: { color: '#42526E', bac...
// Copyright: 2015 <NAME> // Author: <NAME> (<EMAIL>) #include <iostream> #include "quick/debug.hpp" #include "gtest/gtest.h" #include "samples/sample_aparse_grammars.hpp" #include "aparse/aparse_machine_builder_v2.hpp" #include "aparse/core_parser.hpp" #include "aparse/error.hpp" #include "quick/stl_utils.hpp" usi...
<gh_stars>0 export * from './game.utils';
<filename>upgrade/boot_loader/SecondStageToRamLoader.cpp<gh_stars>10-100 #include "upgrade/boot_loader/SecondStageToRamLoader.hpp" #include "upgrade/pack/UpgradePackHeader.hpp" #include <cstring> namespace application { SecondStageToRamLoader::SecondStageToRamLoader(hal::SynchronousFlash& upgradePackFlash, const c...
import re from git import Repo, Commit from code_metrics import utils def get_repo(path): return Repo(path) def get_revision(from_commit, to_commit): revision = "{}..{}".format(from_commit, to_commit) return revision def get_most_recent_tag_names(git_repo=None): git_repo = git_repo or Repo() t...
/* * Copyright (c) 2018-2021, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, p...
import React from 'react' import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow, Paper, } from '@material-ui/core' interface Header { [key: string]: any text: string value: string } interface TBody { [key: string]: any } interface Props { [key: string]: any header?: Header...
import tensorflow as tf from tensorflow.keras.layers import Input, Dense, Add, Subtract, Lambda from tensorflow.keras.models import Model from tensorflow.keras.optimizers import RMSprop import tensorflow.keras.backend as K c = tf.constant(['a', 'b']) e = tf.math.erf([1.0, -0.5, 3.4, -2.1, 0.0, -6.5]) input = tf.keras...
End of preview. Expand in Data Studio

This is mix three of three in a ten billion token pre-training cirriculum.

Dataset Rows Token share
FineWeb-Edu 871,429 25.01%
DCLM 498,667 20.03%
Cosmopedia-V2 752,500 14.99%
Code 1,400,000 19.99%
Math 382,000 19.99%

About 3.336 billion tokens.
Mix one and two can be found here: Hoglet-33/3.33BT-Pre-Training-Mix-One-Of-Three, Hoglet-33/3.33BT-Pre-Training-Mix-Two-Of-Three

Downloads last month
24

Collection including Hoglet-33/3.33BT-Pre-Training-Mix-Three-Of-Three