repo_id
stringlengths
6
101
file_path
stringlengths
2
269
content
stringlengths
367
5.14M
size
int64
367
5.14M
filename
stringlengths
1
248
ext
stringlengths
0
87
lang
stringclasses
88 values
program_lang
stringclasses
232 values
doc_type
stringclasses
5 values
quality_signal
stringlengths
2
1.9k
effective
stringclasses
2 values
hit_map
stringlengths
2
1.4k
030/n3dr
internal/app/n3dr/goswagger/client/status/is_writable_responses.go
// Code generated by go-swagger; DO NOT EDIT. package status // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "fmt" "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" ) // IsWritableReader is a Reader for th...
4,568
is_writable_responses
go
en
go
code
{"qsc_code_num_words": 571, "qsc_code_num_chars": 4568.0, "qsc_code_mean_word_length": 6.14886165, "qsc_code_frac_words_unique": 0.20140105, "qsc_code_frac_chars_top_2grams": 0.02705782, "qsc_code_frac_chars_top_3grams": 0.04272287, "qsc_code_frac_chars_top_4grams": 0.05411564, "qsc_code_frac_chars_dupe_5grams": 0.6152...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
01joy/news-search-engine
data/news/345.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>345</id><url>http://www.chinanews.com/cj/2020/03-30/9141625.shtml</url><title>南航在湖北的国内客运航班运营正逐步恢复</title><datetime>2020-3-30 09:25:00</datetime><body> 中新网广州3月30日电(记者郭军)3月29日16时59分,南航CZ3446航班载着190余名旅客从湖北宜昌三峡机场起飞前往广州。这是自湖北省除武汉以外地区解除离鄂通道管制以来,南航在湖北恢复运行的首个客运正班航班,这也标志着南航在湖北的国内客...
694
345
xml
zh
xml
data
{"qsc_code_num_words": 292, "qsc_code_num_chars": 694.0, "qsc_code_mean_word_length": 1.98972603, "qsc_code_frac_words_unique": 0.61986301, "qsc_code_frac_chars_top_2grams": 0.02753873, "qsc_code_frac_chars_top_3grams": 0.02581756, "qsc_code_frac_chars_top_4grams": 0.02065404, "qsc_code_frac_chars_dupe_5grams": 0.06540...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 1, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/1944.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>1944</id><url>http://www.chinanews.com/gn/2020/04-03/9146844.shtml</url><title>川渝出台方案深化市场监管一体化合作</title><datetime>2020-4-3 16:30:00</datetime><body> 川渝出台方案深化市场监管一体化合作 新华社重庆4月3日电(记者韩振、刘博伟)为推动成渝地区双城经济圈建设,重庆市市场监督管理局和四川省市场监督管理局近日就深化川渝市场监管一体化合作出台方案,双方将在营商环境、市场监管等方面加快一体化步伐。 根...
818
1944
xml
zh
xml
data
{"qsc_code_num_words": 302, "qsc_code_num_chars": 818.0, "qsc_code_mean_word_length": 2.3013245, "qsc_code_frac_words_unique": 0.63907285, "qsc_code_frac_chars_top_2grams": 0.03453237, "qsc_code_frac_chars_top_3grams": 0.03453237, "qsc_code_frac_chars_top_4grams": 0.05179856, "qsc_code_frac_chars_dupe_5grams": 0.086330...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/1311.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>1311</id><url>http://www.chinanews.com/cj/2020/04-02/9146007.shtml</url><title>中国银联互联网支付安全调查报告:51%消费者曾遭遇网络诈骗</title><datetime>2020-4-2 22:19:00</datetime><body> 中新社北京4月2日电(记者魏晞)中国银联2日发布《2019移动互联网支付安全大调查报告》称,中国移动支付用户使用频次继续上升,日均使用逾3次。 2019年网络诈骗情况有所好转,调查显示:51%的消费者曾经遇到过网络诈骗,...
758
1311
xml
zh
xml
data
{"qsc_code_num_words": 293, "qsc_code_num_chars": 758.0, "qsc_code_mean_word_length": 2.12627986, "qsc_code_frac_words_unique": 0.66211604, "qsc_code_frac_chars_top_2grams": 0.01926164, "qsc_code_frac_chars_top_3grams": 0.02247191, "qsc_code_frac_chars_top_4grams": 0.0, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/NecromancerSprite.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
3,982
NecromancerSprite
java
en
java
code
{"qsc_code_num_words": 471, "qsc_code_num_chars": 3982.0, "qsc_code_mean_word_length": 5.8492569, "qsc_code_frac_words_unique": 0.36093418, "qsc_code_frac_chars_top_2grams": 0.06533575, "qsc_code_frac_chars_top_3grams": 0.09655172, "qsc_code_frac_chars_top_4grams": 0.09582577, "qsc_code_frac_chars_dupe_5grams": 0.35862...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
staging/backprop.py
import torch # Input and target output x = torch.tensor([1.0]) # Single input y_true = torch.tensor([0.0]) # Target output # Initialize weights and biases w1 = torch.tensor([0.5], requires_grad=True) # Weight for hidden layer b1 = torch.tensor([0.0], requires_grad=True) # Bias for hidden layer w2 = torch.tensor([...
1,111
backprop
py
en
python
code
{"qsc_code_num_words": 186, "qsc_code_num_chars": 1111.0, "qsc_code_mean_word_length": 3.88172043, "qsc_code_frac_words_unique": 0.30645161, "qsc_code_frac_chars_top_2grams": 0.09141274, "qsc_code_frac_chars_top_3grams": 0.08310249, "qsc_code_frac_chars_top_4grams": 0.05401662, "qsc_code_frac_chars_dupe_5grams": 0.2880...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
staging/vqvae.py
import random from typing import Tuple import torch import torch.nn as nn import torch.nn.functional as F from transformers import AutoConfig class PraxisVAE(nn.Module): """ A flexible Variational Autoencoder implementation with β-VAE support. Handles 3D inputs of shape [batch_size, seq_len, num_features...
20,960
vqvae
py
en
python
code
{"qsc_code_num_words": 2577, "qsc_code_num_chars": 20960.0, "qsc_code_mean_word_length": 4.60380287, "qsc_code_frac_words_unique": 0.14318976, "qsc_code_frac_chars_top_2grams": 0.00573163, "qsc_code_frac_chars_top_3grams": 0.01719488, "qsc_code_frac_chars_top_4grams": 0.02149359, "qsc_code_frac_chars_dupe_5grams": 0.38...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
staging/visualize_dropout_pattern.py
"""Visualize chaotic oscillating dropout pattern for SMEAR experts.""" import numpy as np import matplotlib.pyplot as plt from praxis.distributions import chaotic_dropout_pattern, DISTRIBUTION_PROFILES def plot_dropout_patterns(): """Create visualization of the dropout pattern using registered profiles.""" f...
6,159
visualize_dropout_pattern
py
en
python
code
{"qsc_code_num_words": 854, "qsc_code_num_chars": 6159.0, "qsc_code_mean_word_length": 4.58430913, "qsc_code_frac_words_unique": 0.21896956, "qsc_code_frac_chars_top_2grams": 0.03218391, "qsc_code_frac_chars_top_3grams": 0.02860792, "qsc_code_frac_chars_top_4grams": 0.0449553, "qsc_code_frac_chars_dupe_5grams": 0.29655...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
030/n3dr
internal/app/n3dr/goswagger/client/routing_rules/create_routing_rule_responses.go
// Code generated by go-swagger; DO NOT EDIT. package routing_rules // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "fmt" "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" ) // CreateRoutingRuleReader is a...
7,043
create_routing_rule_responses
go
en
go
code
{"qsc_code_num_words": 828, "qsc_code_num_chars": 7043.0, "qsc_code_mean_word_length": 6.67270531, "qsc_code_frac_words_unique": 0.16062802, "qsc_code_frac_chars_top_2grams": 0.02533937, "qsc_code_frac_chars_top_3grams": 0.05846154, "qsc_code_frac_chars_top_4grams": 0.05158371, "qsc_code_frac_chars_dupe_5grams": 0.6494...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
030/n3dr
internal/app/n3dr/goswagger/client/routing_rules/update_routing_rule_responses.go
// Code generated by go-swagger; DO NOT EDIT. package routing_rules // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "fmt" "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" ) // UpdateRoutingRuleReader is a...
9,103
update_routing_rule_responses
go
en
go
code
{"qsc_code_num_words": 1074, "qsc_code_num_chars": 9103.0, "qsc_code_mean_word_length": 6.62849162, "qsc_code_frac_words_unique": 0.12849162, "qsc_code_frac_chars_top_2grams": 0.0259868, "qsc_code_frac_chars_top_3grams": 0.05731142, "qsc_code_frac_chars_top_4grams": 0.05337828, "qsc_code_frac_chars_dupe_5grams": 0.6832...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
030/n3dr
internal/app/n3dr/goswagger/client/routing_rules/update_routing_rule_parameters.go
// Code generated by go-swagger; DO NOT EDIT. package routing_rules // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "context" "net/http" "time" "github.com/go-openapi/errors" "github.com/go-openapi/runtime" cr "githu...
4,967
update_routing_rule_parameters
go
en
go
code
{"qsc_code_num_words": 603, "qsc_code_num_chars": 4967.0, "qsc_code_mean_word_length": 6.34660033, "qsc_code_frac_words_unique": 0.24212272, "qsc_code_frac_chars_top_2grams": 0.04311471, "qsc_code_frac_chars_top_3grams": 0.05435067, "qsc_code_frac_chars_top_4grams": 0.06793833, "qsc_code_frac_chars_dupe_5grams": 0.3258...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
030/n3dr
internal/app/n3dr/goswagger/client/routing_rules/get_routing_rule_parameters.go
// Code generated by go-swagger; DO NOT EDIT. package routing_rules // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "context" "net/http" "time" "github.com/go-openapi/errors" "github.com/go-openapi/runtime" cr "githu...
4,254
get_routing_rule_parameters
go
en
go
code
{"qsc_code_num_words": 529, "qsc_code_num_chars": 4254.0, "qsc_code_mean_word_length": 6.18147448, "qsc_code_frac_words_unique": 0.25519849, "qsc_code_frac_chars_top_2grams": 0.04036697, "qsc_code_frac_chars_top_3grams": 0.04373089, "qsc_code_frac_chars_top_4grams": 0.05718654, "qsc_code_frac_chars_dupe_5grams": 0.3183...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
tests/test_compilation.py
""" Test suite for torch.compile functionality. """ import pytest import torch import torch.nn as nn from unittest.mock import patch, MagicMock from praxis.trainers.compile import try_compile from praxis import PraxisConfig, PraxisForCausalLM class TestCompilation: """Test suite for torch.compile functionality....
1,926
test_compilation
py
en
python
code
{"qsc_code_num_words": 230, "qsc_code_num_chars": 1926.0, "qsc_code_mean_word_length": 5.45652174, "qsc_code_frac_words_unique": 0.40869565, "qsc_code_frac_chars_top_2grams": 0.07968127, "qsc_code_frac_chars_top_3grams": 0.02390438, "qsc_code_frac_chars_top_4grams": 0.04063745, "qsc_code_frac_chars_dupe_5grams": 0.3386...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/effects/Lightning.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
4,077
Lightning
java
en
java
code
{"qsc_code_num_words": 574, "qsc_code_num_chars": 4077.0, "qsc_code_mean_word_length": 4.77351916, "qsc_code_frac_words_unique": 0.30836237, "qsc_code_frac_chars_top_2grams": 0.02627737, "qsc_code_frac_chars_top_3grams": 0.04087591, "qsc_code_frac_chars_top_4grams": 0.03211679, "qsc_code_frac_chars_dupe_5grams": 0.3102...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/effects/Beam.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
2,525
Beam
java
en
java
code
{"qsc_code_num_words": 366, "qsc_code_num_chars": 2525.0, "qsc_code_mean_word_length": 4.73770492, "qsc_code_frac_words_unique": 0.42349727, "qsc_code_frac_chars_top_2grams": 0.03114187, "qsc_code_frac_chars_top_3grams": 0.0461361, "qsc_code_frac_chars_top_4grams": 0.04036909, "qsc_code_frac_chars_dupe_5grams": 0.13264...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/effects/Pushing.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
3,380
Pushing
java
en
java
code
{"qsc_code_num_words": 437, "qsc_code_num_chars": 3380.0, "qsc_code_mean_word_length": 5.20594966, "qsc_code_frac_words_unique": 0.37757437, "qsc_code_frac_chars_top_2grams": 0.03956044, "qsc_code_frac_chars_top_3grams": 0.10021978, "qsc_code_frac_chars_top_4grams": 0.0967033, "qsc_code_frac_chars_dupe_5grams": 0.15208...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
01joy/news-search-engine
data/news/1413.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>1413</id><url>http://www.chinanews.com/gn/2020/04-02/9145786.shtml</url><title>新疆:未发现因疫情防控影响环境安全的情况</title><datetime>2020-4-2 19:08:00</datetime><body> (抗击新冠肺炎)新疆:未发现因疫情防控影响环境安全的情况 中新网乌鲁木齐4月2日电(胡嘉琛)新冠肺炎疫情发生后,新疆未发现因疫情防控影响环境安全的情况。记者从2日举行的“新疆维吾尔自治区坚决打好污染防治攻坚战发布会”获得上述消息。 会上...
809
1413
xml
zh
xml
data
{"qsc_code_num_words": 306, "qsc_code_num_chars": 809.0, "qsc_code_mean_word_length": 2.22875817, "qsc_code_frac_words_unique": 0.68300654, "qsc_code_frac_chars_top_2grams": 0.03519062, "qsc_code_frac_chars_top_3grams": 0.03519062, "qsc_code_frac_chars_top_4grams": 0.02639296, "qsc_code_frac_chars_dupe_5grams": 0.10997...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/837.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>837</id><url>http://www.chinanews.com/cj/2020/04-01/9144806.shtml</url><title>真金惠企 中国多地“出招”稳外贸</title><datetime>2020-4-1 22:53:00</datetime><body> 中新社北京4月1日电(孙宏瑗王琳林浩)为进一步降低疫情对外资外贸的负面影响,山东税务部门出台税费优惠政策,黑龙江自贸区绥芬河片区16条举措推进对外开放,广西将进一步优化口岸营商环境,提升跨境贸易便利化水平。 记者当日从山东官方新闻发布会上获悉,山东...
1,121
837
xml
zh
xml
data
{"qsc_code_num_words": 439, "qsc_code_num_chars": 1121.0, "qsc_code_mean_word_length": 2.12300683, "qsc_code_frac_words_unique": 0.56492027, "qsc_code_frac_chars_top_2grams": 0.02145923, "qsc_code_frac_chars_top_3grams": 0.0193133, "qsc_code_frac_chars_top_4grams": 0.02575107, "qsc_code_frac_chars_dupe_5grams": 0.25107...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/2395.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>2395</id><url>http://www.chinanews.com/gj/2020/04-04/9147495.shtml</url><title>近百名美国前政府高官和学者呼吁美中合作抗疫</title><datetime>2020-4-4 10:33:00</datetime><body> 近百名美国前政府高官和学者呼吁美中合作抗疫 新华社华盛顿4月3日电(记者刘品然 兴越)近百位美国前政府高官、专家学者3日呼吁美国与中国开展合作,共同抗击新冠疫情。 美国智库亚洲协会中美关系中心和加利福尼亚大学圣迭戈分校21世纪中国研究...
908
2395
xml
zh
xml
data
{"qsc_code_num_words": 365, "qsc_code_num_chars": 908.0, "qsc_code_mean_word_length": 2.13150685, "qsc_code_frac_words_unique": 0.61917808, "qsc_code_frac_chars_top_2grams": 0.01928021, "qsc_code_frac_chars_top_3grams": 0.02570694, "qsc_code_frac_chars_top_4grams": 0.03598972, "qsc_code_frac_chars_dupe_5grams": 0.06426...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/377.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>377</id><url>http://www.chinanews.com/gj/2020/03-30/9141576.shtml</url><title>瑞士及列支敦士登新冠肺炎确诊病例升至14336例</title><datetime>2020-3-30 06:32:00</datetime><body> 新华社日内瓦3月29日电(记者陈俊侠李叶)瑞士联邦公共卫生办公室29日公布的数据显示,截至当天8时,瑞士及列支敦士登新冠肺炎确诊病例升至14336例,比前一天增加1123例,其中瑞士死亡病例达257例。 另据瑞士广播电视台当天晚些...
544
377
xml
zh
xml
data
{"qsc_code_num_words": 183, "qsc_code_num_chars": 544.0, "qsc_code_mean_word_length": 2.44808743, "qsc_code_frac_words_unique": 0.67213115, "qsc_code_frac_chars_top_2grams": 0.03571429, "qsc_code_frac_chars_top_3grams": 0.03571429, "qsc_code_frac_chars_top_4grams": 0.04464286, "qsc_code_frac_chars_dupe_5grams": 0.10714...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/150.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>150</id><url>http://www.chinanews.com/sh/2020/03-30/9142184.shtml</url><title>西安:2020年计划修复河道湿地2000亩</title><datetime>2020-3-30 16:53:00</datetime><body> 新华社西安3月30日电(记者刘彤)记者30日从西安市水务局了解到,今年西安计划完成107个河湖水系保护治理项目,新增生态水面1000亩,修复河道湿地2000亩。 根据统计,2019年,西安累计清理、整治小水电站11座,关停退出9座,完成...
808
150
xml
zh
xml
data
{"qsc_code_num_words": 296, "qsc_code_num_chars": 808.0, "qsc_code_mean_word_length": 2.28716216, "qsc_code_frac_words_unique": 0.64527027, "qsc_code_frac_chars_top_2grams": 0.01772526, "qsc_code_frac_chars_top_3grams": 0.02658789, "qsc_code_frac_chars_top_4grams": 0.04431315, "qsc_code_frac_chars_dupe_5grams": 0.16691...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/971.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>971</id><url>http://www.chinanews.com/gj/2020/04-01/9144574.shtml</url><title>南非政府称利用现有设施应对新冠肺炎疫情 不建造新医院 </title><datetime>2020-4-1 19:01:00</datetime><body> (抗击新冠肺炎)南非政府称利用现有设施应对新冠肺炎疫情不建造新医院 中新社约翰内斯堡4月1日电(记者王曦)南非政府1日对外表示,该国不会效仿其他国家或地区通过建造新医院的方式,来应对新冠肺炎住院病例增加的问题,而是将通过利用现...
839
971
xml
zh
xml
data
{"qsc_code_num_words": 330, "qsc_code_num_chars": 839.0, "qsc_code_mean_word_length": 2.14545455, "qsc_code_frac_words_unique": 0.63636364, "qsc_code_frac_chars_top_2grams": 0.03954802, "qsc_code_frac_chars_top_3grams": 0.03389831, "qsc_code_frac_chars_top_4grams": 0.03389831, "qsc_code_frac_chars_dupe_5grams": 0.07062...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/2185.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>2185</id><url>http://www.chinanews.com/sh/2020/04-03/9146123.shtml</url><title>农民工讨薪案“云调解”半小时办结</title><datetime>2020-4-3 03:39:00</datetime><body> 本报讯(记者柳姗姗通讯员邹迪)近日,吉林省通化市柳河县人民法院通过线上“云调解”,仅用半个多小时,就办结了8起农民工讨薪案。待双方当事人达成调解协议后,该院速裁团队依法出具司法确认裁定书,农民工的“血汗钱”有了着落。 2017年7月至10月,刘某...
1,060
2185
xml
zh
xml
data
{"qsc_code_num_words": 462, "qsc_code_num_chars": 1060.0, "qsc_code_mean_word_length": 1.94372294, "qsc_code_frac_words_unique": 0.6038961, "qsc_code_frac_chars_top_2grams": 0.01336303, "qsc_code_frac_chars_top_3grams": 0.02227171, "qsc_code_frac_chars_top_4grams": 0.01781737, "qsc_code_frac_chars_dupe_5grams": 0.03340...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 1, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/1461.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>1461</id><url>http://www.chinanews.com/cj/2020/04-02/9145649.shtml</url><title>商务部:中国三大主粮完全可自给自足 不必担心供应短缺</title><datetime>2020-4-2 17:05:00</datetime><body> (抗击新冠肺炎)商务部:中国三大主粮完全可自给自足不必担心供应短缺 中新社北京4月2日电(记者李晓喻)疫情之下多国开始限制粮食出口,全球粮食安全日益承压。中国商务部官员2日称,中国三大主粮完全可以自给自足,不必担心粮食供应短缺...
737
1461
xml
zh
xml
data
{"qsc_code_num_words": 274, "qsc_code_num_chars": 737.0, "qsc_code_mean_word_length": 2.20437956, "qsc_code_frac_words_unique": 0.69343066, "qsc_code_frac_chars_top_2grams": 0.02649007, "qsc_code_frac_chars_top_3grams": 0.02980132, "qsc_code_frac_chars_top_4grams": 0.0397351, "qsc_code_frac_chars_dupe_5grams": 0.079470...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
030/n3dr
internal/app/n3dr/goswagger/client/repository_management/repository_management_client.go
// Code generated by go-swagger; DO NOT EDIT. package repository_management // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "fmt" "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" ) // New creates a new re...
188,332
repository_management_client
go
en
go
code
{"qsc_code_num_words": 19287, "qsc_code_num_chars": 188332.0, "qsc_code_mean_word_length": 6.70638254, "qsc_code_frac_words_unique": 0.04500441, "qsc_code_frac_chars_top_2grams": 0.0324092, "qsc_code_frac_chars_top_3grams": 0.04253707, "qsc_code_frac_chars_top_4grams": 0.02025575, "qsc_code_frac_chars_dupe_5grams": 0.8...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc...
030/n3dr
internal/app/n3dr/goswagger/client/repository_management/get_repository28_responses.go
// Code generated by go-swagger; DO NOT EDIT. package repository_management // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "fmt" "io" "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" "github.com/030/n3...
3,097
get_repository28_responses
go
en
go
code
{"qsc_code_num_words": 392, "qsc_code_num_chars": 3097.0, "qsc_code_mean_word_length": 6.0127551, "qsc_code_frac_words_unique": 0.33418367, "qsc_code_frac_chars_top_2grams": 0.02333475, "qsc_code_frac_chars_top_3grams": 0.09333899, "qsc_code_frac_chars_top_4grams": 0.04327535, "qsc_code_frac_chars_dupe_5grams": 0.32965...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
030/n3dr
internal/app/n3dr/goswagger/client/repository_management/get_repository17_parameters.go
// Code generated by go-swagger; DO NOT EDIT. package repository_management // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "context" "net/http" "time" "github.com/go-openapi/errors" "github.com/go-openapi/runtime" c...
4,436
get_repository17_parameters
go
en
go
code
{"qsc_code_num_words": 521, "qsc_code_num_chars": 4436.0, "qsc_code_mean_word_length": 6.65834933, "qsc_code_frac_words_unique": 0.2571977, "qsc_code_frac_chars_top_2grams": 0.01902566, "qsc_code_frac_chars_top_3grams": 0.05073508, "qsc_code_frac_chars_top_4grams": 0.05707697, "qsc_code_frac_chars_dupe_5grams": 0.31277...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndHero.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
9,883
WndHero
java
en
java
code
{"qsc_code_num_words": 1126, "qsc_code_num_chars": 9883.0, "qsc_code_mean_word_length": 5.87211368, "qsc_code_frac_words_unique": 0.23712256, "qsc_code_frac_chars_top_2grams": 0.03675136, "qsc_code_frac_chars_top_3grams": 0.12643678, "qsc_code_frac_chars_top_4grams": 0.13974592, "qsc_code_frac_chars_dupe_5grams": 0.320...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/effects/Transmuting.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
3,957
Transmuting
java
en
java
code
{"qsc_code_num_words": 492, "qsc_code_num_chars": 3957.0, "qsc_code_mean_word_length": 5.66869919, "qsc_code_frac_words_unique": 0.31097561, "qsc_code_frac_chars_top_2grams": 0.0258157, "qsc_code_frac_chars_top_3grams": 0.08174973, "qsc_code_frac_chars_top_4grams": 0.07888132, "qsc_code_frac_chars_dupe_5grams": 0.31875...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/effects/TargetedCell.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
1,447
TargetedCell
java
en
java
code
{"qsc_code_num_words": 196, "qsc_code_num_chars": 1447.0, "qsc_code_mean_word_length": 5.38265306, "qsc_code_frac_words_unique": 0.6122449, "qsc_code_frac_chars_top_2grams": 0.03412322, "qsc_code_frac_chars_top_3grams": 0.03696682, "qsc_code_frac_chars_top_4grams": 0.05402844, "qsc_code_frac_chars_dupe_5grams": 0.07772...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
staging/curve_s.py
import matplotlib.pyplot as plt import numpy as np def generate_decay_values(depth: int, reverse: bool = False) -> list: """ Generate a list of S-shaped decaying values from 1.0 to near 0.0 Args: depth (int): Number of values to generate reverse (bool): If True, reverse the order of value...
1,982
curve_s
py
en
python
code
{"qsc_code_num_words": 287, "qsc_code_num_chars": 1982.0, "qsc_code_mean_word_length": 4.22299652, "qsc_code_frac_words_unique": 0.37979094, "qsc_code_frac_chars_top_2grams": 0.05445545, "qsc_code_frac_chars_top_3grams": 0.07838284, "qsc_code_frac_chars_top_4grams": 0.05940594, "qsc_code_frac_chars_dupe_5grams": 0.1435...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
staging/custom_rnn_triton.py
import torch import triton import triton.language as tl @triton.jit def rnn_forward_kernel( # Pointers to matrices x_ptr, h_ptr, w_ih_ptr, w_hh_ptr, bias_ih_ptr, bias_hh_ptr, # Now two bias terms output_ptr, # Matrix dimensions batch_size, seq_len, input_size, hidd...
7,510
custom_rnn_triton
py
en
python
code
{"qsc_code_num_words": 1064, "qsc_code_num_chars": 7510.0, "qsc_code_mean_word_length": 4.05451128, "qsc_code_frac_words_unique": 0.18045113, "qsc_code_frac_chars_top_2grams": 0.04404265, "qsc_code_frac_chars_top_3grams": 0.02503477, "qsc_code_frac_chars_top_4grams": 0.03894298, "qsc_code_frac_chars_dupe_5grams": 0.259...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
staging/test_dashboard.py
#!/usr/bin/env python3 """Test script for dashboard visualization without training.""" import time import random import math from praxis.interface import TerminalDashboard def test_dashboard(): """Run the dashboard with simulated data.""" # Create dashboard dashboard = TerminalDashboard(seed=42, arg_hash...
4,376
test_dashboard
py
en
python
code
{"qsc_code_num_words": 481, "qsc_code_num_chars": 4376.0, "qsc_code_mean_word_length": 4.57380457, "qsc_code_frac_words_unique": 0.34095634, "qsc_code_frac_chars_top_2grams": 0.09545455, "qsc_code_frac_chars_top_3grams": 0.04454545, "qsc_code_frac_chars_top_4grams": 0.01636364, "qsc_code_frac_chars_dupe_5grams": 0.0963...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
staging/lru.py
import math import torch import torch.nn as nn import torch.nn.functional as F class LRU(nn.Module): def __init__( self, in_features, out_features, state_features, rmin=0, rmax=1, max_phase=6.283 ): super().__init__() self.out_features = out_features self.D = nn.Parameter( ...
3,381
lru
py
en
python
code
{"qsc_code_num_words": 448, "qsc_code_num_chars": 3381.0, "qsc_code_mean_word_length": 4.18080357, "qsc_code_frac_words_unique": 0.18303571, "qsc_code_frac_chars_top_2grams": 0.08168713, "qsc_code_frac_chars_top_3grams": 0.05125467, "qsc_code_frac_chars_top_4grams": 0.038441, "qsc_code_frac_chars_dupe_5grams": 0.485317...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
staging/reproduce_bug.py
import time import torch import torch.nn as nn import torch.nn.functional as F from hivemind import DHT from hivemind.moe import ModuleBackend, Server, register_expert_class from hivemind.moe.server.layers import name_to_block from hivemind.utils import BatchTensorDescriptor sample_input = lambda batch_size, hidden_d...
2,191
reproduce_bug
py
en
python
code
{"qsc_code_num_words": 277, "qsc_code_num_chars": 2191.0, "qsc_code_mean_word_length": 5.49458484, "qsc_code_frac_words_unique": 0.37184116, "qsc_code_frac_chars_top_2grams": 0.04730618, "qsc_code_frac_chars_top_3grams": 0.02628121, "qsc_code_frac_chars_top_4grams": 0.11235217, "qsc_code_frac_chars_dupe_5grams": 0.2713...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
staging/invalid_hivemind_decoder.py
import asyncio import os import random import time from pathlib import Path from typing import Optional import hivemind import torch import torch.nn as nn import torch.nn.functional as F from hivemind import DHT from hivemind.moe import ModuleBackend, RemoteExpert, Server, get_experts from hivemind.moe.server import d...
13,395
invalid_hivemind_decoder
py
en
python
code
{"qsc_code_num_words": 1308, "qsc_code_num_chars": 13395.0, "qsc_code_mean_word_length": 4.47247706, "qsc_code_frac_words_unique": 0.54510703, "qsc_code_frac_chars_top_2grams": 0.03076923, "qsc_code_frac_chars_top_3grams": 0.0191453, "qsc_code_frac_chars_top_4grams": 0.02136752, "qsc_code_frac_chars_dupe_5grams": 0.177...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
static/chat.md
# Praxis Chat This is a modern chat interface for interacting with AI models through the Praxis API server. ## Features - Clean, responsive chat interface - Message history with proper conversation context - Settings to change the API endpoint - Support for cross-origin requests with proper error handling - Live-rel...
1,804
chat
md
en
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": 0.25360231, "qsc_doc_num_sentences": 21.0, "qsc_doc_num_words": 274, "qsc_doc_num_chars": 1804.0, "qsc_doc_num_lines": 47.0, "qsc_doc_mean_word_length": 5.2189781, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore...
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_...
01joy/news-search-engine
data/news/2086.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>2086</id><url>http://www.chinanews.com/hr/2020/04-03/9146419.shtml</url><title>驻葡萄牙大使馆提醒中国公民注意疫情风险</title><datetime>2020-4-3 11:01:00</datetime><body> 中新网4月3日电据中国驻葡萄牙大使馆网站消息,日前,中国外交部新公布11个疫情高风险国家,郑重提醒中国公民暂勿前往意大利、美国、西班牙、德国、伊朗、法国、韩国、瑞士、英国、荷兰、奥地利、比利时、挪威、葡萄牙、瑞典、澳大利亚、巴西、土耳其、马来...
658
2086
xml
zh
xml
data
{"qsc_code_num_words": 208, "qsc_code_num_chars": 658.0, "qsc_code_mean_word_length": 2.54807692, "qsc_code_frac_words_unique": 0.74038462, "qsc_code_frac_chars_top_2grams": 0.04528302, "qsc_code_frac_chars_top_3grams": 0.05660377, "qsc_code_frac_chars_top_4grams": 0.06037736, "qsc_code_frac_chars_dupe_5grams": 0.0, "q...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/448.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>448</id><url>http://www.chinanews.com/gn/2020/03-31/9143648.shtml</url><title>【地评线】紫金e评:为复工复产装上“智慧大脑”</title><datetime>2020-3-31 22:51:00</datetime><body> 3月30日,国务院联防联控机制新闻发布会介绍了制造业复工复产的有关情况。目前,全国复工复产有序推进,规模以上工业企业平均开工率达到98.6%。广东、江苏、浙江、山东、福建等工业大省已基本全部开工。中小企业复工率已达到76%,3月份以来...
1,359
448
xml
zh
xml
data
{"qsc_code_num_words": 553, "qsc_code_num_chars": 1359.0, "qsc_code_mean_word_length": 2.01808318, "qsc_code_frac_words_unique": 0.6039783, "qsc_code_frac_chars_top_2grams": 0.03584229, "qsc_code_frac_chars_top_3grams": 0.01792115, "qsc_code_frac_chars_top_4grams": 0.02150538, "qsc_code_frac_chars_dupe_5grams": 0.02688...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/616.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>616</id><url>http://www.chinanews.com/cj/2020/03-31/9143169.shtml</url><title>5G高新视频多场景应用国家广电总局重点实验室落户湖南</title><datetime>2020-3-31 16:21:00</datetime><body> 中新网长沙3月31日电(向一鹏)31日,5G高新视频多场景应用国家广播电视总局重点实验室在位于湖南长沙的马栏山视频文创产业园挂牌。 据悉,该重点实验室是经国家广播电视总局批复同意,唯一面向5G、聚焦高新视频的国家级实验室,由湖...
909
616
xml
zh
xml
data
{"qsc_code_num_words": 369, "qsc_code_num_chars": 909.0, "qsc_code_mean_word_length": 2.11111111, "qsc_code_frac_words_unique": 0.56097561, "qsc_code_frac_chars_top_2grams": 0.02567394, "qsc_code_frac_chars_top_3grams": 0.02567394, "qsc_code_frac_chars_top_4grams": 0.02695764, "qsc_code_frac_chars_dupe_5grams": 0.10397...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
0-5788719150923125/praxis
static/styles.css
/* Praxis Chat - Main Stylesheet */ /* ==================== CSS Variables ==================== */ :root { --primary: #18453B; --primary-light: #0B9A6D; --primary-dark: #18453B; --background: #f9f9f9; --text: #333333; --light-text: #666666; --user-message-bg: #e8f5e9; --assistant-message...
29,394
styles
css
zh
css
data
{"qsc_code_num_words": 3465, "qsc_code_num_chars": 29394.0, "qsc_code_mean_word_length": 4.87070707, "qsc_code_frac_words_unique": 0.13564214, "qsc_code_frac_chars_top_2grams": 0.06043728, "qsc_code_frac_chars_top_3grams": 0.02773005, "qsc_code_frac_chars_top_4grams": 0.02737453, "qsc_code_frac_chars_dupe_5grams": 0.39...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/effects/DarkBlock.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
1,445
DarkBlock
java
en
java
code
{"qsc_code_num_words": 190, "qsc_code_num_chars": 1445.0, "qsc_code_mean_word_length": 5.56315789, "qsc_code_frac_words_unique": 0.58947368, "qsc_code_frac_chars_top_2grams": 0.03122044, "qsc_code_frac_chars_top_3grams": 0.03689688, "qsc_code_frac_chars_top_4grams": 0.05392621, "qsc_code_frac_chars_dupe_5grams": 0.0775...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/effects/ShieldHalo.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
1,935
ShieldHalo
java
en
java
code
{"qsc_code_num_words": 259, "qsc_code_num_chars": 1935.0, "qsc_code_mean_word_length": 5.0965251, "qsc_code_frac_words_unique": 0.54826255, "qsc_code_frac_chars_top_2grams": 0.03409091, "qsc_code_frac_chars_top_3grams": 0.04848485, "qsc_code_frac_chars_top_4grams": 0.04318182, "qsc_code_frac_chars_dupe_5grams": 0.06212...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/effects/BlobEmitter.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
2,053
BlobEmitter
java
en
java
code
{"qsc_code_num_words": 284, "qsc_code_num_chars": 2053.0, "qsc_code_mean_word_length": 5.02112676, "qsc_code_frac_words_unique": 0.47887324, "qsc_code_frac_chars_top_2grams": 0.03786816, "qsc_code_frac_chars_top_3grams": 0.10659187, "qsc_code_frac_chars_top_4grams": 0.03997195, "qsc_code_frac_chars_dupe_5grams": 0.0575...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
01joy/news-search-engine
data/news/404.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>404</id><url>http://www.chinanews.com/sh/2020/03-30/9141501.shtml</url><title>评论:“患者人均治疗费用1.7万”在可承受范围</title><datetime>2020-3-30 01:36:00</datetime><body> 一种说法  “患者人均治疗费用1.7万”在可承受范围 老鹰 新冠肺炎疫情发生以来,患者的救治费用一直是公众关心的问题。治疗新冠肺炎患者的平均费用是多少?这些医疗费用由谁承担?国家医保局医药服务管理司司长熊先军在接受中央纪委国家监委...
1,487
404
xml
zh
xml
data
{"qsc_code_num_words": 667, "qsc_code_num_chars": 1487.0, "qsc_code_mean_word_length": 1.91004498, "qsc_code_frac_words_unique": 0.53073463, "qsc_code_frac_chars_top_2grams": 0.04395604, "qsc_code_frac_chars_top_3grams": 0.03296703, "qsc_code_frac_chars_top_4grams": 0.0188383, "qsc_code_frac_chars_dupe_5grams": 0.04395...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 1, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
0-5788719150923125/praxis
tests/test_ssm.py
import pytest import torch import torch.nn as nn from praxis import PraxisConfig from praxis.blocks.ssm import SSMBlock class TestSSMBlock: """Test suite for SSMBlock implementation.""" @pytest.fixture def config(self): """Create test configuration.""" return PraxisConfig( hi...
6,180
test_ssm
py
en
python
code
{"qsc_code_num_words": 770, "qsc_code_num_chars": 6180.0, "qsc_code_mean_word_length": 4.67532468, "qsc_code_frac_words_unique": 0.22727273, "qsc_code_frac_chars_top_2grams": 0.05, "qsc_code_frac_chars_top_3grams": 0.05777778, "qsc_code_frac_chars_top_4grams": 0.04583333, "qsc_code_frac_chars_dupe_5grams": 0.32194444, ...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
tests/test_builders.py
import pytest from praxis.data.formatters import text_formatter # Define test cases as tuples of (input, expected_output, description) TEST_CASES = [ # Case 1: Basic paragraph separation (should convert) ( "This is the first paragraph.\nThis is the second paragraph with a capital letter.", "Th...
16,154
test_builders
py
en
python
code
{"qsc_code_num_words": 2205, "qsc_code_num_chars": 16154.0, "qsc_code_mean_word_length": 4.89070295, "qsc_code_frac_words_unique": 0.19637188, "qsc_code_frac_chars_top_2grams": 0.03189911, "qsc_code_frac_chars_top_3grams": 0.01038576, "qsc_code_frac_chars_top_4grams": 0.01632047, "qsc_code_frac_chars_dupe_5grams": 0.67...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/effects/BadgeBanner.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
5,154
BadgeBanner
java
en
java
code
{"qsc_code_num_words": 699, "qsc_code_num_chars": 5154.0, "qsc_code_mean_word_length": 4.86409156, "qsc_code_frac_words_unique": 0.30329041, "qsc_code_frac_chars_top_2grams": 0.02647059, "qsc_code_frac_chars_top_3grams": 0.03764706, "qsc_code_frac_chars_top_4grams": 0.02470588, "qsc_code_frac_chars_dupe_5grams": 0.1370...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/effects/GlowBlock.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
1,592
GlowBlock
java
en
java
code
{"qsc_code_num_words": 221, "qsc_code_num_chars": 1592.0, "qsc_code_mean_word_length": 5.239819, "qsc_code_frac_words_unique": 0.58823529, "qsc_code_frac_chars_top_2grams": 0.02849741, "qsc_code_frac_chars_top_3grams": 0.03367876, "qsc_code_frac_chars_top_4grams": 0.0492228, "qsc_code_frac_chars_dupe_5grams": 0.0708117...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
01joy/news-search-engine
data/news/2162.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>2162</id><url>http://www.chinanews.com/gj/2020/04-03/9146176.shtml</url><title>德国确诊超八万人 联邦疾控机构首次建议戴口罩</title><datetime>2020-4-3 07:27:00</datetime><body> (抗击新冠肺炎)德国确诊超八万人联邦疾控机构首次建议戴口罩 中新社柏林4月2日电(记者彭大伟)截至当地时间2日晚,德国累计确诊感染新冠肺炎人数已经突破八万,达83089人。据德媒报道,德国联邦疾控机构罗伯特·科赫研究所当天首次修改了防...
1,004
2162
xml
zh
xml
data
{"qsc_code_num_words": 429, "qsc_code_num_chars": 1004.0, "qsc_code_mean_word_length": 2.004662, "qsc_code_frac_words_unique": 0.63869464, "qsc_code_frac_chars_top_2grams": 0.03255814, "qsc_code_frac_chars_top_3grams": 0.01162791, "qsc_code_frac_chars_top_4grams": 0.01627907, "qsc_code_frac_chars_dupe_5grams": 0.048837...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/1301.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>1301</id><url>http://www.chinanews.com/ga/2020/04-02/9146040.shtml</url><title>香港强制关闭酒吧或酒馆14天 违者可囚6个月 </title><datetime>2020-4-2 22:38:00</datetime><body> (抗击新冠肺炎)香港强制关闭酒吧或酒馆14天违者可囚6个月 中新社香港4月2日电(记者曾平)因应新冠肺炎疫情最新发展,香港特区政府4月2日刊宪,酒吧或酒馆等处所必须关闭14天,违者最高可罚款5万港元及监禁6个月。 香港特区政府食物...
834
1301
xml
zh
xml
data
{"qsc_code_num_words": 362, "qsc_code_num_chars": 834.0, "qsc_code_mean_word_length": 1.9198895, "qsc_code_frac_words_unique": 0.59944751, "qsc_code_frac_chars_top_2grams": 0.02158273, "qsc_code_frac_chars_top_3grams": 0.02877698, "qsc_code_frac_chars_top_4grams": 0.03021583, "qsc_code_frac_chars_dupe_5grams": 0.165467...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 1, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/2104.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>2104</id><url>http://www.chinanews.com/sh/2020/04-03/9146378.shtml</url><title>清明节期间攀西地区仍无明显降水 需严防森林火灾</title><datetime>2020-4-3 10:37:00</datetime><body> 警惕!清明节期间攀西地区仍没有明显降水需严防森林火灾 四川在线消息(记者寇敏芳)4月3日,记者从全省森林草原防灭火工作视频调度会获悉,清明节期间,盆地各市有一次小雨过程,川西高原南部和攀西地区仍没有明显降水,森林火险等级仍然比较高,...
729
2104
xml
zh
xml
data
{"qsc_code_num_words": 290, "qsc_code_num_chars": 729.0, "qsc_code_mean_word_length": 2.05172414, "qsc_code_frac_words_unique": 0.57931034, "qsc_code_frac_chars_top_2grams": 0.04705882, "qsc_code_frac_chars_top_3grams": 0.03361345, "qsc_code_frac_chars_top_4grams": 0.04537815, "qsc_code_frac_chars_dupe_5grams": 0.14117...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
0-5788719150923125/praxis
staging/causal_vae.py
import random from typing import List, Optional, Tuple import torch import torch.nn as nn import torch.nn.functional as F from transformers import AutoConfig class ScaledTanh(nn.Module): """Scaled tanh activation for better gradient flow.""" def __init__(self, scale=1.0): super().__init__() ...
14,582
causal_vae
py
en
python
code
{"qsc_code_num_words": 1803, "qsc_code_num_chars": 14582.0, "qsc_code_mean_word_length": 4.64614531, "qsc_code_frac_words_unique": 0.16860788, "qsc_code_frac_chars_top_2grams": 0.03282798, "qsc_code_frac_chars_top_3grams": 0.02005491, "qsc_code_frac_chars_top_4grams": 0.02506864, "qsc_code_frac_chars_dupe_5grams": 0.26...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
01joy/news-search-engine
data/news/1809.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>1809</id><url>http://www.chinanews.com/cj/2020/04-03/9147095.shtml</url><title>广铁今年已开行复工列车100趟 共运送7万余名返岗复工人员</title><datetime>2020-4-3 21:18:00</datetime><body> 中新网长沙4月3日电(通讯员徐婧)4月3日8时36分,广铁集团长沙客运段值乘的G4802次列车载着425名务工人员从咸宁北站开出,于当日14时24分抵达北京西站,这是广铁集团今年组织开行的第100趟复工列车。 据广铁集团...
621
1809
xml
zh
xml
data
{"qsc_code_num_words": 237, "qsc_code_num_chars": 621.0, "qsc_code_mean_word_length": 2.15611814, "qsc_code_frac_words_unique": 0.65822785, "qsc_code_frac_chars_top_2grams": 0.03913894, "qsc_code_frac_chars_top_3grams": 0.03522505, "qsc_code_frac_chars_top_4grams": 0.01956947, "qsc_code_frac_chars_dupe_5grams": 0.05479...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
030/n3dr
internal/app/n3dr/goswagger/client/routing_rules/create_routing_rule_parameters.go
// Code generated by go-swagger; DO NOT EDIT. package routing_rules // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "context" "net/http" "time" "github.com/go-openapi/errors" "github.com/go-openapi/runtime" cr "githu...
4,495
create_routing_rule_parameters
go
en
go
code
{"qsc_code_num_words": 537, "qsc_code_num_chars": 4495.0, "qsc_code_mean_word_length": 6.5027933, "qsc_code_frac_words_unique": 0.25698324, "qsc_code_frac_chars_top_2grams": 0.03780069, "qsc_code_frac_chars_top_3grams": 0.05040092, "qsc_code_frac_chars_top_4grams": 0.06300115, "qsc_code_frac_chars_dupe_5grams": 0.31872...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
030/n3dr
internal/app/n3dr/goswagger/client/routing_rules/delete_routing_rule_responses.go
// Code generated by go-swagger; DO NOT EDIT. package routing_rules // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "fmt" "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" ) // DeleteRoutingRuleReader is a...
6,991
delete_routing_rule_responses
go
en
go
code
{"qsc_code_num_words": 825, "qsc_code_num_chars": 6991.0, "qsc_code_mean_word_length": 6.6230303, "qsc_code_frac_words_unique": 0.15030303, "qsc_code_frac_chars_top_2grams": 0.02562225, "qsc_code_frac_chars_top_3grams": 0.05600293, "qsc_code_frac_chars_top_4grams": 0.05215959, "qsc_code_frac_chars_dupe_5grams": 0.67057...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
030/n3dr
internal/app/n3dr/goswagger/client/routing_rules/routing_rules_client.go
// Code generated by go-swagger; DO NOT EDIT. package routing_rules // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "fmt" "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" ) // New creates a new routing ru...
7,992
routing_rules_client
go
en
go
code
{"qsc_code_num_words": 846, "qsc_code_num_chars": 7992.0, "qsc_code_mean_word_length": 6.55200946, "qsc_code_frac_words_unique": 0.1749409, "qsc_code_frac_chars_top_2grams": 0.02886524, "qsc_code_frac_chars_top_3grams": 0.03788562, "qsc_code_frac_chars_top_4grams": 0.01804077, "qsc_code_frac_chars_dupe_5grams": 0.73642...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 1, "qsc...
030/n3dr
internal/app/n3dr/goswagger/client/status/status_client.go
// Code generated by go-swagger; DO NOT EDIT. package status // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "fmt" "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" ) // New creates a new status API client...
5,188
status_client
go
en
go
code
{"qsc_code_num_words": 574, "qsc_code_num_chars": 5188.0, "qsc_code_mean_word_length": 6.30487805, "qsc_code_frac_words_unique": 0.25087108, "qsc_code_frac_chars_top_2grams": 0.02652666, "qsc_code_frac_chars_top_3grams": 0.03481625, "qsc_code_frac_chars_top_4grams": 0.019895, "qsc_code_frac_chars_dupe_5grams": 0.680022...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
staging/causal_vae_1.py
from dataclasses import dataclass from typing import List, Optional, Tuple import numpy as np import torch import torch.nn as nn import torch.nn.functional as F class MaskLayer(nn.Module): def __init__(self, z_dim: int, concept: int = 4, z2_dim: int = 4): super().__init__() self.z_dim = z_dim ...
14,141
causal_vae_1
py
en
python
code
{"qsc_code_num_words": 1847, "qsc_code_num_chars": 14141.0, "qsc_code_mean_word_length": 4.22577152, "qsc_code_frac_words_unique": 0.16783974, "qsc_code_frac_chars_top_2grams": 0.05778347, "qsc_code_frac_chars_top_3grams": 0.01998719, "qsc_code_frac_chars_top_4grams": 0.02498398, "qsc_code_frac_chars_dupe_5grams": 0.25...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
05nelsonm/kmp-process
test-api/src/jsTest/kotlin/io/matthewnelson/kmp/process/test/api/JsTestPlatform.kt
/* * Copyright (c) 2024 Matthew Nelson * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
1,044
JsTestPlatform
kt
en
kotlin
code
{"qsc_code_num_words": 145, "qsc_code_num_chars": 1044.0, "qsc_code_mean_word_length": 5.5862069, "qsc_code_frac_words_unique": 0.62758621, "qsc_code_frac_chars_top_2grams": 0.07407407, "qsc_code_frac_chars_top_3grams": 0.06666667, "qsc_code_frac_chars_top_4grams": 0.03950617, "qsc_code_frac_chars_dupe_5grams": 0.06666...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
tests/test_blocks.py
import itertools from enum import Enum from typing import List import pytest import torch from praxis import PraxisConfig from praxis.blocks import BLOCK_REGISTRY MODULE_CLASSES = list(BLOCK_REGISTRY.keys()) MODULE_CLASSES.remove("mru") # Define test parameters in a more structured way TEST_PARAMS = { "hidden_s...
1,916
test_blocks
py
en
python
code
{"qsc_code_num_words": 248, "qsc_code_num_chars": 1916.0, "qsc_code_mean_word_length": 5.34274194, "qsc_code_frac_words_unique": 0.4233871, "qsc_code_frac_chars_top_2grams": 0.04226415, "qsc_code_frac_chars_top_3grams": 0.04830189, "qsc_code_frac_chars_top_4grams": 0.04754717, "qsc_code_frac_chars_dupe_5grams": 0.05433...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
01joy/news-search-engine
data/news/1580.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>1580</id><url>http://www.chinanews.com/gn/2020/04-02/9145358.shtml</url><title>海外疫情蔓延多少留学生确诊?是否建议回国?官方释疑</title><datetime>2020-4-2 13:59:00</datetime><body> 中新经纬客户端4月2日电2日上午,国新办就疫情期间中国海外留学人员安全问题举行发布会,外交部、教育部、卫健委、民航局四部门对热点问题一一回应。 截至3月底中国在外留学生共36名确诊 教育部副部长田学军称,根据我驻外使领馆报回的...
1,459
1580
xml
zh
xml
data
{"qsc_code_num_words": 612, "qsc_code_num_chars": 1459.0, "qsc_code_mean_word_length": 2.05718954, "qsc_code_frac_words_unique": 0.61928105, "qsc_code_frac_chars_top_2grams": 0.01906275, "qsc_code_frac_chars_top_3grams": 0.01429706, "qsc_code_frac_chars_top_4grams": 0.01429706, "qsc_code_frac_chars_dupe_5grams": 0.0, "...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/640.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>640</id><url>http://www.chinanews.com/sh/2020/03-31/9143105.shtml</url><title>两名新冠肺炎康复者撕扯医务人员被拘留 </title><datetime>2020-3-31 14:57:00</datetime><body> 新华社武汉3月31日电(记者梁建强)记者31日从湖北省公安机关获悉,两名新冠肺炎康复者与湖北省汉川市人民医院一名CT室医生发生纠纷,并撕扯医生致其受伤,两名打人者目前已被依法行政拘留。 据了解,3月27日14时39分,汉川市公安局110指挥...
585
640
xml
zh
xml
data
{"qsc_code_num_words": 213, "qsc_code_num_chars": 585.0, "qsc_code_mean_word_length": 2.24882629, "qsc_code_frac_words_unique": 0.6056338, "qsc_code_frac_chars_top_2grams": 0.03340292, "qsc_code_frac_chars_top_3grams": 0.04384134, "qsc_code_frac_chars_top_4grams": 0.03757829, "qsc_code_frac_chars_dupe_5grams": 0.116910...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/scenes/ChangesScene.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
12,531
ChangesScene
java
en
java
code
{"qsc_code_num_words": 1476, "qsc_code_num_chars": 12531.0, "qsc_code_mean_word_length": 5.89430894, "qsc_code_frac_words_unique": 0.1802168, "qsc_code_frac_chars_top_2grams": 0.0362069, "qsc_code_frac_chars_top_3grams": 0.12666667, "qsc_code_frac_chars_top_4grams": 0.1416092, "qsc_code_frac_chars_dupe_5grams": 0.40390...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
01joy/news-search-engine
data/news/773.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>773</id><url>http://www.chinanews.com/ty/2020/03-31/9142702.shtml</url><title>大闹隔离酒店后 CBA南京同曦外援公开道歉并捐赠防疫物资</title><datetime>2020-3-31 08:55:00</datetime><body> 大闹隔离酒店后,同曦外援公开道歉并捐赠防疫物资 新京报讯(记者刘晨)今日有留学生爆料称,CBA南京同曦队外援约瑟夫·杨凌晨3点大闹隔离酒店,不听劝阻要出门取外卖。今晚,同曦俱乐部官方发出了杨就此事致歉的视频。 杨已于上周...
762
773
xml
zh
xml
data
{"qsc_code_num_words": 322, "qsc_code_num_chars": 762.0, "qsc_code_mean_word_length": 1.97515528, "qsc_code_frac_words_unique": 0.63043478, "qsc_code_frac_chars_top_2grams": 0.03144654, "qsc_code_frac_chars_top_3grams": 0.01886792, "qsc_code_frac_chars_top_4grams": 0.02201258, "qsc_code_frac_chars_dupe_5grams": 0.04716...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 1, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/1149.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>1149</id><url>http://www.chinanews.com/cj/2020/04-01/9144129.shtml</url><title>安徽稳外贸及时退税 已累计办理出口退(免)税60.13亿元</title><datetime>2020-4-1 13:26:00</datetime><body> (抗击新冠肺炎)安徽稳外贸及时退税已累计办理出口退(免)税60.13亿元 中新网合肥4月1日电(记者吴兰)记者1日从安徽省政府新闻办举行的新闻发布会上获悉,为最大限度减轻新冠肺炎疫情造成的冲击,安徽采取多举措稳定外贸基本...
818
1149
xml
zh
xml
data
{"qsc_code_num_words": 327, "qsc_code_num_chars": 818.0, "qsc_code_mean_word_length": 2.05810398, "qsc_code_frac_words_unique": 0.58715596, "qsc_code_frac_chars_top_2grams": 0.02228826, "qsc_code_frac_chars_top_3grams": 0.02971768, "qsc_code_frac_chars_top_4grams": 0.04160475, "qsc_code_frac_chars_dupe_5grams": 0.13372...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/549.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>549</id><url>http://www.chinanews.com/cj/2020/03-31/9143417.shtml</url><title>福建莆田蔬菜时隔6年恢复出口</title><datetime>2020-3-31 19:13:00</datetime><body> 中新网福州3月31日电(林新寨叶秋云)“多亏莆田海关的帮助,不然今年的蔬菜都得烂在地里了。”面对着700多亩甘蓝菜地,福建省莆田市华林蔬菜有限公司总经理林乘风如是表示。 新冠肺炎疫情发生以来,莆田一些蔬菜种植企业的国内订单、物流均受到不同程度冲击,原...
756
549
xml
zh
xml
data
{"qsc_code_num_words": 299, "qsc_code_num_chars": 756.0, "qsc_code_mean_word_length": 2.07692308, "qsc_code_frac_words_unique": 0.71906355, "qsc_code_frac_chars_top_2grams": 0.03220612, "qsc_code_frac_chars_top_3grams": 0.02254428, "qsc_code_frac_chars_top_4grams": 0.03542673, "qsc_code_frac_chars_dupe_5grams": 0.0, "q...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/594.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>594</id><url>http://www.chinanews.com/ga/2020/03-31/9143287.shtml</url><title>林郑月娥:对违反检疫令行为零容忍</title><datetime>2020-3-31 17:00:00</datetime><body> 新华社香港3月31日电香港特区行政长官林郑月娥31日表示,《外国地区到港人士强制检疫规例》生效后有多人违反检疫令,特区政府对有关人士采取零容忍政策,会竭力追捕并把他们送往封闭式检疫中心,然后提出检控。 林郑月娥当日出席行政会议前会见传媒时指出,新...
614
594
xml
zh
xml
data
{"qsc_code_num_words": 250, "qsc_code_num_chars": 614.0, "qsc_code_mean_word_length": 2.048, "qsc_code_frac_words_unique": 0.652, "qsc_code_frac_chars_top_2grams": 0.02929688, "qsc_code_frac_chars_top_3grams": 0.0390625, "qsc_code_frac_chars_top_4grams": 0.0234375, "qsc_code_frac_chars_dupe_5grams": 0.0859375, "qsc_cod...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/effects/Splash.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
3,781
Splash
java
en
java
code
{"qsc_code_num_words": 513, "qsc_code_num_chars": 3781.0, "qsc_code_mean_word_length": 5.09161793, "qsc_code_frac_words_unique": 0.31968811, "qsc_code_frac_chars_top_2grams": 0.03981623, "qsc_code_frac_chars_top_3grams": 0.03062787, "qsc_code_frac_chars_top_4grams": 0.03062787, "qsc_code_frac_chars_dupe_5grams": 0.4800...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
05nelsonm/kmp-process
test-api/src/wasmJsTest/kotlin/io/matthewnelson/kmp/process/test/api/WasmJsTestPlatform.kt
/* * Copyright (c) 2024 Matthew Nelson * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
1,044
WasmJsTestPlatform
kt
en
kotlin
code
{"qsc_code_num_words": 145, "qsc_code_num_chars": 1044.0, "qsc_code_mean_word_length": 5.5862069, "qsc_code_frac_words_unique": 0.62758621, "qsc_code_frac_chars_top_2grams": 0.07407407, "qsc_code_frac_chars_top_3grams": 0.06666667, "qsc_code_frac_chars_top_4grams": 0.03950617, "qsc_code_frac_chars_dupe_5grams": 0.06666...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
01joy/news-search-engine
data/news/2439.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>2439</id><url>http://www.chinanews.com/gn/2020/04-04/9147365.shtml</url><title>人民日报海外版:海外游子,祖国和你们命运与共</title><datetime>2020-4-4 03:54:00</datetime><body> 海外游子,祖国和你们命运与共(望海楼) 新冠肺炎疫情在全球蔓延。身在异国他乡的侨胞,面临严峻的疫情防控形势。中共中央总书记习近平日前强调,要加强对境外我国公民疫情防控的指导和支持,做好各项工作,保护他们的生命安全和身体健康。连日来,源...
1,214
2439
xml
zh
xml
data
{"qsc_code_num_words": 483, "qsc_code_num_chars": 1214.0, "qsc_code_mean_word_length": 2.10559006, "qsc_code_frac_words_unique": 0.71635611, "qsc_code_frac_chars_top_2grams": 0.01179941, "qsc_code_frac_chars_top_3grams": 0.01179941, "qsc_code_frac_chars_top_4grams": 0.01376598, "qsc_code_frac_chars_dupe_5grams": 0.0255...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/505.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>505</id><url>http://www.chinanews.com/gn/2020/03-31/9143532.shtml</url><title>李克强同爱尔兰总理瓦拉德卡通电话</title><datetime>2020-3-31 20:23:00</datetime><body> 新华社北京3月31日电国务院总理李克强3月31日下午应约同爱尔兰总理瓦拉德卡通电话。 李克强表示,当前新冠肺炎疫情在多国蔓延,爱尔兰也受到疫情冲击。中方坚定支持爱方抗击疫情的努力,愿在力所能及范围内向爱方提供必要帮助,为爱方从中国采购和运输医疗物...
613
505
xml
zh
xml
data
{"qsc_code_num_words": 232, "qsc_code_num_chars": 613.0, "qsc_code_mean_word_length": 2.22413793, "qsc_code_frac_words_unique": 0.61206897, "qsc_code_frac_chars_top_2grams": 0.03100775, "qsc_code_frac_chars_top_3grams": 0.02325581, "qsc_code_frac_chars_top_4grams": 0.03100775, "qsc_code_frac_chars_dupe_5grams": 0.05038...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/2155.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>2155</id><url>http://www.chinanews.com/gn/2020/04-03/9146192.shtml</url><title>上海新增4例境外输入性新冠肺炎确诊病例</title><datetime>2020-4-3 08:19:00</datetime><body> 中新网4月3日电据上海市卫生健康委员会官方微博消息,4月2日0—24时,上海通过口岸联防联控机制,报告4例境外输入性新冠肺炎确诊病例。 病例1为中国籍,在俄罗斯工作,3月27日自俄罗斯出发,3月28日抵达上海浦东国际机场,入关后即被隔离观察...
934
2155
xml
zh
xml
data
{"qsc_code_num_words": 395, "qsc_code_num_chars": 934.0, "qsc_code_mean_word_length": 1.98227848, "qsc_code_frac_words_unique": 0.39493671, "qsc_code_frac_chars_top_2grams": 0.05108557, "qsc_code_frac_chars_top_3grams": 0.01915709, "qsc_code_frac_chars_top_4grams": 0.02554278, "qsc_code_frac_chars_dupe_5grams": 0.51851...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 1, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/713.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>713</id><url>http://www.chinanews.com/gn/2020/03-31/9142904.shtml</url><title>上海基层防疫期为高校应届毕业生高质量就业搭建“云聘”平台</title><datetime>2020-3-31 11:36:00</datetime><body> 新华社上海3月30日电(记者李荣)作为囯家双创示范基地的上海市杨浦区,30日启动人才“云聘会”,在防疫期为高校应届毕业生高质量就业及吸引高层次人才搭建“云聘”平台,以此探索“不见面”引才的长效常态机制。 据了解,此次“云聘...
914
713
xml
zh
xml
data
{"qsc_code_num_words": 352, "qsc_code_num_chars": 914.0, "qsc_code_mean_word_length": 2.17897727, "qsc_code_frac_words_unique": 0.69602273, "qsc_code_frac_chars_top_2grams": 0.01955671, "qsc_code_frac_chars_top_3grams": 0.01564537, "qsc_code_frac_chars_top_4grams": 0.0208605, "qsc_code_frac_chars_dupe_5grams": 0.041720...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
0-5788719150923125/praxis
staging/diff_po.py
import math import torch import torch.nn as nn import torch.nn.functional as F class MLP(nn.Module): def __init__(self, input_dim=180, hidden_dim=100, output_dim=180): super(MLP, self).__init__() self.fc1 = nn.Linear(input_dim, 256) self.fc2 = nn.Linear(256, 128) self.fc3 = nn.Lin...
8,823
diff_po
py
en
python
code
{"qsc_code_num_words": 1123, "qsc_code_num_chars": 8823.0, "qsc_code_mean_word_length": 4.43276937, "qsc_code_frac_words_unique": 0.18878005, "qsc_code_frac_chars_top_2grams": 0.03234231, "qsc_code_frac_chars_top_3grams": 0.02611491, "qsc_code_frac_chars_top_4grams": 0.02390518, "qsc_code_frac_chars_dupe_5grams": 0.253...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
staging/scatter_1.py
import math from typing import Optional, Tuple, TypeVar import torch import torch.nn as nn from praxis.activations import ACT2CLS, ACT2FN ConfigType = TypeVar("ConfigType", bound="AutoConfig") class PraxisScatter(nn.Module): def __init__( self, config: ConfigType, activation=None, ...
5,210
scatter_1
py
en
python
code
{"qsc_code_num_words": 690, "qsc_code_num_chars": 5210.0, "qsc_code_mean_word_length": 4.61304348, "qsc_code_frac_words_unique": 0.22028986, "qsc_code_frac_chars_top_2grams": 0.0395853, "qsc_code_frac_chars_top_3grams": 0.04084197, "qsc_code_frac_chars_top_4grams": 0.02450518, "qsc_code_frac_chars_dupe_5grams": 0.23122...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
01joy/news-search-engine
data/news/511.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>511</id><url>http://www.chinanews.com/cj/2020/03-31/9143517.shtml</url><title>张北至雄安特高压工程绿色复工</title><datetime>2020-3-31 20:08:00</datetime><body> 新华社北京3月31日电(记者王立彬)作为雄安新区重大能源保障工程,张北至雄安特高压工程目前全面复工。这一工程穿越众多景区矿区,坚持绿色施工,预计8月底竣工。 记者31日从此间获悉,张北至雄安特高压工程是提升张家口地区可再生能源送出消纳能力、保障雄安新...
707
511
xml
zh
xml
data
{"qsc_code_num_words": 274, "qsc_code_num_chars": 707.0, "qsc_code_mean_word_length": 2.15693431, "qsc_code_frac_words_unique": 0.74087591, "qsc_code_frac_chars_top_2grams": 0.02538071, "qsc_code_frac_chars_top_3grams": 0.04060914, "qsc_code_frac_chars_top_4grams": 0.05076142, "qsc_code_frac_chars_dupe_5grams": 0.0, "q...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/317.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>317</id><url>http://www.chinanews.com/gn/2020/03-30/9141706.shtml</url><title>珠江流域提早4天入汛</title><datetime>2020-3-30 10:07:00</datetime><body> 广州日报讯(全媒体记者关家玉通讯员吴怡蓉、徐爽、陈学秋)记者昨日获悉,3月28日,珠江流域正式进入汛期,较多年平均入汛日期(4月1日)提早4天。 3月25日以来,流域中北部地区出现较强降雨过程,累积降雨量25-50毫米,其中桂江下游、贺江中游、北江中游等地1...
1,033
317
xml
zh
xml
data
{"qsc_code_num_words": 425, "qsc_code_num_chars": 1033.0, "qsc_code_mean_word_length": 2.04705882, "qsc_code_frac_words_unique": 0.60470588, "qsc_code_frac_chars_top_2grams": 0.02068966, "qsc_code_frac_chars_top_3grams": 0.0137931, "qsc_code_frac_chars_top_4grams": 0.01724138, "qsc_code_frac_chars_dupe_5grams": 0.0, "q...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
0-5788719150923125/praxis
tests/test_dense.py
from itertools import product import pytest import torch from praxis.dense import DENSE_REGISTRY # Define test parameters MODULE_CLASSES = list(DENSE_REGISTRY.values()) HIDDEN_SIZES = [64, 256] # Create parameter combinations MODULE_PARAMS = list(product(MODULE_CLASSES, HIDDEN_SIZES)) @pytest.fixture(params=MODUL...
1,176
test_dense
py
en
python
code
{"qsc_code_num_words": 152, "qsc_code_num_chars": 1176.0, "qsc_code_mean_word_length": 5.5, "qsc_code_frac_words_unique": 0.46052632, "qsc_code_frac_chars_top_2grams": 0.09569378, "qsc_code_frac_chars_top_3grams": 0.05741627, "qsc_code_frac_chars_top_4grams": 0.03588517, "qsc_code_frac_chars_dupe_5grams": 0.05980861, "...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
tests/test_attention.py
import itertools from enum import Enum from typing import Dict, List, NamedTuple import pytest import torch from praxis import PraxisConfig from praxis.attention import ATTENTION_REGISTRY from praxis.encoding import ENCODING_REGISTRY MODULE_CLASSES = list(ATTENTION_REGISTRY.values()) class AttentionMode(Enum): ...
4,059
test_attention
py
en
python
code
{"qsc_code_num_words": 465, "qsc_code_num_chars": 4059.0, "qsc_code_mean_word_length": 5.64946237, "qsc_code_frac_words_unique": 0.27526882, "qsc_code_frac_chars_top_2grams": 0.10277884, "qsc_code_frac_chars_top_3grams": 0.02436239, "qsc_code_frac_chars_top_4grams": 0.03502094, "qsc_code_frac_chars_dupe_5grams": 0.0761...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
tests/test_smear_integration.py
"""Test SMEAR integration with sequential decoder and multiple experts.""" import pytest import torch import torch.nn as nn from dataclasses import dataclass from typing import Optional from praxis.decoders import DECODER_REGISTRY from praxis.containers import LossContainer @dataclass class MockConfig: """Mock ...
5,947
test_smear_integration
py
en
python
code
{"qsc_code_num_words": 713, "qsc_code_num_chars": 5947.0, "qsc_code_mean_word_length": 5.29593268, "qsc_code_frac_words_unique": 0.25666199, "qsc_code_frac_chars_top_2grams": 0.04131356, "qsc_code_frac_chars_top_3grams": 0.03495763, "qsc_code_frac_chars_top_4grams": 0.05084746, "qsc_code_frac_chars_dupe_5grams": 0.3093...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
01joy/news-search-engine
data/news/389.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>389</id><url>http://www.chinanews.com/gn/2020/03-30/9141541.shtml</url><title>人民日报海外版:人民才是真正的英雄</title><datetime>2020-3-30 03:56:00</datetime><body> 人民才是真正的英雄(望海楼) 突如其来的新冠肺炎疫情,给中国人民带来了一场大难,更带来一场大考。 几个月来,14亿中国人民同舟共济,众志成城,同疫情进行顽强斗争,打响了一场抗击疫情的人民战争。时至今日,阴霾渐散,春暖花开,疫情防控取得阶段性重...
1,414
389
xml
zh
xml
data
{"qsc_code_num_words": 586, "qsc_code_num_chars": 1414.0, "qsc_code_mean_word_length": 2.03071672, "qsc_code_frac_words_unique": 0.58703072, "qsc_code_frac_chars_top_2grams": 0.01512605, "qsc_code_frac_chars_top_3grams": 0.01680672, "qsc_code_frac_chars_top_4grams": 0.02521008, "qsc_code_frac_chars_dupe_5grams": 0.0361...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/effects/Enchanting.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
2,721
Enchanting
java
en
java
code
{"qsc_code_num_words": 361, "qsc_code_num_chars": 2721.0, "qsc_code_mean_word_length": 5.05817175, "qsc_code_frac_words_unique": 0.41551247, "qsc_code_frac_chars_top_2grams": 0.01971522, "qsc_code_frac_chars_top_3grams": 0.08324206, "qsc_code_frac_chars_top_4grams": 0.05038335, "qsc_code_frac_chars_dupe_5grams": 0.1270...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/effects/FloatingText.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
18,277
FloatingText
java
en
java
code
{"qsc_code_num_words": 2228, "qsc_code_num_chars": 18277.0, "qsc_code_mean_word_length": 5.747307, "qsc_code_frac_words_unique": 0.20915619, "qsc_code_frac_chars_top_2grams": 0.05154237, "qsc_code_frac_chars_top_3grams": 0.05739945, "qsc_code_frac_chars_top_4grams": 0.10652089, "qsc_code_frac_chars_dupe_5grams": 0.4756...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
staging/test_persona_builder.py
#!/usr/bin/env python3 """Quick test script for persona-chat builder format.""" import argparse import os import random import sys import time import pytest from datasets import load_dataset from transformers import AutoTokenizer from praxis import PraxisConfig sys.path.insert(0, os.path.abspath(os.path.join(os.pat...
2,689
test_persona_builder
py
en
python
code
{"qsc_code_num_words": 371, "qsc_code_num_chars": 2689.0, "qsc_code_mean_word_length": 5.11051213, "qsc_code_frac_words_unique": 0.42587601, "qsc_code_frac_chars_top_2grams": 0.03164557, "qsc_code_frac_chars_top_3grams": 0.01265823, "qsc_code_frac_chars_top_4grams": 0.02056962, "qsc_code_frac_chars_dupe_5grams": 0.0316...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
staging/episodic_memory.py
import math from typing import List, Optional, Tuple import numpy as np import torch import torch.nn as nn import torch.nn.functional as F class SelfAttention(nn.Module): def __init__( self, embed_dim: int = 256, num_heads: int = 8, dropout: float = 0.1, **kwargs ): super().__init__() ...
25,608
episodic_memory
py
en
python
code
{"qsc_code_num_words": 3020, "qsc_code_num_chars": 25608.0, "qsc_code_mean_word_length": 4.94337748, "qsc_code_frac_words_unique": 0.12615894, "qsc_code_frac_chars_top_2grams": 0.03751088, "qsc_code_frac_chars_top_3grams": 0.0168799, "qsc_code_frac_chars_top_4grams": 0.02170273, "qsc_code_frac_chars_dupe_5grams": 0.286...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
staging/single_head_gated_attn.py
import math import torch import torch.nn as nn import torch.nn.functional as F class SingleHeadGatedAttention(nn.Module): """ According to MEGA, "Single-head gated attention has been empirically shown [to be] as performant as vanilla multi-head attention." https://arxiv.org/abs/2209.10655 """ ...
4,115
single_head_gated_attn
py
en
python
code
{"qsc_code_num_words": 562, "qsc_code_num_chars": 4115.0, "qsc_code_mean_word_length": 4.30604982, "qsc_code_frac_words_unique": 0.27046263, "qsc_code_frac_chars_top_2grams": 0.0661157, "qsc_code_frac_chars_top_3grams": 0.03181818, "qsc_code_frac_chars_top_4grams": 0.03305785, "qsc_code_frac_chars_dupe_5grams": 0.19173...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
staging/aaren.py
import torch import torch.nn as nn import torch.nn.functional as F def stable_scan_attention(scores, values, mask=None): """ Numerically stable, vectorized implementation of attention using parallel scan. Based on paper's formulation of prefix computation. """ batch_size, seq_len, num_heads, dim =...
3,430
aaren
py
en
python
code
{"qsc_code_num_words": 468, "qsc_code_num_chars": 3430.0, "qsc_code_mean_word_length": 4.32905983, "qsc_code_frac_words_unique": 0.36111111, "qsc_code_frac_chars_top_2grams": 0.03109576, "qsc_code_frac_chars_top_3grams": 0.03553801, "qsc_code_frac_chars_top_4grams": 0.04442251, "qsc_code_frac_chars_dupe_5grams": 0.0414...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0-5788719150923125/praxis
staging/vae.py
import random from typing import Tuple import torch import torch.nn as nn import torch.nn.functional as F from transformers import AutoConfig class PraxisVAE(nn.Module): """ A flexible Variational Autoencoder implementation with β-VAE support. Handles 3D inputs of shape [batch_size, seq_len, num_features...
9,695
vae
py
en
python
code
{"qsc_code_num_words": 1189, "qsc_code_num_chars": 9695.0, "qsc_code_mean_word_length": 4.67283431, "qsc_code_frac_words_unique": 0.20857864, "qsc_code_frac_chars_top_2grams": 0.02447804, "qsc_code_frac_chars_top_3grams": 0.04589633, "qsc_code_frac_chars_top_4grams": 0.01889849, "qsc_code_frac_chars_dupe_5grams": 0.238...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
05nelsonm/kmp-process
library/process/src/commonMain/kotlin/io/matthewnelson/kmp/process/internal/-CommonPlatform.kt
/* * Copyright (c) 2024 Matthew Nelson * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
2,797
-CommonPlatform
kt
en
kotlin
code
{"qsc_code_num_words": 309, "qsc_code_num_chars": 2797.0, "qsc_code_mean_word_length": 5.80582524, "qsc_code_frac_words_unique": 0.43365696, "qsc_code_frac_chars_top_2grams": 0.03344482, "qsc_code_frac_chars_top_3grams": 0.04013378, "qsc_code_frac_chars_top_4grams": 0.04180602, "qsc_code_frac_chars_dupe_5grams": 0.1226...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
05nelsonm/kmp-process
library/process/src/commonMain/kotlin/io/matthewnelson/kmp/process/internal/-Condition.kt
/* * Copyright (c) 2025 Matthew Nelson * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
2,398
-Condition
kt
en
kotlin
code
{"qsc_code_num_words": 266, "qsc_code_num_chars": 2398.0, "qsc_code_mean_word_length": 6.43609023, "qsc_code_frac_words_unique": 0.46992481, "qsc_code_frac_chars_top_2grams": 0.05607477, "qsc_code_frac_chars_top_3grams": 0.03738318, "qsc_code_frac_chars_top_4grams": 0.04205607, "qsc_code_frac_chars_dupe_5grams": 0.2996...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
05nelsonm/kmp-process
library/process/src/commonMain/kotlin/io/matthewnelson/kmp/process/internal/-RealLineOutputFeed.kt
/* * Copyright (c) 2024 Matthew Nelson * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
3,213
-RealLineOutputFeed
kt
en
kotlin
code
{"qsc_code_num_words": 341, "qsc_code_num_chars": 3213.0, "qsc_code_mean_word_length": 5.46041056, "qsc_code_frac_words_unique": 0.49266862, "qsc_code_frac_chars_top_2grams": 0.03222342, "qsc_code_frac_chars_top_3grams": 0.01396348, "qsc_code_frac_chars_top_4grams": 0.01718582, "qsc_code_frac_chars_dupe_5grams": 0.0, "...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
05sec/Cardinal
.github/workflows/codeql.yml
name: "Code Scanning - Action" on: push: branches: [ master ] paths: - '**.go' - 'go.mod' - '.github/workflows/codeql.yml' pull_request: paths: - '**.go' - 'go.mod' - '.github/workflows/codeql.yml' schedule: # ┌───────────── minute (0 - 59) # ...
1,200
codeql
yml
en
yaml
data
{"qsc_code_num_words": 151, "qsc_code_num_chars": 1200.0, "qsc_code_mean_word_length": 4.37086093, "qsc_code_frac_words_unique": 0.49006623, "qsc_code_frac_chars_top_2grams": 0.06060606, "qsc_code_frac_chars_top_3grams": 0.07272727, "qsc_code_frac_chars_top_4grams": 0.07878788, "qsc_code_frac_chars_dupe_5grams": 0.2045...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
05sec/Cardinal
.github/workflows/go.yml
name: Go on: push: branches: [ master ] paths: - '**.go' pull_request: paths: - '**.go' env: GOPROXY: "https://proxy.golang.org" jobs: lint: name: Lint runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Run golangci-lint uses: golangci/gola...
2,016
go
yml
en
yaml
data
{"qsc_code_num_words": 214, "qsc_code_num_chars": 2016.0, "qsc_code_mean_word_length": 4.91588785, "qsc_code_frac_words_unique": 0.53271028, "qsc_code_frac_chars_top_2grams": 0.0418251, "qsc_code_frac_chars_top_3grams": 0.02281369, "qsc_code_frac_chars_top_4grams": 0.03422053, "qsc_code_frac_chars_dupe_5grams": 0.04752...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/2000.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>2000</id><url>http://www.chinanews.com/hr/2020/04-03/9146695.shtml</url><title>驻日本使馆将向在日中国留学生发放防疫“健康包”</title><datetime>2020-4-3 15:02:00</datetime><body> 中新网4月3日电据中国驻日本大使馆网站消息,国内疫情发生以后,广大在日留学生发扬爱国主义精神,纷纷捐款,筹措物资,积极支援祖国抗疫,拳拳赤子之心令人感动。现在国内疫情已趋于稳定,但日本疫情正在扩散。 祖国无时不在牵挂着同学们的生命安...
688
2000
xml
zh
xml
data
{"qsc_code_num_words": 252, "qsc_code_num_chars": 688.0, "qsc_code_mean_word_length": 2.24603175, "qsc_code_frac_words_unique": 0.73015873, "qsc_code_frac_chars_top_2grams": 0.01060071, "qsc_code_frac_chars_top_3grams": 0.01413428, "qsc_code_frac_chars_top_4grams": 0.0, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/545.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>545</id><url>http://www.chinanews.com/cj/2020/03-31/9143439.shtml</url><title>财政部发布PPP项目绩效管理操作指引</title><datetime>2020-3-31 19:17:00</datetime><body> 新华社北京3月31日电(记者申铖)记者31日从财政部了解到,为规范政府和社会资本合作(PPP)项目全生命周期绩效管理工作,财政部日前制定印发《政府和社会资本合作(PPP)项目绩效管理操作指引》,旨在提高公共服务供给质量和效率,保障合作各方合法权...
892
545
xml
zh
xml
data
{"qsc_code_num_words": 350, "qsc_code_num_chars": 892.0, "qsc_code_mean_word_length": 2.19714286, "qsc_code_frac_words_unique": 0.49142857, "qsc_code_frac_chars_top_2grams": 0.09752926, "qsc_code_frac_chars_top_3grams": 0.08192458, "qsc_code_frac_chars_top_4grams": 0.03511053, "qsc_code_frac_chars_dupe_5grams": 0.08972...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/2337.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>2337</id><url>http://www.chinanews.com/gj/2020/04-04/9147639.shtml</url><title>拉加经委会预测今年拉美经济将大幅萎缩 </title><datetime>2020-4-4 13:57:00</datetime><body> 新华社圣地亚哥4月3日电(记者尹南张笑然)联合国拉丁美洲和加勒比经济委员会(拉加经委会)执行秘书巴尔塞纳3日表示,受新冠疫情影响,2020年拉美和加勒比地区经济将至少萎缩1.8%,不排除降幅达到3%至4%。 巴尔塞纳当天在一场线上新闻发布会...
652
2337
xml
zh
xml
data
{"qsc_code_num_words": 240, "qsc_code_num_chars": 652.0, "qsc_code_mean_word_length": 2.26666667, "qsc_code_frac_words_unique": 0.70416667, "qsc_code_frac_chars_top_2grams": 0.02757353, "qsc_code_frac_chars_top_3grams": 0.04411765, "qsc_code_frac_chars_top_4grams": 0.03676471, "qsc_code_frac_chars_dupe_5grams": 0.0, "q...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/1859.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>1859</id><url>http://www.chinanews.com/sh/2020/04-03/9146988.shtml</url><title>浙江共发现20例“复阳”病例 未再感染他人</title><datetime>2020-4-3 19:35:00</datetime><body> (抗击新冠肺炎)浙江共发现20例“复阳”病例未再感染他人 中新网杭州4月3日电(记者钱晨菲)记者从3日举行的浙江省新冠肺炎疫情防控工作新闻发布会上获悉,截至目前浙江共发现20例“复阳”病例,没有出现再感染他人的情况。 浙江省卫生健康委...
667
1859
xml
zh
xml
data
{"qsc_code_num_words": 264, "qsc_code_num_chars": 667.0, "qsc_code_mean_word_length": 2.04924242, "qsc_code_frac_words_unique": 0.57954545, "qsc_code_frac_chars_top_2grams": 0.02772643, "qsc_code_frac_chars_top_3grams": 0.04621072, "qsc_code_frac_chars_top_4grams": 0.06469501, "qsc_code_frac_chars_dupe_5grams": 0.18484...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
01joy/news-search-engine
data/news/1978.xml
<?xml version='1.0' encoding='utf-8'?> <doc><id>1978</id><url>http://www.chinanews.com/sh/2020/04-03/9146753.shtml</url><title>鹿鸣矿业尾矿砂泄漏事故水环境监测:5个断面部分数据超标</title><datetime>2020-4-3 15:30:00</datetime><body> 黑龙江公布鹿鸣矿业尾矿砂泄漏事故水环境监测数据 13个监测断面中有5个断面部分数据超标 中国环境报见习记者李明哲4月1日伊春报道记者从黑龙江省生态环境厅获悉,根据《伊春“3·28”鹿鸣矿业尾矿砂泄漏事故环境应急监测方案》,...
865
1978
xml
zh
xml
data
{"qsc_code_num_words": 354, "qsc_code_num_chars": 865.0, "qsc_code_mean_word_length": 2.01694915, "qsc_code_frac_words_unique": 0.47740113, "qsc_code_frac_chars_top_2grams": 0.02521008, "qsc_code_frac_chars_top_3grams": 0.0280112, "qsc_code_frac_chars_top_4grams": 0.04201681, "qsc_code_frac_chars_dupe_5grams": 0.180672...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
00-Evan/shattered-pixel-dungeon
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/journal/Catalog.java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
17,347
Catalog
java
en
java
code
{"qsc_code_num_words": 1901, "qsc_code_num_chars": 17347.0, "qsc_code_mean_word_length": 7.22461862, "qsc_code_frac_words_unique": 0.17727512, "qsc_code_frac_chars_top_2grams": 0.11635358, "qsc_code_frac_chars_top_3grams": 0.26008446, "qsc_code_frac_chars_top_4grams": 0.2979467, "qsc_code_frac_chars_dupe_5grams": 0.445...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...