├── .gitignore ├── LICENSE ├── README-ZH.md ├── README.md ├── assets ├── HackMentor.png └── zeno_.xlsx ├── chat.py ├── data ├── sec_turn-1.0.json └── seed_generation-14k.json ├── eval ├── ChatArena │ ├── Chatbot_Arena_Elo_Ratings_Calculation.ipynb │ ├── battles.jsonl │ └── figs │ │ ├── battle_counts.png │ │ ├── battle_counts.svg │ │ ├── battle_counts_no_ties.png │ │ ├── battle_counts_no_ties.svg │ │ ├── battle_counts_ties.png │ │ ├── battle_counts_ties.svg │ │ ├── elo_predicted_win_rate.png │ │ └── elo_predicted_win_rate.svg ├── WinRate │ ├── llama-13b-lora-iio_vs_apimodel.jsonl │ ├── llama-13b-lora-turn_vs_apimodel.jsonl │ ├── llama-13b_vs_apimodel.jsonl │ ├── llama-7b-lora-iio_vs_apimodel.jsonl │ ├── llama-7b-lora-turn_vs_apimodel.jsonl │ ├── llama-7b_vs_apimodel.jsonl │ ├── results.csv │ ├── win_rate.svg │ └── win_rate_calculate.ipynb ├── ZenoEval │ ├── __init__.py │ ├── config.py │ ├── infer.py │ ├── modeling.py │ ├── priv_key.py │ └── zeno_eval.py ├── eval_data │ ├── eval_seed_data.json │ ├── eval_turn_data.json │ └── eval_turn_data_cached.json └── infer.py ├── models └── pretrained │ └── Placing Base-LLMs Here ├── prompt_data ├── prompt │ ├── brainstorming_prompt-en.txt │ ├── consultant-prompt.txt │ ├── seed_prompt.txt │ └── text_prompt.txt └── seed_instructions.json ├── requirements.txt ├── scripts ├── infer_test.sh └── train_lora.sh ├── train ├── README.md ├── fastchat │ ├── __init__.py │ ├── constants.py │ ├── conversation.py │ ├── data │ │ ├── __init__.py │ │ ├── clean_sharegpt.py │ │ ├── hardcoded_questions.py │ │ ├── inspect_data.py │ │ ├── merge.py │ │ ├── optional_clean.py │ │ ├── pretty_json.py │ │ ├── sample.py │ │ └── split_long_conversation.py │ ├── eval │ │ ├── README.md │ │ ├── eval_gpt_review.py │ │ ├── generate_webpage_data_from_table.py │ │ ├── get_model_answer.py │ │ ├── qa_baseline_gpt35.py │ │ ├── requirements.txt │ │ ├── script │ │ │ └── run_model_qa.yaml │ │ ├── table │ │ │ ├── answer │ │ │ │ ├── answer_alpaca-13b.jsonl │ │ │ │ ├── answer_bard.jsonl │ │ │ │ ├── answer_gpt35.jsonl │ │ │ │ ├── answer_llama-13b.jsonl │ │ │ │ ├── answer_vicuna-13b-20230322-new-hp-fp16.jsonl │ │ │ │ ├── answer_vicuna-13b.jsonl │ │ │ │ └── answer_vicuna-7b-20230322-fp16.jsonl │ │ │ ├── model.jsonl │ │ │ ├── prompt.jsonl │ │ │ ├── question.jsonl │ │ │ ├── review │ │ │ │ ├── others │ │ │ │ │ └── review_llama_alpaca-13b.jsonl │ │ │ │ ├── vicuna-13b_20230322-clean-lang │ │ │ │ │ ├── review_alpaca-13b_vicuna-13b.jsonl │ │ │ │ │ ├── review_bard_vicuna-13b.jsonl │ │ │ │ │ ├── review_gpt35_vicuna-13b.jsonl │ │ │ │ │ └── review_llama-13b_vicuna-13b.jsonl │ │ │ │ ├── vicuna-13b_20230322-new-hp-fp16 │ │ │ │ │ ├── review_alpaca-13b_vicuna-13b-20230322-new-hp-fp16.jsonl │ │ │ │ │ ├── review_bard_vicuna-13b-20230322-new-hp-fp16.jsonl │ │ │ │ │ ├── review_gpt35_vicuna-13b-20230322-new-hp-fp16.jsonl │ │ │ │ │ └── review_llama_vicuna-13b-20230322-new-hp-fp16.jsonl │ │ │ │ └── vicuna-7b_20230322-fp16 │ │ │ │ │ ├── review_alpaca-13b_vicuna-7b.jsonl │ │ │ │ │ ├── review_bard_vicuna-7b.jsonl │ │ │ │ │ ├── review_gpt35_vicuna-7b.jsonl │ │ │ │ │ └── review_llama_vicuna-7b.jsonl │ │ │ └── reviewer.jsonl │ │ └── webpage │ │ │ ├── figures │ │ │ ├── alpaca.png │ │ │ ├── bard.jpg │ │ │ ├── chatgpt.svg │ │ │ ├── llama.jpg │ │ │ ├── swords_FILL0_wght300_GRAD0_opsz48.svg │ │ │ └── vicuna.jpeg │ │ │ ├── index.html │ │ │ ├── script.js │ │ │ └── styles.css │ ├── model │ │ ├── __init__.py │ │ ├── apply_delta.py │ │ ├── apply_lora.py │ │ ├── chatglm_model.py │ │ ├── compression.py │ │ ├── convert_fp16.py │ │ ├── make_delta.py │ │ ├── model_adapter.py │ │ ├── model_registry.py │ │ ├── monkey_patch_non_inplace.py │ │ └── rwkv_model.py │ ├── protocol │ │ └── openai_api_protocol.py │ ├── serve │ │ ├── __init__.py │ │ ├── api_provider.py │ │ ├── bard_worker.py │ │ ├── cacheflow_worker.py │ │ ├── cli.py │ │ ├── controller.py │ │ ├── gateway │ │ │ ├── README.md │ │ │ └── nginx.conf │ │ ├── gradio_block_arena_anony.py │ │ ├── gradio_block_arena_named.py │ │ ├── gradio_css.py │ │ ├── gradio_patch.py │ │ ├── gradio_web_server.py │ │ ├── gradio_web_server_multi.py │ │ ├── huggingface_api.py │ │ ├── inference.py │ │ ├── model_worker.py │ │ ├── monitor │ │ │ ├── basic_stats.py │ │ │ ├── clean_battle_data.py │ │ │ ├── elo_analysis.py │ │ │ ├── hf_space_leaderboard_app.py │ │ │ └── monitor.py │ │ ├── openai_api_server.py │ │ ├── register_worker.py │ │ ├── test_message.py │ │ └── test_throughput.py │ ├── train │ │ ├── llama_flash_attn_monkey_patch.py │ │ ├── train.py │ │ ├── train_flant5.py │ │ ├── train_lora.py │ │ └── train_mem.py │ └── utils.py ├── train.py ├── train_lora-turn.py ├── train_lora.py └── train_lora_iio.py └── utils └── api_parallel.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/LICENSE -------------------------------------------------------------------------------- /README-ZH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/README-ZH.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/README.md -------------------------------------------------------------------------------- /assets/HackMentor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/assets/HackMentor.png -------------------------------------------------------------------------------- /assets/zeno_.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/assets/zeno_.xlsx -------------------------------------------------------------------------------- /chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/chat.py -------------------------------------------------------------------------------- /data/sec_turn-1.0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/data/sec_turn-1.0.json -------------------------------------------------------------------------------- /data/seed_generation-14k.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/data/seed_generation-14k.json -------------------------------------------------------------------------------- /eval/ChatArena/Chatbot_Arena_Elo_Ratings_Calculation.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/ChatArena/Chatbot_Arena_Elo_Ratings_Calculation.ipynb -------------------------------------------------------------------------------- /eval/ChatArena/battles.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/ChatArena/battles.jsonl -------------------------------------------------------------------------------- /eval/ChatArena/figs/battle_counts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/ChatArena/figs/battle_counts.png -------------------------------------------------------------------------------- /eval/ChatArena/figs/battle_counts.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/ChatArena/figs/battle_counts.svg -------------------------------------------------------------------------------- /eval/ChatArena/figs/battle_counts_no_ties.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/ChatArena/figs/battle_counts_no_ties.png -------------------------------------------------------------------------------- /eval/ChatArena/figs/battle_counts_no_ties.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/ChatArena/figs/battle_counts_no_ties.svg -------------------------------------------------------------------------------- /eval/ChatArena/figs/battle_counts_ties.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/ChatArena/figs/battle_counts_ties.png -------------------------------------------------------------------------------- /eval/ChatArena/figs/battle_counts_ties.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/ChatArena/figs/battle_counts_ties.svg -------------------------------------------------------------------------------- /eval/ChatArena/figs/elo_predicted_win_rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/ChatArena/figs/elo_predicted_win_rate.png -------------------------------------------------------------------------------- /eval/ChatArena/figs/elo_predicted_win_rate.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/ChatArena/figs/elo_predicted_win_rate.svg -------------------------------------------------------------------------------- /eval/WinRate/llama-13b-lora-iio_vs_apimodel.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/WinRate/llama-13b-lora-iio_vs_apimodel.jsonl -------------------------------------------------------------------------------- /eval/WinRate/llama-13b-lora-turn_vs_apimodel.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/WinRate/llama-13b-lora-turn_vs_apimodel.jsonl -------------------------------------------------------------------------------- /eval/WinRate/llama-13b_vs_apimodel.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/WinRate/llama-13b_vs_apimodel.jsonl -------------------------------------------------------------------------------- /eval/WinRate/llama-7b-lora-iio_vs_apimodel.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/WinRate/llama-7b-lora-iio_vs_apimodel.jsonl -------------------------------------------------------------------------------- /eval/WinRate/llama-7b-lora-turn_vs_apimodel.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/WinRate/llama-7b-lora-turn_vs_apimodel.jsonl -------------------------------------------------------------------------------- /eval/WinRate/llama-7b_vs_apimodel.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/WinRate/llama-7b_vs_apimodel.jsonl -------------------------------------------------------------------------------- /eval/WinRate/results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/WinRate/results.csv -------------------------------------------------------------------------------- /eval/WinRate/win_rate.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/WinRate/win_rate.svg -------------------------------------------------------------------------------- /eval/WinRate/win_rate_calculate.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/WinRate/win_rate_calculate.ipynb -------------------------------------------------------------------------------- /eval/ZenoEval/__init__.py: -------------------------------------------------------------------------------- 1 | """A package for analyzing chatbot results.""" 2 | -------------------------------------------------------------------------------- /eval/ZenoEval/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/ZenoEval/config.py -------------------------------------------------------------------------------- /eval/ZenoEval/infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/ZenoEval/infer.py -------------------------------------------------------------------------------- /eval/ZenoEval/modeling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/ZenoEval/modeling.py -------------------------------------------------------------------------------- /eval/ZenoEval/priv_key.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/ZenoEval/priv_key.py -------------------------------------------------------------------------------- /eval/ZenoEval/zeno_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/ZenoEval/zeno_eval.py -------------------------------------------------------------------------------- /eval/eval_data/eval_seed_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/eval_data/eval_seed_data.json -------------------------------------------------------------------------------- /eval/eval_data/eval_turn_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/eval_data/eval_turn_data.json -------------------------------------------------------------------------------- /eval/eval_data/eval_turn_data_cached.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/eval_data/eval_turn_data_cached.json -------------------------------------------------------------------------------- /eval/infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/eval/infer.py -------------------------------------------------------------------------------- /models/pretrained/Placing Base-LLMs Here: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/models/pretrained/Placing Base-LLMs Here -------------------------------------------------------------------------------- /prompt_data/prompt/brainstorming_prompt-en.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/prompt_data/prompt/brainstorming_prompt-en.txt -------------------------------------------------------------------------------- /prompt_data/prompt/consultant-prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/prompt_data/prompt/consultant-prompt.txt -------------------------------------------------------------------------------- /prompt_data/prompt/seed_prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/prompt_data/prompt/seed_prompt.txt -------------------------------------------------------------------------------- /prompt_data/prompt/text_prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/prompt_data/prompt/text_prompt.txt -------------------------------------------------------------------------------- /prompt_data/seed_instructions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/prompt_data/seed_instructions.json -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/infer_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/scripts/infer_test.sh -------------------------------------------------------------------------------- /scripts/train_lora.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/scripts/train_lora.sh -------------------------------------------------------------------------------- /train/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/README.md -------------------------------------------------------------------------------- /train/fastchat/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = "0.2.11" 2 | -------------------------------------------------------------------------------- /train/fastchat/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/constants.py -------------------------------------------------------------------------------- /train/fastchat/conversation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/conversation.py -------------------------------------------------------------------------------- /train/fastchat/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /train/fastchat/data/clean_sharegpt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/data/clean_sharegpt.py -------------------------------------------------------------------------------- /train/fastchat/data/hardcoded_questions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/data/hardcoded_questions.py -------------------------------------------------------------------------------- /train/fastchat/data/inspect_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/data/inspect_data.py -------------------------------------------------------------------------------- /train/fastchat/data/merge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/data/merge.py -------------------------------------------------------------------------------- /train/fastchat/data/optional_clean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/data/optional_clean.py -------------------------------------------------------------------------------- /train/fastchat/data/pretty_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/data/pretty_json.py -------------------------------------------------------------------------------- /train/fastchat/data/sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/data/sample.py -------------------------------------------------------------------------------- /train/fastchat/data/split_long_conversation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/data/split_long_conversation.py -------------------------------------------------------------------------------- /train/fastchat/eval/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/README.md -------------------------------------------------------------------------------- /train/fastchat/eval/eval_gpt_review.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/eval_gpt_review.py -------------------------------------------------------------------------------- /train/fastchat/eval/generate_webpage_data_from_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/generate_webpage_data_from_table.py -------------------------------------------------------------------------------- /train/fastchat/eval/get_model_answer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/get_model_answer.py -------------------------------------------------------------------------------- /train/fastchat/eval/qa_baseline_gpt35.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/qa_baseline_gpt35.py -------------------------------------------------------------------------------- /train/fastchat/eval/requirements.txt: -------------------------------------------------------------------------------- 1 | shortuuid 2 | ray -------------------------------------------------------------------------------- /train/fastchat/eval/script/run_model_qa.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/script/run_model_qa.yaml -------------------------------------------------------------------------------- /train/fastchat/eval/table/answer/answer_alpaca-13b.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/answer/answer_alpaca-13b.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/answer/answer_bard.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/answer/answer_bard.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/answer/answer_gpt35.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/answer/answer_gpt35.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/answer/answer_llama-13b.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/answer/answer_llama-13b.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/answer/answer_vicuna-13b-20230322-new-hp-fp16.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/answer/answer_vicuna-13b-20230322-new-hp-fp16.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/answer/answer_vicuna-13b.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/answer/answer_vicuna-13b.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/answer/answer_vicuna-7b-20230322-fp16.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/answer/answer_vicuna-7b-20230322-fp16.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/model.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/model.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/prompt.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/prompt.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/question.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/question.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/review/others/review_llama_alpaca-13b.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/review/others/review_llama_alpaca-13b.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/review/vicuna-13b_20230322-clean-lang/review_alpaca-13b_vicuna-13b.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/review/vicuna-13b_20230322-clean-lang/review_alpaca-13b_vicuna-13b.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/review/vicuna-13b_20230322-clean-lang/review_bard_vicuna-13b.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/review/vicuna-13b_20230322-clean-lang/review_bard_vicuna-13b.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/review/vicuna-13b_20230322-clean-lang/review_gpt35_vicuna-13b.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/review/vicuna-13b_20230322-clean-lang/review_gpt35_vicuna-13b.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/review/vicuna-13b_20230322-clean-lang/review_llama-13b_vicuna-13b.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/review/vicuna-13b_20230322-clean-lang/review_llama-13b_vicuna-13b.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/review/vicuna-13b_20230322-new-hp-fp16/review_alpaca-13b_vicuna-13b-20230322-new-hp-fp16.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/review/vicuna-13b_20230322-new-hp-fp16/review_alpaca-13b_vicuna-13b-20230322-new-hp-fp16.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/review/vicuna-13b_20230322-new-hp-fp16/review_bard_vicuna-13b-20230322-new-hp-fp16.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/review/vicuna-13b_20230322-new-hp-fp16/review_bard_vicuna-13b-20230322-new-hp-fp16.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/review/vicuna-13b_20230322-new-hp-fp16/review_gpt35_vicuna-13b-20230322-new-hp-fp16.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/review/vicuna-13b_20230322-new-hp-fp16/review_gpt35_vicuna-13b-20230322-new-hp-fp16.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/review/vicuna-13b_20230322-new-hp-fp16/review_llama_vicuna-13b-20230322-new-hp-fp16.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/review/vicuna-13b_20230322-new-hp-fp16/review_llama_vicuna-13b-20230322-new-hp-fp16.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/review/vicuna-7b_20230322-fp16/review_alpaca-13b_vicuna-7b.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/review/vicuna-7b_20230322-fp16/review_alpaca-13b_vicuna-7b.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/review/vicuna-7b_20230322-fp16/review_bard_vicuna-7b.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/review/vicuna-7b_20230322-fp16/review_bard_vicuna-7b.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/review/vicuna-7b_20230322-fp16/review_gpt35_vicuna-7b.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/review/vicuna-7b_20230322-fp16/review_gpt35_vicuna-7b.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/review/vicuna-7b_20230322-fp16/review_llama_vicuna-7b.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/review/vicuna-7b_20230322-fp16/review_llama_vicuna-7b.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/table/reviewer.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/table/reviewer.jsonl -------------------------------------------------------------------------------- /train/fastchat/eval/webpage/figures/alpaca.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/webpage/figures/alpaca.png -------------------------------------------------------------------------------- /train/fastchat/eval/webpage/figures/bard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/webpage/figures/bard.jpg -------------------------------------------------------------------------------- /train/fastchat/eval/webpage/figures/chatgpt.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/webpage/figures/chatgpt.svg -------------------------------------------------------------------------------- /train/fastchat/eval/webpage/figures/llama.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/webpage/figures/llama.jpg -------------------------------------------------------------------------------- /train/fastchat/eval/webpage/figures/swords_FILL0_wght300_GRAD0_opsz48.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/webpage/figures/swords_FILL0_wght300_GRAD0_opsz48.svg -------------------------------------------------------------------------------- /train/fastchat/eval/webpage/figures/vicuna.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/webpage/figures/vicuna.jpeg -------------------------------------------------------------------------------- /train/fastchat/eval/webpage/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/webpage/index.html -------------------------------------------------------------------------------- /train/fastchat/eval/webpage/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/webpage/script.js -------------------------------------------------------------------------------- /train/fastchat/eval/webpage/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/eval/webpage/styles.css -------------------------------------------------------------------------------- /train/fastchat/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/model/__init__.py -------------------------------------------------------------------------------- /train/fastchat/model/apply_delta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/model/apply_delta.py -------------------------------------------------------------------------------- /train/fastchat/model/apply_lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/model/apply_lora.py -------------------------------------------------------------------------------- /train/fastchat/model/chatglm_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/model/chatglm_model.py -------------------------------------------------------------------------------- /train/fastchat/model/compression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/model/compression.py -------------------------------------------------------------------------------- /train/fastchat/model/convert_fp16.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/model/convert_fp16.py -------------------------------------------------------------------------------- /train/fastchat/model/make_delta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/model/make_delta.py -------------------------------------------------------------------------------- /train/fastchat/model/model_adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/model/model_adapter.py -------------------------------------------------------------------------------- /train/fastchat/model/model_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/model/model_registry.py -------------------------------------------------------------------------------- /train/fastchat/model/monkey_patch_non_inplace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/model/monkey_patch_non_inplace.py -------------------------------------------------------------------------------- /train/fastchat/model/rwkv_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/model/rwkv_model.py -------------------------------------------------------------------------------- /train/fastchat/protocol/openai_api_protocol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/protocol/openai_api_protocol.py -------------------------------------------------------------------------------- /train/fastchat/serve/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /train/fastchat/serve/api_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/api_provider.py -------------------------------------------------------------------------------- /train/fastchat/serve/bard_worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/bard_worker.py -------------------------------------------------------------------------------- /train/fastchat/serve/cacheflow_worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/cacheflow_worker.py -------------------------------------------------------------------------------- /train/fastchat/serve/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/cli.py -------------------------------------------------------------------------------- /train/fastchat/serve/controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/controller.py -------------------------------------------------------------------------------- /train/fastchat/serve/gateway/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/gateway/README.md -------------------------------------------------------------------------------- /train/fastchat/serve/gateway/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/gateway/nginx.conf -------------------------------------------------------------------------------- /train/fastchat/serve/gradio_block_arena_anony.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/gradio_block_arena_anony.py -------------------------------------------------------------------------------- /train/fastchat/serve/gradio_block_arena_named.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/gradio_block_arena_named.py -------------------------------------------------------------------------------- /train/fastchat/serve/gradio_css.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/gradio_css.py -------------------------------------------------------------------------------- /train/fastchat/serve/gradio_patch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/gradio_patch.py -------------------------------------------------------------------------------- /train/fastchat/serve/gradio_web_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/gradio_web_server.py -------------------------------------------------------------------------------- /train/fastchat/serve/gradio_web_server_multi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/gradio_web_server_multi.py -------------------------------------------------------------------------------- /train/fastchat/serve/huggingface_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/huggingface_api.py -------------------------------------------------------------------------------- /train/fastchat/serve/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/inference.py -------------------------------------------------------------------------------- /train/fastchat/serve/model_worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/model_worker.py -------------------------------------------------------------------------------- /train/fastchat/serve/monitor/basic_stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/monitor/basic_stats.py -------------------------------------------------------------------------------- /train/fastchat/serve/monitor/clean_battle_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/monitor/clean_battle_data.py -------------------------------------------------------------------------------- /train/fastchat/serve/monitor/elo_analysis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/monitor/elo_analysis.py -------------------------------------------------------------------------------- /train/fastchat/serve/monitor/hf_space_leaderboard_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/monitor/hf_space_leaderboard_app.py -------------------------------------------------------------------------------- /train/fastchat/serve/monitor/monitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/monitor/monitor.py -------------------------------------------------------------------------------- /train/fastchat/serve/openai_api_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/openai_api_server.py -------------------------------------------------------------------------------- /train/fastchat/serve/register_worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/register_worker.py -------------------------------------------------------------------------------- /train/fastchat/serve/test_message.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/test_message.py -------------------------------------------------------------------------------- /train/fastchat/serve/test_throughput.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/serve/test_throughput.py -------------------------------------------------------------------------------- /train/fastchat/train/llama_flash_attn_monkey_patch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/train/llama_flash_attn_monkey_patch.py -------------------------------------------------------------------------------- /train/fastchat/train/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/train/train.py -------------------------------------------------------------------------------- /train/fastchat/train/train_flant5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/train/train_flant5.py -------------------------------------------------------------------------------- /train/fastchat/train/train_lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/train/train_lora.py -------------------------------------------------------------------------------- /train/fastchat/train/train_mem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/train/train_mem.py -------------------------------------------------------------------------------- /train/fastchat/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/fastchat/utils.py -------------------------------------------------------------------------------- /train/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/train.py -------------------------------------------------------------------------------- /train/train_lora-turn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/train_lora-turn.py -------------------------------------------------------------------------------- /train/train_lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/train_lora.py -------------------------------------------------------------------------------- /train/train_lora_iio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/train/train_lora_iio.py -------------------------------------------------------------------------------- /utils/api_parallel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmylla/HackMentor/HEAD/utils/api_parallel.py --------------------------------------------------------------------------------