Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception: SplitsNotFoundError
Message: The split names could not be parsed from the dataset config.
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 298, in get_dataset_config_info
for split_generator in builder._split_generators(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 84, in _split_generators
pa_tables = [
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 85, in <listcomp>
pa.Table.from_pylist(cast_to_python_objects([example], only_1d_for_numpy=True))
File "pyarrow/table.pxi", line 1877, in pyarrow.lib._Tabular.from_pylist
File "pyarrow/table.pxi", line 5399, in pyarrow.lib._from_pylist
File "pyarrow/table.pxi", line 3974, in pyarrow.lib.Table.from_arrays
File "pyarrow/table.pxi", line 1449, in pyarrow.lib._sanitize_arrays
File "pyarrow/table.pxi", line 1430, in pyarrow.lib._schema_from_arrays
File "pyarrow/array.pxi", line 343, in pyarrow.lib.array
File "pyarrow/array.pxi", line 42, in pyarrow.lib._sequence_to_array
File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
pyarrow.lib.ArrowCapacityError: array cannot contain more than 2147483646 bytes, have 3355173888
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/split_names.py", line 65, in compute_split_names_from_streaming_response
for split in get_dataset_split_names(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 352, in get_dataset_split_names
info = get_dataset_config_info(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 303, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.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.
Thư mục src chưa mã nguồn của toàn bộ project
Thư mục images chứa image của docker, docker đã cài đặt toàn bộ các thư viện cần thiết để chạy code
Chạy lệnh sau để start docker và mount thư mục src:
docker run --gpus all -v ./src:/workspace -it quangnm144/soict-hkt:v1 bash
Toàn bộ pipeline gồm có 7 bước tương ứng với các file python:
- dataprocess.py: tiền xử lý dữ liệu
- embed-corpus-01: nhúng corpus phục vụ cho phase 1 chọn ra top 200
- vector-search-01: chọn ra top 200
- embed-corpus-02: nhúng corpus phục vụ cho phase 2 chọn ra top 50
- vector-search-02: chọn ra top 50
- rerank: chọn ra top 10
Để finetune các check-point:
Chuẩn bị dữ liệu cho mỗi mô hình bằng cách chạy file python: finetune/prepair_data.py
Chạy các script trong thư mục finetune để finetune các mô hình tương ứng
- Downloads last month
- 4