An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.
586 matches across 14 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | playground/test_embedding/test_sentence_similarity.py | 2 | |
| LOW | tests/test_openai_api.py | 7 | |
| LOW | tests/load_test.py | 3 | |
| LOW | tests/load_test.py | 5 | |
| LOW | tests/load_test.py | 6 | |
| LOW | tests/test_cli.py | 2 | |
| LOW | fastchat/conversation.py | 11 | |
| LOW | fastchat/conversation.py | 13 | |
| LOW | fastchat/model/monkey_patch_non_inplace.py | 6 | |
| LOW | fastchat/model/model_exllama.py | 5 | |
| LOW | fastchat/model/rwkv_model.py | 5 | |
| LOW | fastchat/model/rwkv_model.py | 11 | |
| LOW | fastchat/model/rwkv_model.py | 11 | |
| LOW | fastchat/model/__init__.py | 1 | |
| LOW | fastchat/model/__init__.py | 1 | |
| LOW | fastchat/model/__init__.py | 1 | |
| LOW | fastchat/model/apply_delta.py | 17 | |
| LOW | fastchat/model/model_yuan2.py | 6 | |
| LOW | fastchat/model/model_cllm.py | 4 | |
| LOW | fastchat/model/model_cllm.py | 5 | |
| LOW | fastchat/model/model_cllm.py | 7 | |
| LOW | fastchat/model/model_cllm.py | 7 | |
| LOW | fastchat/model/model_cllm.py | 7 | |
| LOW | fastchat/model/model_cllm.py | 7 | |
| LOW | fastchat/model/model_cllm.py | 7 | |
| LOW | fastchat/model/model_cllm.py | 8 | |
| LOW | fastchat/model/model_cllm.py | 8 | |
| LOW | fastchat/model/model_cllm.py | 9 | |
| LOW | fastchat/model/model_cllm.py | 9 | |
| LOW | fastchat/model/model_cllm.py | 9 | |
| LOW | fastchat/model/model_cllm.py | 9 | |
| LOW | fastchat/model/model_cllm.py | 9 | |
| LOW | fastchat/model/model_cllm.py | 9 | |
| LOW | fastchat/model/model_cllm.py | 17 | |
| LOW | fastchat/model/model_cllm.py | 18 | |
| LOW | fastchat/model/model_falcon.py | 6 | |
| LOW | fastchat/model/model_adapter.py | 277 | |
| LOW | fastchat/model/model_codet5p.py | 4 | |
| LOW | fastchat/train/train_lora_t5.py | 16 | |
| LOW | fastchat/train/train_lora_t5.py | 17 | |
| LOW | fastchat/train/train_lora_t5.py | 20 | |
| LOW | fastchat/train/train_lora_t5.py | 21 | |
| LOW | fastchat/train/train_lora_t5.py | 24 | |
| LOW | fastchat/train/train_lora_t5.py | 24 | |
| LOW | fastchat/train/train_lora_t5.py | 27 | |
| LOW | fastchat/train/train_lora_t5.py | 30 | |
| LOW | fastchat/train/train_lora_t5.py | 31 | |
| LOW | fastchat/train/train_lora_t5.py | 35 | |
| LOW | fastchat/train/train_lora_t5.py | 36 | |
| LOW | fastchat/train/train_baichuan.py | 23 | |
| LOW | fastchat/train/train_baichuan.py | 32 | |
| LOW | fastchat/train/llama_flash_attn_monkey_patch.py | 5 | |
| LOW | fastchat/train/train.py | 21 | |
| LOW | fastchat/train/train.py | 23 | |
| LOW | fastchat/train/train_yuan2.py | 21 | |
| LOW | fastchat/train/train_yuan2.py | 23 | |
| LOW | fastchat/train/train_yuan2.py | 30 | |
| LOW | fastchat/train/train_with_template.py | 23 | |
| LOW | fastchat/serve/gradio_web_server.py | 6 | |
| LOW | fastchat/serve/gradio_web_server.py | 8 | |
| 144 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | playground/benchmark/benchmark_api_provider.py | 25 | def sample_image_and_question(random_questions_dict, index): |
| LOW | playground/test_embedding/test_semantic_search.py | 40 | def create_embedding_data_frame(data_path, model, max_tokens=500): |
| LOW | playground/test_embedding/test_classification.py | 38 | def create_embedding_data_frame(data_path, model, max_tokens=500): |
| LOW | tests/test_image_utils.py | 56 | def test_dont_resize_if_less_than_max(self): |
| LOW | tests/test_image_utils.py | 74 | def test_resize_large_image_and_send_to_moderation_filter(self): |
| LOW | tests/test_image_utils.py | 84 | def test_dont_resize_if_max_image_size_is_none(self): |
| LOW | tests/test_openai_api.py | 72 | def test_chat_completion_stream(model): |
| LOW | tests/test_openai_vision_api.py | 97 | def test_chat_completion_stream(model): |
| LOW | docs/commands/webserver.md | 84 | def check_deprecated_parameters( |
| LOW | fastchat/conversation.py | 383 | def to_openai_vision_api_messages(self, is_mistral=False): |
| LOW | fastchat/conversation.py | 492 | def to_anthropic_vision_api_messages(self): |
| LOW | fastchat/conversation.py | 641 | def extract_text_and_image_hashes_from_messages(self): |
| LOW | fastchat/utils.py | 458 | def image_moderation_provider(image, api_type): |
| LOW | fastchat/model/monkey_patch_non_inplace.py | 117 | def replace_llama_attn_with_non_inplace_operations(): |
| LOW | fastchat/model/llama_condense_monkey_patch.py | 68 | def replace_llama_with_condense(ratio): |
| LOW | fastchat/model/model_adapter.py | 2079 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2089 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2099 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2109 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2119 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2129 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2139 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2199 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2209 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2219 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2297 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2307 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2317 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2327 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2337 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2347 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2399 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2409 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 2419 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 143 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 175 | def raise_warning_for_incompatible_cpu_offloading_configuration( |
| LOW | fastchat/model/model_adapter.py | 398 | def get_conversation_template(model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 404 | def get_generate_stream_function(model: torch.nn.Module, model_path: str): |
| LOW | fastchat/model/model_adapter.py | 620 | def remove_parent_directory_name(model_path): |
| LOW | fastchat/model/model_adapter.py | 688 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 723 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 728 | def raise_warning_for_old_weights(self, model): |
| LOW | fastchat/model/model_adapter.py | 748 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 796 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 829 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 841 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 869 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 894 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 918 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 929 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 950 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 964 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 974 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 997 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 1024 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 1048 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 1068 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 1080 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 1090 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| LOW | fastchat/model/model_adapter.py | 1107 | def get_default_conv_template(self, model_path: str) -> Conversation: |
| 140 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/load_test.py | 12 | |
| LOW | tests/load_test.py | 66 | |
| LOW | fastchat/conversation.py | 76 | |
| LOW | fastchat/conversation.py | 330 | |
| LOW | fastchat/conversation.py | 362 | |
| LOW | fastchat/conversation.py | 383 | |
| LOW | fastchat/conversation.py | 440 | |
| LOW | fastchat/conversation.py | 464 | |
| LOW | fastchat/conversation.py | 492 | |
| LOW | fastchat/conversation.py | 532 | |
| LOW | fastchat/conversation.py | 611 | |
| LOW | fastchat/conversation.py | 641 | |
| LOW | fastchat/utils.py | 152 | |
| LOW | fastchat/utils.py | 379 | |
| LOW | fastchat/model/apply_delta.py | 25 | |
| LOW | fastchat/model/apply_delta.py | 70 | |
| LOW | fastchat/model/model_yuan2.py | 13 | |
| LOW | fastchat/model/model_cllm.py | 109 | |
| LOW | fastchat/model/model_falcon.py | 13 | |
| LOW | fastchat/model/model_adapter.py | 201 | |
| LOW | fastchat/model/model_adapter.py | 404 | |
| LOW | fastchat/model/model_adapter.py | 438 | |
| LOW | fastchat/model/model_chatglm.py | 40 | |
| LOW | fastchat/train/train_yuan2.py | 100 | |
| LOW | fastchat/train/train_with_template.py | 112 | |
| LOW | fastchat/train/train_with_template.py | 144 | |
| LOW | fastchat/train/train_lora.py | 79 | |
| LOW | fastchat/train/train_lora.py | 104 | |
| LOW | fastchat/serve/gradio_web_server.py | 444 | |
| LOW | fastchat/serve/model_worker.py | 185 | |
| LOW | fastchat/serve/controller.py | 156 | |
| LOW | fastchat/serve/launch_all_serve.py | 209 | |
| LOW | fastchat/serve/gradio_block_arena_vision_named.py | 305 | |
| LOW | fastchat/serve/cli.py | 110 | |
| LOW | fastchat/serve/gradio_web_server_multi.py | 110 | |
| LOW | fastchat/serve/gradio_web_server_multi.py | 169 | |
| LOW | fastchat/serve/gradio_block_arena_vision_anony.py | 378 | |
| LOW | fastchat/serve/inference.py | 62 | |
| LOW | fastchat/serve/inference.py | 337 | |
| LOW | fastchat/serve/gradio_block_arena_vision.py | 194 | |
| LOW | fastchat/serve/gradio_block_arena_named.py | 224 | |
| LOW | fastchat/serve/gradio_block_arena_named.py | 314 | |
| LOW | fastchat/serve/call_monitor.py | 25 | |
| LOW | fastchat/serve/api_provider.py | 18 | |
| LOW | fastchat/serve/api_provider.py | 364 | |
| LOW | fastchat/serve/api_provider.py | 428 | |
| LOW | fastchat/serve/api_provider.py | 511 | |
| LOW | fastchat/serve/api_provider.py | 846 | |
| LOW | fastchat/serve/api_provider.py | 1272 | |
| LOW | fastchat/serve/openai_api_server.py | 228 | |
| LOW | fastchat/serve/openai_api_server.py | 266 | |
| LOW | fastchat/serve/openai_api_server.py | 621 | |
| LOW | fastchat/serve/gradio_block_arena_anony.py | 358 | |
| LOW | fastchat/serve/gradio_block_arena_anony.py | 441 | |
| LOW | fastchat/serve/dashinfer_worker.py | 96 | |
| LOW | fastchat/serve/monitor/monitor.py | 147 | |
| LOW | fastchat/serve/monitor/monitor.py | 917 | |
| LOW | fastchat/serve/monitor/elo_analysis.py | 215 | |
| LOW | fastchat/serve/monitor/elo_analysis.py | 239 | |
| LOW | fastchat/serve/monitor/clean_battle_data.py | 116 | |
| 20 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | playground/test_embedding/test_sentence_similarity.py | 28 | print(f"Error: {response.status_code} - {response.text}") |
| MEDIUM | playground/test_embedding/test_semantic_search.py | 36 | print(f"Error: {response.status_code} - {response.text}") |
| MEDIUM | playground/test_embedding/test_classification.py | 34 | print(f"Error: {response.status_code} - {response.text}") |
| LOW | tests/test_openai_api.py | 82 | except Exception as e: |
| LOW | tests/load_test.py | 59 | except Exception as e: |
| MEDIUM | tests/load_test.py | 12 | def litellm_completion(args, tokenizer, image_url=None): |
| LOW | tests/test_openai_vision_api.py | 117 | except Exception as e: |
| MEDIUM | fastchat/model/model_exllama.py | 20 | print(f"Error: Failed to load Exllamav2. {e}") |
| LOW | fastchat/model/apply_delta.py | 64 | except Exception as e: |
| MEDIUM | fastchat/model/apply_delta.py | 65 | print(f"An error occurred during split_files: {e}") |
| LOW | fastchat/serve/gradio_web_server.py | 439 | except Exception as e: |
| LOW | fastchat/serve/gradio_web_server.py | 605 | except Exception as e: |
| LOW | fastchat/serve/remote_logger.py | 58 | except Exception: |
| MEDIUM | fastchat/serve/call_monitor.py | 40 | print(f"Error decoding json: {json_file} {line}") |
| MEDIUM | fastchat/serve/api_provider.py | 364 | def column_api_stream_iter( |
| MEDIUM | fastchat/serve/api_provider.py | 1272 | def metagen_api_stream_iter( |
| LOW | fastchat/serve/api_provider.py | 402 | except Exception as e: |
| LOW | fastchat/serve/api_provider.py | 420 | except Exception as e: |
| LOW | fastchat/serve/api_provider.py | 817 | except Exception as e: |
| LOW | fastchat/serve/api_provider.py | 838 | except Exception as e: |
| LOW | fastchat/serve/api_provider.py | 1016 | except Exception as e: |
| LOW | fastchat/serve/api_provider.py | 1342 | except Exception as e: |
| LOW | fastchat/serve/openai_api_server.py | 462 | except Exception as e: |
| LOW | fastchat/serve/openai_api_server.py | 596 | except Exception as e: |
| LOW | fastchat/serve/openai_api_server.py | 855 | except Exception as e: |
| LOW | fastchat/serve/huggingface_api_worker.py | 189 | except Exception as e: |
| LOW | fastchat/serve/dashinfer_worker.py | 201 | except Exception as e: |
| LOW | fastchat/serve/monitor/monitor.py | 907 | except Exception as e: |
| MEDIUM | fastchat/serve/monitor/monitor.py | 908 | print(f"Error: {e}") |
| MEDIUM | fastchat/serve/monitor/monitor.py | 883 | def get_model_name(model_key): |
| LOW | fastchat/serve/monitor/classify/label.py | 85 | except Exception as e: |
| LOW | fastchat/serve/monitor/classify/label.py | 174 | except Exception as e: |
| MEDIUM | fastchat/serve/monitor/vote_time_stats/analyze_data.py | 42 | print("Error: Key to GC does not exist.") |
| LOW | fastchat/serve/monitor/vote_time_stats/analyze_data.py | 91 | except Exception: |
| LOW | fastchat/serve/monitor/vote_time_stats/analyze_data.py | 102 | except Exception as e: |
| MEDIUM | fastchat/modules/xfastertransformer.py | 29 | print(f"Error: Failed to load xFasterTransformer. {e}") |
| MEDIUM | fastchat/modules/awq.py | 31 | print(f"Error: Failed to import tinychat. {e}") |
| MEDIUM | fastchat/modules/awq.py | 84 | print("Error: AWQ checkpoint not found") |
| MEDIUM | fastchat/modules/gptq.py | 39 | print(f"Error: Failed to load GPTQ-for-LLaMa. {e}") |
| MEDIUM | fastchat/modules/gptq.py | 74 | print("Error: gptq checkpoint not found") |
| MEDIUM | fastchat/modules/exllama.py | 29 | print(f"Error: Failed to load Exllamav2. {e}") |
| LOW | fastchat/data/optional_replace.py | 49 | except Exception as e: |
| LOW | fastchat/llm_judge/common.py | 516 | except Exception as e: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | fastchat/data/hardcoded_questions.py | 46 | f"You can call me {name}, and I was trained by {org} researchers as a language model.", |
| MEDIUM | fastchat/data/hardcoded_questions.py | 47 | f"As a language model, I go by the name {name} and was trained by researchers from {org}.", |
| MEDIUM | data/dummy_conversation.json | 53 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a |
| MEDIUM | data/dummy_conversation.json | 74 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O |
| MEDIUM | data/dummy_conversation.json | 179 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a |
| MEDIUM | data/dummy_conversation.json | 200 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O |
| MEDIUM | data/dummy_conversation.json | 305 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a |
| MEDIUM | data/dummy_conversation.json | 326 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O |
| MEDIUM | data/dummy_conversation.json | 431 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a |
| MEDIUM | data/dummy_conversation.json | 452 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O |
| MEDIUM | data/dummy_conversation.json | 557 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a |
| MEDIUM | data/dummy_conversation.json | 578 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O |
| MEDIUM | data/dummy_conversation.json | 683 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a |
| MEDIUM | data/dummy_conversation.json | 704 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O |
| MEDIUM | data/dummy_conversation.json | 809 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a |
| MEDIUM | data/dummy_conversation.json | 830 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O |
| MEDIUM | data/dummy_conversation.json | 935 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a |
| MEDIUM | data/dummy_conversation.json | 956 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O |
| MEDIUM | data/dummy_conversation.json | 1061 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a |
| MEDIUM | data/dummy_conversation.json | 1082 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O |
| MEDIUM | data/dummy_conversation.json | 1187 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a |
| MEDIUM | data/dummy_conversation.json | 1208 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O |
| MEDIUM | data/dummy_conversation.json | 1313 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a |
| MEDIUM | data/dummy_conversation.json | 1334 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O |
| MEDIUM | data/dummy_conversation.json | 1439 | "value": "You can call me Vicuna, and I was trained by Large Model Systems Organization (LMSYS) researchers as a |
| MEDIUM | data/dummy_conversation.json | 1460 | "value": "As a language model, I go by the name Vicuna and was trained by researchers from Large Model Systems O |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | fastchat/train/train_baichuan.py | 0 | make dataset and collator for supervised fine-tuning. |
| HIGH | fastchat/train/train.py | 0 | make dataset and collator for supervised fine-tuning. |
| HIGH | fastchat/train/train_yuan2.py | 0 | make dataset and collator for supervised fine-tuning. |
| HIGH | fastchat/train/train_with_template.py | 0 | make dataset and collator for supervised fine-tuning. |
| HIGH | fastchat/train/train_flant5.py | 0 | make dataset and collator for supervised fine-tuning. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/test_image_utils.py | 35 | # Create an image from the pixel data |
| MEDIUM | fastchat/model/rwkv_model.py | 43 | # This function is used by fastchat.llm_judge. |
| MEDIUM | fastchat/serve/cli.py | 115 | # Create a Live context for updating the console output |
| MEDIUM | fastchat/serve/monitor/vote_time_stats/plot.py | 24 | # Define the new cutoff and number of bins |
| MEDIUM | fastchat/serve/monitor/vote_time_stats/plot.py | 41 | # Create the plot with custom bins |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | fastchat/model/model_adapter.py | 641 | from peft import PeftConfig, PeftModel |
| LOW | fastchat/train/train_lora_t5.py | 1 | # Adapted from tatsu-lab@stanford_alpaca. Below is the original copyright: |
| LOW | fastchat/train/train_baichuan.py | 1 | # This code is based on tatsu-lab/stanford_alpaca. Below is the original copyright: |
| LOW | fastchat/train/train.py | 1 | # This code is based on tatsu-lab/stanford_alpaca. Below is the original copyright: |
| LOW | fastchat/train/train_yuan2.py | 1 | # This code is based on tatsu-lab/stanford_alpaca. Below is the original copyright: |
| LOW | fastchat/train/train_with_template.py | 1 | # This code is based on tatsu-lab/stanford_alpaca. Below is the original copyright: |
| LOW | fastchat/train/train_flant5.py | 1 | # Adapted from tatsu-lab@stanford_alpaca. Below is the original copyright: |
| LOW | fastchat/train/train_lora.py | 1 | # Usage: deepspeed train_lora.py --deepspeed <$PATH_TO_DEEPSPEED_CONFIG> |
| LOW | fastchat/serve/gradio_web_server.py | 741 | width: 100%; |
| LOW | fastchat/serve/gradio_web_server.py | 761 | # } |
| LOW | fastchat/serve/gradio_web_server.py | 781 | # #ack_markdown .prose { |
| LOW | fastchat/serve/gradio_web_server.py | 801 | # margin-top: 8px; /* Adjust the value as needed */ |
| LOW | fastchat/serve/cli.py | 121 | text = outputs["text"] |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | fastchat/serve/api_provider.py | 528 | thread_message = client.beta.threads.messages.with_raw_response.create( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | fastchat/model/model_adapter.py | 1760 | cd flash-attention && pip install . |
| HIGH | fastchat/serve/gradio_web_server_multi.py | 185 | function gtag(){{dataLayer.push(arguments);}} |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | fastchat/serve/huggingface_api.py | 54 | # Print results |
| LOW | fastchat/serve/inference.py | 448 | # Set inp to previous message |
| LOW | fastchat/serve/inference.py | 483 | # Check if file exists and add .json if needed |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | fastchat/data/extract_gpt4_only.py | 2 | Extract the conversations generated by GPT-4 only. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | fastchat/serve/monitor/clean_battle_data.py | 140 | def process_data( |
| LOW | fastchat/serve/monitor/clean_chat_data.py | 74 | def process_data(row, action_type): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/test_openai_langchain.py | 1 | # Usage: |