- python 3.9
- mac
- library: requirements.txt
mkdir data
wget https://dumps.wikimedia.org/kowiki/latest/kowiki-latest-pages-articles.xml.bz2 \
-O ./data/kowiki-latest-pages-articles.xml.bz2
python -m wikiextractor.WikiExtractor \
--json \
--out ./data/kowiki \
./data/kowiki-latest-pages-articles.xml.bz2
python src/wiki/make_wiki_dump.py \
--n_file 100
python src/vdb/make_vdb_index.py
python src/app/server.py \
--hf_token <huggingface_access_token>
- Test with langservep playground
- Test with chat UI