Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    UnicodeDecodeError
Message:      'utf-8' codec can't decode byte 0xb1 in position 15: invalid start byte
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1854, in _prepare_split_single
                  for _, table in generator:
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 687, in wrapped
                  for item in generator(*args, **kwargs):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/text/text.py", line 73, in _generate_tables
                  batch = f.read(self.config.chunksize)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 826, in read_with_retries
                  out = read(*args, **kwargs)
                File "/usr/local/lib/python3.9/codecs.py", line 322, in decode
                  (result, consumed) = self._buffer_decode(data, self.errors, final)
              UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 15: invalid start byte
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1433, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 989, in stream_convert_to_parquet
                  builder._prepare_split(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1741, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1897, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

text
string
#!/usr/bin/bash
#export PIP_INDEX_URL="https://pypi.mirrors.ustc.edu.cn/simple"
#export HF_ENDPOINT="https://hf-mirror.com"
echo "检查是否已安装 PowerShell..."
if ! command -v pwsh &> /dev/null
then
echo "PowerShell 未安装,正在安装..."
# 下载 PowerShell '.tar.gz' 压缩包
curl -L -o /tmp/powershell.tar.gz https://mirror.ghproxy.com/https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-linux-x64.tar.gz
# 创建目标文件夹
sudo mkdir -p /opt/microsoft/powershell/7
# 解压 PowerShell 到目标文件夹
sudo tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7
# 设置执行权限
sudo chmod +x /opt/microsoft/powershell/7/pwsh
# 创建指向 pwsh 的符号链接
sudo ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
echo "PowerShell 安装完成"
else
echo "PowerShell 已安装"
fi
echo "Install completed"
# Install script by @bdsqlsz
Set-Location $PSScriptRoot
$Env:HF_HOME = "huggingface"
$Env:HF_ENDPOINT = "https://hf-mirror.com"
$Env:PIP_DISABLE_PIP_VERSION_CHECK = 1
$Env:PIP_NO_CACHE_DIR = 1
#$Env:PIP_INDEX_URL="https://pypi.mirrors.ustc.edu.cn/simple"
$Env:UV_INDEX_URL = "https://pypi.tuna.tsinghua.edu.cn/simple/"
$Env:UV_EXTRA_INDEX_URL = "https://download.pytorch.org/whl/cu124"
$Env:UV_CACHE_DIR = "${env:LOCALAPPDATA}/uv/cache"
$Env:UV_NO_BUILD_ISOLATION = 1
$Env:UV_NO_CACHE = 0
$Env:UV_LINK_MODE = "symlink"
$Env:GIT_LFS_SKIP_SMUDGE = 1
$Env:CUDA_HOME = "${env:CUDA_PATH}"
function InstallFail {
Write-Output "Install failed|安装失败。"
Read-Host | Out-Null ;
Exit
}
function Check {
param (
$ErrorInfo
)
if (!($?)) {
Write-Output $ErrorInfo
InstallFail
}
}
try {
~/.local/bin/uv --version
Write-Output "uv installed|UV模块已安装."
}
catch {
Write-Output "Installing uv|安装uv模块中..."
try {
if ($Env:OS -ilike "*windows*") {
powershell -ExecutionPolicy ByPass -c "./install.ps1"
Check "uv install failed|安装uv模块失败。"
}
else {
sh ./install.sh
Check "uv install failed|安装uv模块失败。"
}
}
catch {
if ($Env:OS -ilike "*windows*") {
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Check "uv install failed|安装uv模块失败。"
}
else {
curl -LsSf https://astral.sh/uv/install.sh | sh
Check "uv install failed|安装uv模块失败。"
}
}
}
if ($env:OS -ilike "*windows*") {
#chcp 65001
# First check if UV cache directory already exists
if (Test-Path -Path "${env:LOCALAPPDATA}/uv/cache") {
Write-Host "UV cache directory already exists, skipping disk space check"
}
else {
# Check C drive free space with error handling
End of preview.

No dataset card yet

Downloads last month
20