init
Showing
.dockerignore
0 → 100644
.gitignore
0 → 100644
Dockerfile
0 → 100644
Makefile
0 → 100644
deps/export.sql
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
deps/requirements.txt
0 → 100644
deps/sources.list
0 → 100644
docker/codeserver/start.sh
0 → 100644
docker/vector/docker-compose-vecdb.yaml
0 → 100644
docker/vector/export_sql.sh
0 → 100644
docs/swagger.json
0 → 100644
images/eval/chatglm.png
0 → 100644
60.1 KB
images/eval/chatglm2.png
0 → 100644
35.7 KB
images/loss/chatglm.png
0 → 100644
130 KB
images/loss/spdsvb.png
0 → 100644
89.8 KB
images/loss/spdsvb_v11.png
0 → 100644
101 KB
package.sh
0 → 100644
src/common/__init__.py
0 → 100644
src/common/consts.py
0 → 100644
src/contract/__init__.py
0 → 100644
src/contract/callbacks.py
0 → 100644
src/contract/documentqa.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/contract/extraction.py
0 → 100644
src/contract/prompts.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/llm/__init__.py
0 → 100644
src/llm/baichuan.py
0 → 100644
src/llm/chatglm.py
0 → 100644
src/llm/chatglm_openapi.py
0 → 100644
src/llm/ernie.py
0 → 100644
src/llm/ernie_sdk.py
0 → 100644
src/llm/ernie_with_sdk.py
0 → 100644
src/llm/loader.py
0 → 100644
src/llm/spark.py
0 → 100644
src/llm/wrapper.py
0 → 100644
src/llm/xinghuo/SparkApi.py
0 → 100644
src/llm/xinghuo/test.py
0 → 100644
src/llm/xinghuo/ws.py
0 → 100644
src/loader/__init__.py
0 → 100644
src/loader/callback.py
0 → 100644
src/loader/chinese_text_splitter.py
0 → 100644
src/loader/config.py
0 → 100644
src/loader/load.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/loader/zh_title_enhance.py
0 → 100644
src/qa/__init__.py
0 → 100644
src/qa/generator.py
0 → 100644
src/qa/prompts.py
0 → 100644
src/qa/question.py
0 → 100644
src/requirments.txt
0 → 100644
src/scenarios/contract/chat.py
0 → 100644
src/scenarios/contract/restful_server.py
0 → 100644
src/scenarios/contract/web.py
0 → 100644
src/scenarios/model_server/run_chatglm2.sh
0 → 100644
src/scenarios/model_server/run_spdsvb.sh
0 → 100644
src/scenarios/model_server/server.py
0 → 100644
src/scenarios/model_server/server_openai.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/scenarios/psbc/ac_pattern.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/scenarios/psbc/api.py
0 → 100644
src/scenarios/psbc/demo_mcq_tfq.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/scenarios/psbc/demo_ml_headings.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/scenarios/psbc/demo_ml_headings_up.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/scenarios/psbc/demo_qa.py
0 → 100644
src/scenarios/psbc/demo_stc.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/scenarios/psbc/demo_typos.py
0 → 100644
src/scenarios/psbc/files/mcq.csv
0 → 100644
src/scenarios/psbc/files/qa.csv
0 → 100644
src/scenarios/psbc/files/stc.csv
0 → 100644
src/scenarios/psbc/files/tfq.csv
0 → 100644
src/scenarios/psbc/generate_centens.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/scenarios/psbc/logo/favion.png
0 → 100644
32 KB
src/scenarios/psbc/model_serve.py
0 → 100644
src/scenarios/psbc/prompts.py
0 → 100644
src/scenarios/psbc/web_demo.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/scenarios/psbc/web_gradio.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/scenarios/psbc/web_knowledge.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/scenarios/spdsvb/VectorCallback.py
0 → 100644
src/scenarios/spdsvb/chatbot.py
0 → 100644
src/scenarios/spdsvb/exam.py
0 → 100644
src/scenarios/spdsvb/extract.py
0 → 100644
src/scenarios/spdsvb/restful_server.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/scenarios/spdsvb/similarity.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/scenarios/spdsvb/unit_test.py
0 → 100644
src/scenarios/spdsvb/web_solution.py
0 → 100644
src/tools/assistant/qagenerator.py
0 → 100644
src/tools/assistant/test_qa.py
0 → 100644
src/tools/assistant/train_data.py
0 → 100644
src/tools/assistant/web_qa.py
0 → 100644
src/tools/eval.py
0 → 100644
src/tools/loss.py
0 → 100644
src/tools/mindformers_dataset.py
0 → 100644
src/tools/wxdata.py
0 → 100644
src/tuning/chatglm/__init__.py
0 → 100644
src/tuning/chatglm/common.sh
0 → 100644
src/tuning/chatglm/config_qlora.json
0 → 100644
This diff is collapsed.
Click to expand it.
src/tuning/chatglm/data.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/tuning/chatglm/eval.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/tuning/chatglm/keras_model.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/tuning/chatglm/lora.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/tuning/chatglm/lora_single.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/tuning/chatglm/pt.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/tuning/chatglm/ptuning/arguments.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/tuning/chatglm/ptuning/trainer.py
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/tuning/chatglm/qlora.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/tuning/chatglm/run_cli.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/tuning/chatglm/run_single.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/tuning/chatglm/save.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/tuning/chatglm/train_lora.sh
0 → 100644
This diff is collapsed.
Click to expand it.
src/tuning/chatglm/train_pt.sh
0 → 100644
This diff is collapsed.
Click to expand it.
src/tuning/chatglm/train_qlora.sh
0 → 100644
This diff is collapsed.
Click to expand it.
src/vector/README.md
0 → 100644
This diff is collapsed.
Click to expand it.
src/vector/VectorCallback.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/vector/__init__.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/vector/load_vector.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/vector/pgsql/__init__.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/vector/pgsql/db.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/vector/pgsql/txt_doc.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/vector/pgsql/vec_txt.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/vector/pgsqldocstore.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/vector/requirments.txt
0 → 100644
This diff is collapsed.
Click to expand it.
src/vector/similarity.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/vector/sync_curvector.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/web_contract.py
0 → 100644
This diff is collapsed.
Click to expand it.
src/web_qa.py
0 → 100644
This diff is collapsed.
Click to expand it.
task.sh
0 → 100644
This diff is collapsed.
Click to expand it.