ysn-rfd/text-dataset-tiny-code-script-py-format
USED of tahamajs/medicine_ds_persian for .parquet file USED of Alijafarixcs2/persian-it-llama2-2k for .parquet file USED of Abirate/english_quotes for .jsonl file NEW FILES (05/12/2025) NEW FILES (12/26/2025) NEW FILES (02/15/2026)
31.7k
1# Build Setups2 3## Pytorch4 5The build setup require [Docker](https://docker.com/), and the built image has a size of about 2GB.6 7```shell8# Build docker image9$ docker build -t unknownue/pytorch.docs -f torch.Dockerfile .10 11# Build docs for pytorch12$ mkdir -p build/torch13$ docker run --rm \14 -v $(pwd)/build/torch:/root/dev/pytorch/docs/build \15 -w /root/dev/pytorch/docs/ \16 unknownue/pytorch.docs \17 pip3 install -r requirements.txt --no-cache-dir && \18 make html19 20# Build docs for torchvision21$ mkdir -p build/vision22$ docker run --rm \23 -v $(pwd)/build/vision:/root/dev/vision/docs/build \24 -w /root/dev/vision/docs/ \25 unknownue/pytorch.docs \26 pip3 install -r requirements.txt --no-cache-dir && \27 pip3 install --no-cache-dir av && \28 make html29```30 31Now the documentation can be found in current `build` directory.32 33Remove docker images if need:34 35```shell36$ docker rmi unknownue/pytorch.docs37```38 39## Numpy40 41Build docker image:42 43```shell44$ docker build -t unknownue/numpy.docs -f numpy.Dockerfile .45```46 47Build the documentation:48 49```shell50$ mkdir build/51$ docker run --rm \52 -v $(pwd)/build:/root/numpy/doc/build \53 -w /root/numpy/doc/ \54 unknownue/numpy.docs \55 make html56```57 58After the building finish, the documentation can be found in `build` directory.59 60 61## Scikit-learn62 63Build the docker image:64 65```shell66$ docker build -t unknownue/sklearn.docs -f sklearn.Dockerfile .67```68 69```shell70$ mkdir build/71$ docker run --rm \72 -v $(pwd)/build:/root/scikit-learn/doc/_build \73 -w /root/scikit-learn/doc/ \74 unknownue/sklearn.docs \75 make html76```77 78After the building finish, the documentation can be found in `_build/html/stable` directory.79 80 81## Matplotlib82 83Build the docker image:84 85```shell86$ docker build -t unknownue/matplotlib.docs -f matplotlib.Dockerfile .87```88 89```shell90$ mkdir build/91$ docker run --rm \92 -v $(pwd)/build/matplotlib:/root/matplotlib/doc/build \93 -w /root/matplotlib/doc/ \94 unknownue/matplotlib.docs \95 pip install -r ../requirements/doc/doc-requirements.txt && \96 make html97```98 99After the building finish, the documentation can be found in `build/matplotlib` directory.100 