Procházet zdrojové kódy

Add huqie trie to docker image. (#4084)

### What problem does this PR solve?



### Type of change

- [x] Performance Improvement
tags/v0.15.0
Kevin Hu před 10 měsíci
rodič
revize
742eef028f
Žádný účet není propojen s e-mailovou adresou tvůrce revize
2 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 2
    1
      Dockerfile
  2. 1
    0
      download_deps.py

+ 2
- 1
Dockerfile Zobrazit soubor

@@ -12,10 +12,11 @@ WORKDIR /ragflow
# Copy models downloaded via download_deps.py
RUN mkdir -p /ragflow/rag/res/deepdoc /root/.ragflow
RUN --mount=type=bind,from=infiniflow/ragflow_deps:latest,source=/huggingface.co,target=/huggingface.co \
cp /huggingface.co/InfiniFlow/huqie/huqie.txt.trie /ragflow/rag/res/ && \
tar --exclude='.*' -cf - \
/huggingface.co/InfiniFlow/text_concat_xgb_v1.0 \
/huggingface.co/InfiniFlow/deepdoc \
| tar -xf - --strip-components=3 -C /ragflow/rag/res/deepdoc
| tar -xf - --strip-components=3 -C /ragflow/rag/res/deepdoc
RUN --mount=type=bind,from=infiniflow/ragflow_deps:latest,source=/huggingface.co,target=/huggingface.co \
if [ "$LIGHTEN" != "1" ]; then \
(tar -cf - \

+ 1
- 0
download_deps.py Zobrazit soubor

@@ -22,6 +22,7 @@ urls = [
repos = [
"InfiniFlow/text_concat_xgb_v1.0",
"InfiniFlow/deepdoc",
"InfiniFlow/huqie",
"BAAI/bge-large-zh-v1.5",
"BAAI/bge-reranker-v2-m3",
"maidalun1020/bce-embedding-base_v1",

Načítá se…
Zrušit
Uložit