├── README.md └── Ziwei-Chatglm3-6B ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yaml │ └── feature-request.yaml └── PULL_REQUEST_TEMPLATE │ └── pr_template.md ├── .gitignore ├── MODEL_LICENSE ├── composite_demo ├── .streamlit │ └── config.toml ├── assets │ ├── demo.png │ ├── emojis.png │ ├── heart.png │ └── tool.png ├── client.py ├── conversation.py ├── demo_chat.py ├── main.py ├── requirements.txt └── tool_registry.py ├── data └── output.json ├── finetune_demo ├── =1.3.0 ├── README.md ├── arguments.py ├── configs │ └── deepspeed.json ├── finetune.py ├── inference.py ├── preprocess_utils.py ├── scripts │ ├── finetune_ds.sh │ ├── finetune_ds_multiturn.sh │ ├── finetune_pt.sh │ ├── finetune_pt_multiturn.sh │ ├── format_advertise_gen.py │ └── format_tool_alpaca.py └── trainer.py ├── openai_api ├── openai_api.py ├── openai_api_request.py ├── requirements.txt └── utils.py ├── requirements.txt ├── useChroma └── build_chroma.py └── with_prompt ├── prompt_web.py └── utils.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/README.md -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/.github/ISSUE_TEMPLATE/bug_report.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/.github/ISSUE_TEMPLATE/bug_report.yaml -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/.github/ISSUE_TEMPLATE/feature-request.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/.github/ISSUE_TEMPLATE/feature-request.yaml -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/.github/PULL_REQUEST_TEMPLATE/pr_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/.github/PULL_REQUEST_TEMPLATE/pr_template.md -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/.gitignore -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/MODEL_LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/MODEL_LICENSE -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/composite_demo/.streamlit/config.toml: -------------------------------------------------------------------------------- 1 | [theme] 2 | font = "monospace" -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/composite_demo/assets/demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/composite_demo/assets/demo.png -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/composite_demo/assets/emojis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/composite_demo/assets/emojis.png -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/composite_demo/assets/heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/composite_demo/assets/heart.png -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/composite_demo/assets/tool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/composite_demo/assets/tool.png -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/composite_demo/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/composite_demo/client.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/composite_demo/conversation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/composite_demo/conversation.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/composite_demo/demo_chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/composite_demo/demo_chat.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/composite_demo/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/composite_demo/main.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/composite_demo/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/composite_demo/requirements.txt -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/composite_demo/tool_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/composite_demo/tool_registry.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/data/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/data/output.json -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/finetune_demo/=1.3.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/finetune_demo/=1.3.0 -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/finetune_demo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/finetune_demo/README.md -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/finetune_demo/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/finetune_demo/arguments.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/finetune_demo/configs/deepspeed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/finetune_demo/configs/deepspeed.json -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/finetune_demo/finetune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/finetune_demo/finetune.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/finetune_demo/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/finetune_demo/inference.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/finetune_demo/preprocess_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/finetune_demo/preprocess_utils.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/finetune_demo/scripts/finetune_ds.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/finetune_demo/scripts/finetune_ds.sh -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/finetune_demo/scripts/finetune_ds_multiturn.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/finetune_demo/scripts/finetune_ds_multiturn.sh -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/finetune_demo/scripts/finetune_pt.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/finetune_demo/scripts/finetune_pt.sh -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/finetune_demo/scripts/finetune_pt_multiturn.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/finetune_demo/scripts/finetune_pt_multiturn.sh -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/finetune_demo/scripts/format_advertise_gen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/finetune_demo/scripts/format_advertise_gen.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/finetune_demo/scripts/format_tool_alpaca.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/finetune_demo/scripts/format_tool_alpaca.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/finetune_demo/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/finetune_demo/trainer.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/openai_api/openai_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/openai_api/openai_api.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/openai_api/openai_api_request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/openai_api/openai_api_request.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/openai_api/requirements.txt: -------------------------------------------------------------------------------- 1 | openai>=1.3.0 2 | pydantic>=2.5.1 -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/openai_api/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/openai_api/utils.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/requirements.txt -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/useChroma/build_chroma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/useChroma/build_chroma.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/with_prompt/prompt_web.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/with_prompt/prompt_web.py -------------------------------------------------------------------------------- /Ziwei-Chatglm3-6B/with_prompt/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myCSAI/Ziwei/HEAD/Ziwei-Chatglm3-6B/with_prompt/utils.py --------------------------------------------------------------------------------