Transformer-based Korean Natural Language Processing
wget "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh
rm -rf DeepKNLP*; git clone https://github.com/chrisjihee/DeepKNLP-25.08.git; cd DeepKNLP*;
watch -d -n 3 nvidia-smi
conda search conda -c conda-forge | grep " 25."
conda install -n base -c conda-forge conda=25.7.0 -y
conda create -n DeepKNLP-25 python=3.12 -y
conda install -n DeepKNLP-25 -c nvidia cuda=12.8 -y
conda activate DeepKNLP-25 # MUST be activated
pip list; echo ==========; conda --version; echo ==========; conda list
pip install -e . --extra-index-url https://download.pytorch.org/whl/cu128
rm -rf transformers; git clone https://github.com/chrisjihee/transformers.git; pip install -U -e transformers
rm -rf ratsnlp; git clone https://github.com/chrisjihee/ratsnlp.git; pip install -U -e ratsnlp
pip list | grep -E "torch|lightn|trans|accel|speed|flash|numpy|piece|chris|rats|prog|pydantic"
hf auth whoami
hf auth login
rm -f .cache_hf; ln -s ~/.cache/huggingface ./.cache_hf
hf auth logout
rm -f ~/.huggingface/token
rm -f ~/.cache/huggingface/token
python task1-cls/run_cls.py --helppython task1-cls/run_cls.py trainpython task1-cls/run_cls.py testpython task1-cls/run_cls.py servepython task2-ner/run_ner.py --helppython task2-ner/run_ner.py trainpython task2-ner/run_ner.py testpython task2-ner/run_ner.py serveCUDA_VISIBLE_DEVICES=7 python task3-gen/infer_gen-1.pyCUDA_VISIBLE_DEVICES=6 python task3-gen/infer_gen-2.pyCUDA_VISIBLE_DEVICES=5 python task3-gen/infer_gen-3.pyCUDA_VISIBLE_DEVICES=7 python task3-gen/train_gen-1.pyCUDA_VISIBLE_DEVICES=6 python task3-gen/train_gen-2.pyCUDA_VISIBLE_DEVICES=5 python task3-gen/train_gen-3.pyCUDA_VISIBLE_DEVICES=7 python task3-gen/serve_gen-1.pyCUDA_VISIBLE_DEVICES=6 python task3-gen/serve_gen-2.pyCUDA_VISIBLE_DEVICES=5 python task3-gen/serve_gen-3.pybash task4A-qa-ext/train_qa-1.shbash task4A-qa-ext/train_qa-2.shbash task4A-qa-ext/train_qa-3.shbash task4A-qa-ext/eval_qa-1.shbash task4A-qa-ext/eval_qa-2.shbash task4A-qa-ext/eval_qa-3.shpython task4A-qa-ext/infer_qa.pypython task4A-qa-ext/serve_qa.pybash task4-qa/train_qa_seq2seq-1.shbash task4-qa/train_qa_seq2seq-2.shbash task4-qa/eval_qa_seq2seq-1.shbash task4-qa/eval_qa_seq2seq-2.shpython task4-qa/infer_qa_seq2seq.pypython task4-qa/serve_qa_seq2seq.py34 commits
Python
94.3%
HTML
2.5%
Jupyter Notebook
2.1%
Shell
1.2%
Transformer-based Korean Natural Language Processing
wget "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh
rm -rf DeepKNLP*; git clone https://github.com/chrisjihee/DeepKNLP-25.08.git; cd DeepKNLP*;
watch -d -n 3 nvidia-smi
conda search conda -c conda-forge | grep " 25."
conda install -n base -c conda-forge conda=25.7.0 -y
conda create -n DeepKNLP-25 python=3.12 -y
conda install -n DeepKNLP-25 -c nvidia cuda=12.8 -y
conda activate DeepKNLP-25 # MUST be activated
pip list; echo ==========; conda --version; echo ==========; conda list
pip install -e . --extra-index-url https://download.pytorch.org/whl/cu128
rm -rf transformers; git clone https://github.com/chrisjihee/transformers.git; pip install -U -e transformers
rm -rf ratsnlp; git clone https://github.com/chrisjihee/ratsnlp.git; pip install -U -e ratsnlp
pip list | grep -E "torch|lightn|trans|accel|speed|flash|numpy|piece|chris|rats|prog|pydantic"
hf auth whoami
hf auth login
rm -f .cache_hf; ln -s ~/.cache/huggingface ./.cache_hf
hf auth logout
rm -f ~/.huggingface/token
rm -f ~/.cache/huggingface/token
python task1-cls/run_cls.py --helppython task1-cls/run_cls.py trainpython task1-cls/run_cls.py testpython task1-cls/run_cls.py servepython task2-ner/run_ner.py --helppython task2-ner/run_ner.py trainpython task2-ner/run_ner.py testpython task2-ner/run_ner.py serveCUDA_VISIBLE_DEVICES=7 python task3-gen/infer_gen-1.pyCUDA_VISIBLE_DEVICES=6 python task3-gen/infer_gen-2.pyCUDA_VISIBLE_DEVICES=5 python task3-gen/infer_gen-3.pyCUDA_VISIBLE_DEVICES=7 python task3-gen/train_gen-1.pyCUDA_VISIBLE_DEVICES=6 python task3-gen/train_gen-2.pyCUDA_VISIBLE_DEVICES=5 python task3-gen/train_gen-3.pyCUDA_VISIBLE_DEVICES=7 python task3-gen/serve_gen-1.pyCUDA_VISIBLE_DEVICES=6 python task3-gen/serve_gen-2.pyCUDA_VISIBLE_DEVICES=5 python task3-gen/serve_gen-3.pybash task4A-qa-ext/train_qa-1.shbash task4A-qa-ext/train_qa-2.shbash task4A-qa-ext/train_qa-3.shbash task4A-qa-ext/eval_qa-1.shbash task4A-qa-ext/eval_qa-2.shbash task4A-qa-ext/eval_qa-3.shpython task4A-qa-ext/infer_qa.pypython task4A-qa-ext/serve_qa.pybash task4-qa/train_qa_seq2seq-1.shbash task4-qa/train_qa_seq2seq-2.shbash task4-qa/eval_qa_seq2seq-1.shbash task4-qa/eval_qa_seq2seq-2.shpython task4-qa/infer_qa_seq2seq.pypython task4-qa/serve_qa_seq2seq.py34 commits
Python
94.3%
HTML
2.5%
Jupyter Notebook
2.1%
Shell
1.2%