repo stringlengths 7 90 | file_url stringlengths 81 315 | file_path stringlengths 4 228 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:38:15 2026-01-05 02:33:18 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
BogiHsu/Tacotron2-PyTorch | https://github.com/BogiHsu/Tacotron2-PyTorch/blob/b1761fd7660e56adf39f3c8d02852fbaec1da2c5/model/layers.py | model/layers.py | import torch
class LinearNorm(torch.nn.Module):
def __init__(self, in_dim, out_dim, bias=True, w_init_gain='linear'):
super(LinearNorm, self).__init__()
self.linear_layer = torch.nn.Linear(in_dim, out_dim, bias=bias)
torch.nn.init.xavier_uniform_(
self.linear_layer.weight,
... | python | MIT | b1761fd7660e56adf39f3c8d02852fbaec1da2c5 | 2026-01-05T07:09:14.162722Z | false |
BogiHsu/Tacotron2-PyTorch | https://github.com/BogiHsu/Tacotron2-PyTorch/blob/b1761fd7660e56adf39f3c8d02852fbaec1da2c5/utils/util.py | utils/util.py | import torch
import numpy as np
from hparams import hparams as hps
def mode(obj, model = False):
if model and hps.is_cuda:
obj = obj.cuda()
elif hps.is_cuda:
obj = obj.cuda(non_blocking = hps.pin_mem)
return obj
def to_arr(var):
return var.cpu().detach().numpy().astype(np.float32)
def... | python | MIT | b1761fd7660e56adf39f3c8d02852fbaec1da2c5 | 2026-01-05T07:09:14.162722Z | false |
BogiHsu/Tacotron2-PyTorch | https://github.com/BogiHsu/Tacotron2-PyTorch/blob/b1761fd7660e56adf39f3c8d02852fbaec1da2c5/utils/audio.py | utils/audio.py | import scipy
import librosa
import numpy as np
from scipy.io import wavfile
from librosa.util import normalize
from hparams import hparams as hps
MAX_WAV_VALUE = 32768.0
_mel_basis = None
def load_wav(path):
sr, wav = wavfile.read(path)
assert sr == hps.sample_rate
return normalize(wav/MAX_WAV_VALUE)*0.95... | python | MIT | b1761fd7660e56adf39f3c8d02852fbaec1da2c5 | 2026-01-05T07:09:14.162722Z | false |
BogiHsu/Tacotron2-PyTorch | https://github.com/BogiHsu/Tacotron2-PyTorch/blob/b1761fd7660e56adf39f3c8d02852fbaec1da2c5/utils/logger.py | utils/logger.py | import numpy as np
from utils.util import to_arr
from hparams import hparams as hps
from tensorboardX import SummaryWriter
from utils.audio import inv_melspectrogram
from utils.plot import plot_alignment_to_numpy, plot_spectrogram_to_numpy
class Tacotron2Logger(SummaryWriter):
def __init__(self, logdir):
... | python | MIT | b1761fd7660e56adf39f3c8d02852fbaec1da2c5 | 2026-01-05T07:09:14.162722Z | false |
BogiHsu/Tacotron2-PyTorch | https://github.com/BogiHsu/Tacotron2-PyTorch/blob/b1761fd7660e56adf39f3c8d02852fbaec1da2c5/utils/dataset.py | utils/dataset.py | import os
import torch
import pickle
import numpy as np
from text import text_to_sequence
from hparams import hparams as hps
from torch.utils.data import Dataset
from utils.audio import load_wav, melspectrogram
def files_to_list(fdir):
f_list = []
with open(os.path.join(fdir, 'metadata.csv'), encoding = 'utf-... | python | MIT | b1761fd7660e56adf39f3c8d02852fbaec1da2c5 | 2026-01-05T07:09:14.162722Z | false |
BogiHsu/Tacotron2-PyTorch | https://github.com/BogiHsu/Tacotron2-PyTorch/blob/b1761fd7660e56adf39f3c8d02852fbaec1da2c5/utils/plot.py | utils/plot.py | import matplotlib
matplotlib.use("Agg")
import numpy as np
import matplotlib.pylab as plt
def save_figure_to_numpy(fig):
# save it to a numpy array.
data = np.fromstring(fig.canvas.tostring_rgb(), dtype=np.uint8, sep='')
data = data.reshape(fig.canvas.get_width_height()[::-1] + (3,))
return data.trans... | python | MIT | b1761fd7660e56adf39f3c8d02852fbaec1da2c5 | 2026-01-05T07:09:14.162722Z | false |
BogiHsu/Tacotron2-PyTorch | https://github.com/BogiHsu/Tacotron2-PyTorch/blob/b1761fd7660e56adf39f3c8d02852fbaec1da2c5/text/cmudict.py | text/cmudict.py | """ from https://github.com/keithito/tacotron """
import re
valid_symbols = [
'AA', 'AA0', 'AA1', 'AA2', 'AE', 'AE0', 'AE1', 'AE2', 'AH', 'AH0', 'AH1', 'AH2',
'AO', 'AO0', 'AO1', 'AO2', 'AW', 'AW0', 'AW1', 'AW2', 'AY', 'AY0', 'AY1', 'AY2',
'B', 'CH', 'D', 'DH', 'EH', 'EH0', 'EH1', 'EH2', 'ER', 'ER0', 'ER1', 'E... | python | MIT | b1761fd7660e56adf39f3c8d02852fbaec1da2c5 | 2026-01-05T07:09:14.162722Z | false |
BogiHsu/Tacotron2-PyTorch | https://github.com/BogiHsu/Tacotron2-PyTorch/blob/b1761fd7660e56adf39f3c8d02852fbaec1da2c5/text/symbols.py | text/symbols.py | """ from https://github.com/keithito/tacotron """
'''
Defines the set of symbols used in text input to the model.
The default is a set of ASCII characters that works well for English or text that has been run through Unidecode. For other data, you can modify _characters. See TRAINING_DATA.md for details. '''
from tex... | python | MIT | b1761fd7660e56adf39f3c8d02852fbaec1da2c5 | 2026-01-05T07:09:14.162722Z | false |
BogiHsu/Tacotron2-PyTorch | https://github.com/BogiHsu/Tacotron2-PyTorch/blob/b1761fd7660e56adf39f3c8d02852fbaec1da2c5/text/cleaners.py | text/cleaners.py | """ from https://github.com/keithito/tacotron """
'''
Cleaners are transformations that run over the input text at both training and eval time.
Cleaners can be selected by passing a comma-delimited list of cleaner names as the "cleaners"
hyperparameter. Some cleaners are English-specific. You'll typically want to use... | python | MIT | b1761fd7660e56adf39f3c8d02852fbaec1da2c5 | 2026-01-05T07:09:14.162722Z | false |
BogiHsu/Tacotron2-PyTorch | https://github.com/BogiHsu/Tacotron2-PyTorch/blob/b1761fd7660e56adf39f3c8d02852fbaec1da2c5/text/numbers.py | text/numbers.py | """ from https://github.com/keithito/tacotron """
import inflect
import re
_inflect = inflect.engine()
_comma_number_re = re.compile(r'([0-9][0-9\,]+[0-9])')
_decimal_number_re = re.compile(r'([0-9]+\.[0-9]+)')
_pounds_re = re.compile(r'£([0-9\,]*[0-9]+)')
_dollars_re = re.compile(r'\$([0-9\.\,]*[0-9]+)')
_ordinal_r... | python | MIT | b1761fd7660e56adf39f3c8d02852fbaec1da2c5 | 2026-01-05T07:09:14.162722Z | false |
BogiHsu/Tacotron2-PyTorch | https://github.com/BogiHsu/Tacotron2-PyTorch/blob/b1761fd7660e56adf39f3c8d02852fbaec1da2c5/text/__init__.py | text/__init__.py | """ from https://github.com/keithito/tacotron """
import re
from text import cleaners
from text.symbols import symbols
# Mappings from symbol to numeric ID and vice versa:
_symbol_to_id = {s: i for i, s in enumerate(symbols)}
_id_to_symbol = {i: s for i, s in enumerate(symbols)}
# Regular expression matching text en... | python | MIT | b1761fd7660e56adf39f3c8d02852fbaec1da2c5 | 2026-01-05T07:09:14.162722Z | false |
W1LDN16H7/StegoCracker | https://github.com/W1LDN16H7/StegoCracker/blob/82915bc0ea88eef35d9755ce5fd193aca5e11663/setup.py | setup.py | """ Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,... | python | Apache-2.0 | 82915bc0ea88eef35d9755ce5fd193aca5e11663 | 2026-01-05T07:09:13.348614Z | false |
W1LDN16H7/StegoCracker | https://github.com/W1LDN16H7/StegoCracker/blob/82915bc0ea88eef35d9755ce5fd193aca5e11663/stego/convertor.py | stego/convertor.py | #!/usr/bin/env python
from pydub import AudioSegment
def mp3_to_wav(file, name):
mp3_file = AudioSegment.from_mp3(file)
wav_file = mp3_file.export(str(name), format="wav")
print("\033[92mDone\033[0m ")
if __name__ == '__main__':
name = input("Enter file name :")
file = input("Mp3 File Path (exa... | python | Apache-2.0 | 82915bc0ea88eef35d9755ce5fd193aca5e11663 | 2026-01-05T07:09:13.348614Z | false |
gahjelle/pythonji | https://github.com/gahjelle/pythonji/blob/64af551e4d557954a31805aa63a7db55919123c5/pythonji/__main__.py | pythonji/__main__.py | """🐍 - Write Python with Emojis
"""
# Standard library imports
import ast
import pathlib
import sys
# Third party imports
import emoji
DELIMITERS = ("__pythonji_", "__")
def main():
py_files = [f for f in sys.argv[1:] if f.endswith(".🐍")]
for py_file in py_files:
run(py_file)
def run(py_file):... | python | MIT | 64af551e4d557954a31805aa63a7db55919123c5 | 2026-01-05T07:09:17.233754Z | false |
gahjelle/pythonji | https://github.com/gahjelle/pythonji/blob/64af551e4d557954a31805aa63a7db55919123c5/pythonji/__init__.py | pythonji/__init__.py | """🐍 - Write Python with Emojis
"""
__version__ = "0.1.1"
| python | MIT | 64af551e4d557954a31805aa63a7db55919123c5 | 2026-01-05T07:09:17.233754Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_bg_ner_bsnlp.py | src/scripts/create_bg_ner_bsnlp.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the BG-NER-BSNLP-mini NER dataset and upload it to the HF Hub."""
from ast import literal_eval
import pandas as pd
from data... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_elner.py | src/scripts/create_elner.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the elNER dataset and upload it to the HF Hub."""
import io
import tarfile
from collections import defaultdict
import pandas... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_umimeto_qa.py | src/scripts/create_umimeto_qa.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "openai==1.66.5",
# "pandas==2.2.0",
# "pydantic==2.6.0",
# "python-dotenv==1.0.1",
# "requests==2.32.3",
# "tqdm==4.67.1",
# ]
# ///
"""Create umimeto-qa knowledge data... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_mmlu_et.py | src/scripts/create_mmlu_et.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# "scikit-learn<1.6.0",
# ]
# ///
"""Create the MMLU-et dataset and upload to HF Hub."""
from collections import Counter
import pandas as pd... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_life_in_the_uk.py | src/scripts/create_life_in_the_uk.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# "scikit-learn<1.6.0",
# ]
# ///
"""Create the Life in the UK multiple choice dataset and upload it to the HF Hub."""
from collections impor... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_wikineural-it.py | src/scripts/create_wikineural-it.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==2.15.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the wikineural-mini-it NER dataset and upload it to the HF Hub."""
import pandas as pd
from datasets import Dataset, Dataset... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_conll_es.py | src/scripts/create_conll_es.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the CoNLL-ES-mini NER dataset and upload it to the HF Hub."""
import pandas as pd
from datasets import Dataset, DatasetDict, ... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_estner.py | src/scripts/create_estner.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==4.0.0",
# "huggingface-hub==0.34.4",
# "requests==2.32.5",
# ]
# ///
"""Create the Estonian NER dataset and upload to HF Hub."""
from typing import MutableMapping
from datasets import Dataset, DatasetDict, load_dataset
from hu... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_lt_emotions.py | src/scripts/create_lt_emotions.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Lithuanian Emotions dataset and upload it to the HF Hub."""
import pandas as pd
from datasets import Dataset, DatasetDict... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_winogrande.py | src/scripts/create_winogrande.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Winogrande datasets and upload them to the HF Hub."""
import logging
import re
from collections import Counter
import pa... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_ice_linguistic.py | src/scripts/create_ice_linguistic.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create a dataset from the Icelandic Linguistic Benchmarks."""
from ast import literal_eval
import pandas as pd
import requests
from... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_lr_sum.py | src/scripts/create_lr_sum.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the LR-Sum summarisation datasets."""
import pandas as pd
from datasets import Dataset, DatasetDict, Split, load_dataset
from... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_ssj500k_ner.py | src/scripts/create_ssj500k_ner.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Slovene NER dataset from SSJ500k and upload it to the HF Hub."""
import pandas as pd
from datasets import Dataset, Datase... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_scandisent_fi.py | src/scripts/create_scandisent_fi.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Finnish part of the ScandiSent dataset and upload it to the HF Hub."""
import pandas as pd
from datasets import Dataset, ... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_mmlu_hr.py | src/scripts/create_mmlu_hr.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# "scikit-learn<1.6.0",
# ]
# ///
"""Create the MMLU-hr dataset and upload to HF Hub."""
from collections import Counter
import pandas as pd... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_copa_lv.py | src/scripts/create_copa_lv.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the COPA-lv dataset from VTI-Data and upload to HF Hub."""
from collections import Counter
import pandas as pd
from datasets... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_ilpost_sum.py | src/scripts/create_ilpost_sum.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the ilpost summarisation dataset."""
import pandas as pd
from datasets import Dataset, DatasetDict, Split
from datasets.load ... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_fone.py | src/scripts/create_fone.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the FoNE-mini NER dataset and upload it to the HF Hub."""
import pandas as pd
from datasets import Dataset, DatasetDict, Spli... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/fix_dot_env_file.py | src/scripts/fix_dot_env_file.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = []
# ///
"""Checks related to the .env file in the repository."""
from pathlib import Path
# List of all the environment variables that are desired
DESIRED_ENVIRONMENT_VARIABLES = dict(
GIT_NAME="Enter your full name, to be shown in Git commits:\n> ... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_xlsum_fi.py | src/scripts/create_xlsum_fi.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Finnish version of the XLSum summarisation dataset."""
import pandas as pd
from datasets import Dataset, DatasetDict, Spl... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_exam_et.py | src/scripts/create_exam_et.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# "scikit-learn<1.6.0",
# ]
# ///
"""Create the Exam-et dataset and upload it to the HF Hub."""
from collections import Counter
import panda... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_estonian_valence.py | src/scripts/create_estonian_valence.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==4.0.0",
# "huggingface-hub==0.34.4",
# "requests==2.32.5",
# ]
# ///
"""Create the Estonian valence dataset and upload to HF Hub."""
from datasets import Dataset, DatasetDict, concatenate_datasets, load_dataset
from huggingface... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_turku_ner_fi.py | src/scripts/create_turku_ner_fi.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Finnish Turku NER dataset and upload it to the HF Hub."""
import pandas as pd
import requests
from datasets import Datase... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_cs_gec.py | src/scripts/create_cs_gec.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# "scikit-learn<1.6.0",
# ]
# ///
"""Create the CS GEC linguistic acceptability dataset."""
import logging
import pandas as pd
from datasets... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_publico.py | src/scripts/create_publico.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==2.19.1",
# "nltk==3.8.1",
# "huggingface-hub==0.24.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Público-mini summarisation dataset."""
import random
import nltk
from datasets import Dataset, DatasetDict, load_dataset
... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_global_mmlu.py | src/scripts/create_global_mmlu.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# "scikit-learn<1.6.0",
# ]
# ///
"""Create the Global-MMLU knowledge datasets and upload them to the HF Hub."""
from collections import Coun... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_wikiann.py | src/scripts/create_wikiann.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the WikiANN NER datasets and upload them to the HF Hub."""
import pandas as pd
from datasets import Dataset, DatasetDict, Spl... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_idioms_no.py | src/scripts/create_idioms_no.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "openai==1.66.5",
# "pandas==2.2.0",
# "pydantic==2.6.0",
# "python-dotenv==1.0.1",
# "requests==2.32.3",
# "tqdm==4.67.1",
# ]
# ///
"""Create the Norwegian knowledge d... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_sqad.py | src/scripts/create_sqad.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the SQAD-mini Czech dataset and upload it to the HF Hub."""
import hashlib
import pandas as pd
from datasets import Dataset,... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_schibsted.py | src/scripts/create_schibsted.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Schibsted summarisation dataset."""
import pandas as pd
from datasets import Dataset, DatasetDict, Split, load_dataset
fr... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_swedish_facts.py | src/scripts/create_swedish_facts.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "openai==1.66.5",
# "pandas==2.2.0",
# "pydantic==2.6.0",
# "python-dotenv==1.0.1",
# "requests==2.32.3",
# "tqdm==4.67.1",
# ]
# ///
"""Create a Swedish knowledge data... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_csfd_sentiment_sk.py | src/scripts/create_csfd_sentiment_sk.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Slovak CSFD sentiment dataset and upload to HF Hub."""
import pandas as pd
from datasets import Dataset, DatasetDict, Spl... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_dacsa.py | src/scripts/create_dacsa.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the DACSA summarization datasets and upload to HF Hub."""
import pandas as pd
from datasets import Dataset, DatasetDict, Spli... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_squad_nl_old.py | src/scripts/create_squad_nl_old.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the old SQuAD-nl-mini dataset and upload them to the HF Hub."""
import pandas as pd
from datasets.arrow_dataset import Datase... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_swedn.py | src/scripts/create_swedn.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the SweDN-mini summarisation dataset."""
import pandas as pd
from datasets import Dataset, DatasetDict, Split, load_dataset
f... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_norglm_multisum.py | src/scripts/create_norglm_multisum.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the NorGLM NO-multi summarisation dataset."""
import pandas as pd
from datasets import Dataset, DatasetDict, Split, load_data... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_fullstack_ner.py | src/scripts/create_fullstack_ner.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create and upload the FullStack-LV-mini NER dataset from CoNLL-U format."""
import glob
import logging
import os
import shutil
impor... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/constants.py | src/scripts/constants.py | """Constants used in the dataset creation scripts."""
# Bounds on the size of texts in sequence classification datasets
MIN_NUM_CHARS_IN_DOCUMENT = 2
MAX_NUM_CHARS_IN_DOCUMENT = 5000
# Bounds on the size of texts in question answering datasets
MIN_NUM_CHARS_IN_CONTEXT = 30
MAX_NUM_CHARS_IN_CONTEXT = 5000
MIN_NUM_CHA... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_suc3.py | src/scripts/create_suc3.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "lxml==5.3.1",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the SUC3-mini NER dataset and upload it to the HF Hub."""
import bz2
import io
import re
import pandas ... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_nordjylland_news.py | src/scripts/create_nordjylland_news.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the NordjyllandNews-mini summarisation dataset."""
import pandas as pd
from datasets import Dataset, DatasetDict, Split, load... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_norec.py | src/scripts/create_norec.py | """Create the NoReC-mini sentiment dataset and upload it to the HF Hub."""
| python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_foqa.py | src/scripts/create_foqa.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the FoQA dataset and upload them to the HF Hub."""
import pandas as pd
from datasets.arrow_dataset import Dataset
from datase... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_copa_nl.py | src/scripts/create_copa_nl.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "requests==2.32.3",
# ]
# ///
"""Create a Dutch common sense reasoning dataset based on the English COPA."""
import io
import os
import tarfile
import tempfile
import urllib.request
from ... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_husst.py | src/scripts/create_husst.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==4.0.0",
# "huggingface-hub==0.34.4",
# "pandas==2.2.0",
# "requests==2.32.5",
# "scikit-learn==1.6.1",
# ]
# ///
"""Create the HuSST Hungarian sentiment dataset and upload to HF Hub."""
import pandas as pd
from datasets... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_icelandic_knowledge.py | src/scripts/create_icelandic_knowledge.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "openai==1.66.5",
# "pandas==2.2.0",
# "pydantic==2.6.0",
# "python-dotenv==1.0.1",
# "requests==2.32.3",
# "tqdm==4.67.1",
# ]
# ///
"""Create mideind/icelandic_qa_scan... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_hellaswag_fi.py | src/scripts/create_hellaswag_fi.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Finnish HellaSwag-mini dataset and upload it to the HF Hub."""
import logging
import warnings
from collections import Cou... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_scala.py | src/scripts/create_scala.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# "tqdm==4.67.1",
# ]
# ///
"""Create the ScaLA datasets and upload them to the HF Hub."""
import random
import re
import warnings
import pa... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_germeval.py | src/scripts/create_germeval.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the GermEval-mini NER dataset and upload it to the HF Hub."""
import pandas as pd
from datasets import Dataset, DatasetDict, ... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_scandiqa.py | src/scripts/create_scandiqa.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the ScandiQA-mini datasets and upload them to the HF Hub."""
import pandas as pd
from datasets.arrow_dataset import Dataset
f... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_angry_tweets.py | src/scripts/create_angry_tweets.py | """Create the AngryTweets-mini sentiment dataset and upload it to the HF Hub."""
| python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_hun_sum.py | src/scripts/create_hun_sum.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Hungarian summarisation dataset based on hun-sum-chatml-5k."""
import json
import os
import pandas as pd
from datasets i... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_orange_sum.py | src/scripts/create_orange_sum.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the OrangeSum-mini summarisation dataset."""
import pandas as pd
from datasets import Dataset, DatasetDict, Split, load_datas... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_sst2_pt.py | src/scripts/create_sst2_pt.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "numpy==1.23.2",
# "pandas==2.2.0",
# "scikit-learn==1.7.0",
# ]
# ///
"""Create the SST2-pt-mini dataset and upload to HF Hub."""
import pandas as pd
from datasets import Dataset,... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_sentipolc16.py | src/scripts/create_sentipolc16.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the sentipolc16-mini sentiment dataset and upload it to the HF Hub."""
import pandas as pd
from datasets import Dataset, Data... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_winogrande_is.py | src/scripts/create_winogrande_is.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# "scikit-learn<1.6.0",
# ]
# ///
"""Create the Winogrande-is dataset and upload it to the HF Hub."""
from collections import Counter
import... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_hotter_and_colder_sentiment.py | src/scripts/create_hotter_and_colder_sentiment.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "beautifulsoup4==4.14.2",
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "joblib==1.4.2",
# "pandas==2.2.0",
# "requests==2.32.3",
# "tqdm==4.67.1",
# ]
# ///
"""Create the HotterAndColderSentiment dataset and upload i... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_czech_news.py | src/scripts/create_czech_news.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Czech News Summarization dataset."""
import pandas as pd
from datasets import Dataset, DatasetDict, Split, load_dataset
f... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_guia_cat.py | src/scripts/create_guia_cat.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Catalan GuiaCat sentiment dataset and upload to HF Hub."""
import pandas as pd
from datasets import Dataset, DatasetDict,... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_dane.py | src/scripts/create_dane.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the DaNE-mini NER dataset and upload it to the HF Hub."""
import re
from collections import defaultdict
import pandas as pd
... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_eltec.py | src/scripts/create_eltec.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "nltk==3.9.1",
# "pandas==2.2.0",
# "requests==2.32.3",
# "tqdm==4.67.1",
# "urllib3==2.3.0",
# ]
# ///
"""Create the ELTEC-mini NER dataset and upload it to the HF Hub."""
... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_uner_sr.py | src/scripts/create_uner_sr.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# "conllu==4.5.3",
# ]
# ///
"""Create the UNER-sr NER dataset and upload it to the HF Hub."""
import pandas as pd
from datasets import Datas... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_danske_talemaader_old.py | src/scripts/create_danske_talemaader_old.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# "scikit-learn<1.6.0",
# ]
# ///
"""Create the old version of the DanskeTalemåder dataset and upload it to the HF Hub."""
from collections i... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_no_sammendrag.py | src/scripts/create_no_sammendrag.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the NoSammendrag-mini summarisation dataset."""
import pandas as pd
from datasets import Dataset, DatasetDict, Split, load_da... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_fosent.py | src/scripts/create_fosent.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the FoSent sentiment dataset and upload it to the HF Hub."""
import hashlib
import logging
from typing import Literal
import... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_greek_sa.py | src/scripts/create_greek_sa.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Greek sentiment analysis dataset and upload it to the HF Hub."""
import pandas as pd
from datasets import Dataset, Datase... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_arc_is.py | src/scripts/create_arc_is.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the ARC-mini datasets and upload them to the HF Hub."""
from collections import Counter
import pandas as pd
from datasets im... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_swerec.py | src/scripts/create_swerec.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# "scikit-learn<1.6.0",
# ]
# ///
"""Create the SweReC-mini sentiment dataset and upload it to the HF Hub."""
import io
import pandas as pd
... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_uner_sk.py | src/scripts/create_uner_sk.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the UNER-sk NER dataset and upload it to the HF Hub."""
import json
import re
import numpy as np
import pandas as pd
from da... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_psc.py | src/scripts/create_psc.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the PSC (Polish Summaries Corpus) summarization dataset."""
import pandas as pd
from datasets import Dataset, DatasetDict, Sp... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_sumo_ro.py | src/scripts/create_sumo_ro.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the SumO-Ro summarisation dataset."""
import pandas as pd
from datasets import Dataset, DatasetDict, Split, load_dataset
from... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_icelandic_qa.py | src/scripts/create_icelandic_qa.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "openai==1.66.5",
# "pandas==2.2.0",
# "python-dotenv==1.0.1",
# "requests==2.32.3",
# ]
# ///
"""Create the Icelandic QA dataset and upload it to the HF Hub."""
import os
impo... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_sst5.py | src/scripts/create_sst5.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the SST5-mini sentiment dataset and upload it to the HF Hub."""
import pandas as pd
from datasets import Dataset, DatasetDict... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_arc.py | src/scripts/create_arc.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the ARC-mini datasets and upload them to the HF Hub."""
from collections import Counter
import pandas as pd
from datasets im... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_ner_uk.py | src/scripts/create_ner_uk.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Ukrainian NER dataset and upload it to the HF Hub."""
import pandas as pd
from datasets import Dataset, DatasetDict, Spli... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_european_values.py | src/scripts/create_european_values.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==4.0.0",
# "huggingface-hub==0.34.3",
# "pandas==2.3.1",
# "requests==2.32.4",
# "tqdm==4.67.1",
# "euroeval==15.16.0",
# ]
# ///
"""Create the European values dataset and upload it to the HF Hub."""
import logging
f... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_goldenswag.py | src/scripts/create_goldenswag.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# "scikit-learn<1.6.0",
# ]
# ///
"""Create the GoldenSwag-mini datasets and upload them to the HF Hub."""
from collections import Counter
i... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_wiki_lingua_nl.py | src/scripts/create_wiki_lingua_nl.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the WikiLingua-NL-mini summarisation dataset."""
import pandas as pd
from datasets import Dataset, DatasetDict, Split, load_d... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_dutch_cola.py | src/scripts/create_dutch_cola.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Dutch CoLA dataset and upload it to the HF Hub."""
import pandas as pd
from datasets import Dataset, DatasetDict, Split, ... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_squad.py | src/scripts/create_squad.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the SQuAD-mini datasets and upload them to the HF Hub."""
import pandas as pd
from datasets.arrow_dataset import Dataset
from... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_danske_talemaader.py | src/scripts/create_danske_talemaader.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# "scikit-learn<1.6.0",
# ]
# ///
"""Create the the Danske Talemåder dataset and upload it to the HF Hub."""
import io
from zipfile import Zi... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_personal_sum.py | src/scripts/create_personal_sum.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the Personal Sum summarisation dataset."""
import logging
import pandas as pd
from datasets import Dataset, DatasetDict, Spl... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_kpwr_ner.py | src/scripts/create_kpwr_ner.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the KPWr NER dataset and upload it to the HF Hub."""
import pandas as pd
from datasets import Dataset, DatasetDict, Split, lo... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_multinerd-it.py | src/scripts/create_multinerd-it.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the multinerd-mini-it NER dataset and upload it to the HF Hub."""
import pandas as pd
from datasets import Dataset, DatasetDi... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_sb10k.py | src/scripts/create_sb10k.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "pandas==2.2.0",
# "requests==2.32.3",
# ]
# ///
"""Create the SB10k-mini sentiment dataset and upload it to the HF Hub."""
import pandas as pd
from datasets import Dataset, DatasetDic... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
EuroEval/EuroEval | https://github.com/EuroEval/EuroEval/blob/34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f/src/scripts/create_boolq_pt.py | src/scripts/create_boolq_pt.py | # /// script
# requires-python = ">=3.10,<4.0"
# dependencies = [
# "datasets==3.5.0",
# "huggingface-hub==0.24.0",
# "numpy==1.23.2",
# "pandas==2.2.0",
# ]
# ///
"""Create the BoolQ-pt dataset and upload to HF Hub."""
import pandas as pd
from datasets import Dataset, DatasetDict, Split, load_dataset... | python | MIT | 34d4bf5c2cf4d62b4efd46b1b65d5b814771e25f | 2026-01-05T07:08:43.007726Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.