├── 360ZHINAO_TECHNICAL_REPORT.pdf ├── 360k ├── README.md ├── niah │ ├── chinese_niah.py │ ├── model_api.py │ ├── original_niah.py │ └── value_retrieval_niah.py ├── plot │ ├── metrics.py │ └── plot.py └── train.sft.EasyContext.py ├── 360智脑开源模型许可证.txt ├── LICENSE.txt ├── NOTICE.txt ├── README.md ├── README_CN.md ├── Reranking ├── finetune.py ├── finetune │ ├── ds_config_zero3.json │ └── finetune_ds.sh ├── flag_models.py ├── requirements.txt └── test_model.py ├── Retrieval ├── .DS_Store ├── eval │ ├── eval.sh │ ├── eval_C-MTEB.py │ ├── flag_dres_model.py │ ├── summarize_results.py │ └── test_model.py ├── finetune │ ├── arguments.py │ ├── data.py │ ├── data │ │ └── toy_finetune_data.json │ ├── ds_config_zero2.json │ ├── modeling.py │ ├── mytrainer.py │ ├── run.py │ └── train.sh └── requirements.txt ├── assets ├── 360Zhinao-7B-Chat-360K.en_score.png ├── 360Zhinao-7B-Chat-360K.zh_score.png ├── WeChat.png ├── cli_demo.gif ├── llama3-8B-360Zhinao-360k-Instruct.en_score.png ├── llama3-8B-360Zhinao-360k-Instruct.value_score.png ├── llama3-8B-360Zhinao-360k-Instruct.zh_score.png ├── open-262k.en_score.png └── web_demo.gif ├── cli_demo.py ├── data └── training_data_sample.json ├── finetune.py ├── finetune ├── ds_config_zero2.json ├── ds_config_zero3.json └── ds_finetune.sh ├── openai_api.py ├── requirements.txt ├── vllm ├── serving_chat.py ├── zhinao.py ├── zhinao_040.py ├── zhinao_041.py ├── zhinao_042.py ├── zhinao_050.py ├── zhinao_060.py ├── zhinao_066.py └── zhinao_084.py └── web_demo.py /360ZHINAO_TECHNICAL_REPORT.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/360ZHINAO_TECHNICAL_REPORT.pdf -------------------------------------------------------------------------------- /360k/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/360k/README.md -------------------------------------------------------------------------------- /360k/niah/chinese_niah.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/360k/niah/chinese_niah.py -------------------------------------------------------------------------------- /360k/niah/model_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/360k/niah/model_api.py -------------------------------------------------------------------------------- /360k/niah/original_niah.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/360k/niah/original_niah.py -------------------------------------------------------------------------------- /360k/niah/value_retrieval_niah.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/360k/niah/value_retrieval_niah.py -------------------------------------------------------------------------------- /360k/plot/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/360k/plot/metrics.py -------------------------------------------------------------------------------- /360k/plot/plot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/360k/plot/plot.py -------------------------------------------------------------------------------- /360k/train.sft.EasyContext.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/360k/train.sft.EasyContext.py -------------------------------------------------------------------------------- /360智脑开源模型许可证.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/360智脑开源模型许可证.txt -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /NOTICE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/NOTICE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/README.md -------------------------------------------------------------------------------- /README_CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/README_CN.md -------------------------------------------------------------------------------- /Reranking/finetune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Reranking/finetune.py -------------------------------------------------------------------------------- /Reranking/finetune/ds_config_zero3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Reranking/finetune/ds_config_zero3.json -------------------------------------------------------------------------------- /Reranking/finetune/finetune_ds.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Reranking/finetune/finetune_ds.sh -------------------------------------------------------------------------------- /Reranking/flag_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Reranking/flag_models.py -------------------------------------------------------------------------------- /Reranking/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Reranking/requirements.txt -------------------------------------------------------------------------------- /Reranking/test_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Reranking/test_model.py -------------------------------------------------------------------------------- /Retrieval/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Retrieval/.DS_Store -------------------------------------------------------------------------------- /Retrieval/eval/eval.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Retrieval/eval/eval.sh -------------------------------------------------------------------------------- /Retrieval/eval/eval_C-MTEB.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Retrieval/eval/eval_C-MTEB.py -------------------------------------------------------------------------------- /Retrieval/eval/flag_dres_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Retrieval/eval/flag_dres_model.py -------------------------------------------------------------------------------- /Retrieval/eval/summarize_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Retrieval/eval/summarize_results.py -------------------------------------------------------------------------------- /Retrieval/eval/test_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Retrieval/eval/test_model.py -------------------------------------------------------------------------------- /Retrieval/finetune/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Retrieval/finetune/arguments.py -------------------------------------------------------------------------------- /Retrieval/finetune/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Retrieval/finetune/data.py -------------------------------------------------------------------------------- /Retrieval/finetune/data/toy_finetune_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Retrieval/finetune/data/toy_finetune_data.json -------------------------------------------------------------------------------- /Retrieval/finetune/ds_config_zero2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Retrieval/finetune/ds_config_zero2.json -------------------------------------------------------------------------------- /Retrieval/finetune/modeling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Retrieval/finetune/modeling.py -------------------------------------------------------------------------------- /Retrieval/finetune/mytrainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Retrieval/finetune/mytrainer.py -------------------------------------------------------------------------------- /Retrieval/finetune/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Retrieval/finetune/run.py -------------------------------------------------------------------------------- /Retrieval/finetune/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Retrieval/finetune/train.sh -------------------------------------------------------------------------------- /Retrieval/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/Retrieval/requirements.txt -------------------------------------------------------------------------------- /assets/360Zhinao-7B-Chat-360K.en_score.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/assets/360Zhinao-7B-Chat-360K.en_score.png -------------------------------------------------------------------------------- /assets/360Zhinao-7B-Chat-360K.zh_score.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/assets/360Zhinao-7B-Chat-360K.zh_score.png -------------------------------------------------------------------------------- /assets/WeChat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/assets/WeChat.png -------------------------------------------------------------------------------- /assets/cli_demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/assets/cli_demo.gif -------------------------------------------------------------------------------- /assets/llama3-8B-360Zhinao-360k-Instruct.en_score.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/assets/llama3-8B-360Zhinao-360k-Instruct.en_score.png -------------------------------------------------------------------------------- /assets/llama3-8B-360Zhinao-360k-Instruct.value_score.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/assets/llama3-8B-360Zhinao-360k-Instruct.value_score.png -------------------------------------------------------------------------------- /assets/llama3-8B-360Zhinao-360k-Instruct.zh_score.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/assets/llama3-8B-360Zhinao-360k-Instruct.zh_score.png -------------------------------------------------------------------------------- /assets/open-262k.en_score.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/assets/open-262k.en_score.png -------------------------------------------------------------------------------- /assets/web_demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/assets/web_demo.gif -------------------------------------------------------------------------------- /cli_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/cli_demo.py -------------------------------------------------------------------------------- /data/training_data_sample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/data/training_data_sample.json -------------------------------------------------------------------------------- /finetune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/finetune.py -------------------------------------------------------------------------------- /finetune/ds_config_zero2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/finetune/ds_config_zero2.json -------------------------------------------------------------------------------- /finetune/ds_config_zero3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/finetune/ds_config_zero3.json -------------------------------------------------------------------------------- /finetune/ds_finetune.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/finetune/ds_finetune.sh -------------------------------------------------------------------------------- /openai_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/openai_api.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/requirements.txt -------------------------------------------------------------------------------- /vllm/serving_chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/vllm/serving_chat.py -------------------------------------------------------------------------------- /vllm/zhinao.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/vllm/zhinao.py -------------------------------------------------------------------------------- /vllm/zhinao_040.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/vllm/zhinao_040.py -------------------------------------------------------------------------------- /vllm/zhinao_041.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/vllm/zhinao_041.py -------------------------------------------------------------------------------- /vllm/zhinao_042.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/vllm/zhinao_042.py -------------------------------------------------------------------------------- /vllm/zhinao_050.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/vllm/zhinao_050.py -------------------------------------------------------------------------------- /vllm/zhinao_060.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/vllm/zhinao_060.py -------------------------------------------------------------------------------- /vllm/zhinao_066.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/vllm/zhinao_066.py -------------------------------------------------------------------------------- /vllm/zhinao_084.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/vllm/zhinao_084.py -------------------------------------------------------------------------------- /web_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qihoo360/360zhinao/HEAD/web_demo.py --------------------------------------------------------------------------------