Query-decompose-baselines / start /start_unsupervised.sh
Veblen34's picture
Upload folder using huggingface_hub
cd6775d verified
Raw
History Blame Contribute Delete
366 Bytes
#!/bin/bash
# ② 无监督式(XLM seq2seq 分解服务),端口 50002,接口 GET /execute?query=...
# 需要环境变量 RAGQA_XLM_CKPT 指向 XLM 分解检查点 .pth(约 3GB,需自备)。
export CUDA_VISIBLE_DEVICES=${CUDA_VISIBLE_DEVICES:-0}
HERE="$(cd "$(dirname "$0")/.." && pwd)"
cd "$HERE/methods/unsupervised/XLM" && python server_translate.py