5
5
from bfcl_eval .model_handler .api_inference .cohere import CohereHandler
6
6
from bfcl_eval .model_handler .api_inference .databricks import DatabricksHandler
7
7
from bfcl_eval .model_handler .api_inference .deepseek import DeepSeekAPIHandler
8
+ from bfcl_eval .model_handler .api_inference .dm_cito import DMCitoHandler
8
9
from bfcl_eval .model_handler .api_inference .fireworks import FireworksHandler
9
10
from bfcl_eval .model_handler .api_inference .functionary import FunctionaryHandler
10
11
from bfcl_eval .model_handler .api_inference .gemini import GeminiHandler
18
19
from bfcl_eval .model_handler .api_inference .novita import NovitaHandler
19
20
from bfcl_eval .model_handler .api_inference .nvidia import NvidiaHandler
20
21
from bfcl_eval .model_handler .api_inference .openai import OpenAIHandler
22
+ from bfcl_eval .model_handler .api_inference .qwen import QwenAPIHandler
21
23
from bfcl_eval .model_handler .api_inference .writer import WriterHandler
22
24
from bfcl_eval .model_handler .api_inference .yi import YiHandler
23
25
from bfcl_eval .model_handler .local_inference .bielik import BielikHandler
44
46
from bfcl_eval .model_handler .local_inference .salesforce_llama import SalesforceLlamaHandler
45
47
from bfcl_eval .model_handler .local_inference .salesforce_qwen import SalesforceQwenHandler
46
48
from bfcl_eval .model_handler .local_inference .think_agent import ThinkAgentHandler
47
- from bfcl_eval .model_handler .api_inference .qwq import QwenAPIHandler
48
- from bfcl_eval .model_handler .api_inference .dm_cito import DMCitoHandler
49
49
50
50
# -----------------------------------------------------------------------------
51
51
# A mapping of model identifiers to their respective model configurations.
@@ -70,7 +70,7 @@ class ModelConfig:
70
70
input_price (Optional[float]): USD per million input tokens (None for open source models).
71
71
output_price (Optional[float]): USD per million output tokens (None for open source models).
72
72
is_fc_model (bool): True if this model is used in Function-Calling mode, otherwise False for Prompt-based mode.
73
- underscore_to_dot (bool): True if model does not support '.' in function names, in which case we will replace '.' with '_'.
73
+ underscore_to_dot (bool): True if model does not support '.' in function names, in which case we will replace '.' with '_'. Currently this only matters for checker. TODO: We should let the tool compilation step also take this into account.
74
74
75
75
"""
76
76
@@ -827,6 +827,222 @@ class ModelConfig:
827
827
is_fc_model = False ,
828
828
underscore_to_dot = False ,
829
829
),
830
+ "qwen3-0.6b-FC" : ModelConfig (
831
+ model_name = "qwen3-0.6b-FC" ,
832
+ display_name = "Qwen3-0.6B (FC)" ,
833
+ url = "https://huggingface.co/Qwen/Qwen3-0.6B" ,
834
+ org = "Qwen" ,
835
+ license = "apache-2.0" ,
836
+ model_handler = QwenAPIHandler ,
837
+ input_price = None ,
838
+ output_price = None ,
839
+ is_fc_model = True ,
840
+ underscore_to_dot = True ,
841
+ ),
842
+ "qwen3-0.6b" : ModelConfig (
843
+ model_name = "qwen3-0.6b" ,
844
+ display_name = "Qwen3-0.6B (Prompt)" ,
845
+ url = "https://huggingface.co/Qwen/Qwen3-0.6B" ,
846
+ org = "Qwen" ,
847
+ license = "apache-2.0" ,
848
+ model_handler = QwenAPIHandler ,
849
+ input_price = None ,
850
+ output_price = None ,
851
+ is_fc_model = False ,
852
+ underscore_to_dot = False ,
853
+ ),
854
+ "qwen3-1.7b-FC" : ModelConfig (
855
+ model_name = "qwen3-1.7b-FC" ,
856
+ display_name = "Qwen3-1.7B (FC)" ,
857
+ url = "https://huggingface.co/Qwen/Qwen3-1.7B" ,
858
+ org = "Qwen" ,
859
+ license = "apache-2.0" ,
860
+ model_handler = QwenAPIHandler ,
861
+ input_price = None ,
862
+ output_price = None ,
863
+ is_fc_model = True ,
864
+ underscore_to_dot = True ,
865
+ ),
866
+ "qwen3-1.7b" : ModelConfig (
867
+ model_name = "qwen3-1.7b" ,
868
+ display_name = "Qwen3-1.7B (Prompt)" ,
869
+ url = "https://huggingface.co/Qwen/Qwen3-1.7B" ,
870
+ org = "Qwen" ,
871
+ license = "apache-2.0" ,
872
+ model_handler = QwenAPIHandler ,
873
+ input_price = None ,
874
+ output_price = None ,
875
+ is_fc_model = False ,
876
+ underscore_to_dot = False ,
877
+ ),
878
+ "qwen3-4b-FC" : ModelConfig (
879
+ model_name = "qwen3-4b-FC" ,
880
+ display_name = "Qwen3-4B (FC)" ,
881
+ url = "https://huggingface.co/Qwen/Qwen3-4B" ,
882
+ org = "Qwen" ,
883
+ license = "apache-2.0" ,
884
+ model_handler = QwenAPIHandler ,
885
+ input_price = None ,
886
+ output_price = None ,
887
+ is_fc_model = True ,
888
+ underscore_to_dot = True ,
889
+ ),
890
+ "qwen3-4b" : ModelConfig (
891
+ model_name = "qwen3-4b" ,
892
+ display_name = "Qwen3-4B (Prompt)" ,
893
+ url = "https://huggingface.co/Qwen/Qwen3-4B" ,
894
+ org = "Qwen" ,
895
+ license = "apache-2.0" ,
896
+ model_handler = QwenAPIHandler ,
897
+ input_price = None ,
898
+ output_price = None ,
899
+ is_fc_model = False ,
900
+ underscore_to_dot = False ,
901
+ ),
902
+ "qwen3-8b-FC" : ModelConfig (
903
+ model_name = "qwen3-8b-FC" ,
904
+ display_name = "Qwen3-8B (FC)" ,
905
+ url = "https://huggingface.co/Qwen/Qwen3-8B" ,
906
+ org = "Qwen" ,
907
+ license = "apache-2.0" ,
908
+ model_handler = QwenAPIHandler ,
909
+ input_price = None ,
910
+ output_price = None ,
911
+ is_fc_model = True ,
912
+ underscore_to_dot = True ,
913
+ ),
914
+ "qwen3-8b" : ModelConfig (
915
+ model_name = "qwen3-8b" ,
916
+ display_name = "Qwen3-8B (Prompt)" ,
917
+ url = "https://huggingface.co/Qwen/Qwen3-8B" ,
918
+ org = "Qwen" ,
919
+ license = "apache-2.0" ,
920
+ model_handler = QwenAPIHandler ,
921
+ input_price = None ,
922
+ output_price = None ,
923
+ is_fc_model = False ,
924
+ underscore_to_dot = False ,
925
+ ),
926
+ "qwen3-14b-FC" : ModelConfig (
927
+ model_name = "qwen3-14b-FC" ,
928
+ display_name = "Qwen3-14B (FC)" ,
929
+ url = "https://huggingface.co/Qwen/Qwen3-14B" ,
930
+ org = "Qwen" ,
931
+ license = "apache-2.0" ,
932
+ model_handler = QwenAPIHandler ,
933
+ input_price = None ,
934
+ output_price = None ,
935
+ is_fc_model = True ,
936
+ underscore_to_dot = True ,
937
+ ),
938
+ "qwen3-14b" : ModelConfig (
939
+ model_name = "qwen3-14b" ,
940
+ display_name = "Qwen3-14B (Prompt)" ,
941
+ url = "https://huggingface.co/Qwen/Qwen3-14B" ,
942
+ org = "Qwen" ,
943
+ license = "apache-2.0" ,
944
+ model_handler = QwenAPIHandler ,
945
+ input_price = None ,
946
+ output_price = None ,
947
+ is_fc_model = False ,
948
+ underscore_to_dot = False ,
949
+ ),
950
+ "qwen3-32b-FC" : ModelConfig (
951
+ model_name = "qwen3-32b-FC" ,
952
+ display_name = "Qwen3-32B (FC)" ,
953
+ url = "https://huggingface.co/Qwen/Qwen3-32B" ,
954
+ org = "Qwen" ,
955
+ license = "apache-2.0" ,
956
+ model_handler = QwenAPIHandler ,
957
+ input_price = None ,
958
+ output_price = None ,
959
+ is_fc_model = True ,
960
+ underscore_to_dot = True ,
961
+ ),
962
+ "qwen3-32b" : ModelConfig (
963
+ model_name = "qwen3-32b" ,
964
+ display_name = "Qwen3-32B (Prompt)" ,
965
+ url = "https://huggingface.co/Qwen/Qwen3-32B" ,
966
+ org = "Qwen" ,
967
+ license = "apache-2.0" ,
968
+ model_handler = QwenAPIHandler ,
969
+ input_price = None ,
970
+ output_price = None ,
971
+ is_fc_model = False ,
972
+ underscore_to_dot = False ,
973
+ ),
974
+ "qwen3-30b-a3b-FC" : ModelConfig (
975
+ model_name = "qwen3-30b-a3b-FC" ,
976
+ display_name = "Qwen3-30B-A3B (FC)" ,
977
+ url = "https://huggingface.co/Qwen/Qwen3-30B-A3B" ,
978
+ org = "Qwen" ,
979
+ license = "apache-2.0" ,
980
+ model_handler = QwenAPIHandler ,
981
+ input_price = None ,
982
+ output_price = None ,
983
+ is_fc_model = True ,
984
+ underscore_to_dot = True ,
985
+ ),
986
+ "qwen3-30b-a3b" : ModelConfig (
987
+ model_name = "qwen3-30b-a3b" ,
988
+ display_name = "Qwen3-30B-A3B (Prompt)" ,
989
+ url = "https://huggingface.co/Qwen/Qwen3-30B-A3B" ,
990
+ org = "Qwen" ,
991
+ license = "apache-2.0" ,
992
+ model_handler = QwenAPIHandler ,
993
+ input_price = None ,
994
+ output_price = None ,
995
+ is_fc_model = False ,
996
+ underscore_to_dot = False ,
997
+ ),
998
+ "qwen3-235b-a22b-FC" : ModelConfig (
999
+ model_name = "qwen3-235b-a22b-FC" ,
1000
+ display_name = "Qwen3-235B-A22B (FC)" ,
1001
+ url = "https://huggingface.co/Qwen/Qwen3-235B-A22B" ,
1002
+ org = "Qwen" ,
1003
+ license = "apache-2.0" ,
1004
+ model_handler = QwenAPIHandler ,
1005
+ input_price = None ,
1006
+ output_price = None ,
1007
+ is_fc_model = True ,
1008
+ underscore_to_dot = True ,
1009
+ ),
1010
+ "qwen3-235b-a22b" : ModelConfig (
1011
+ model_name = "qwen3-235b-a22b" ,
1012
+ display_name = "Qwen3-235B-A22B (Prompt)" ,
1013
+ url = "https://huggingface.co/Qwen/Qwen3-235B-A22B" ,
1014
+ org = "Qwen" ,
1015
+ license = "apache-2.0" ,
1016
+ model_handler = QwenAPIHandler ,
1017
+ input_price = None ,
1018
+ output_price = None ,
1019
+ is_fc_model = False ,
1020
+ underscore_to_dot = False ,
1021
+ ),
1022
+ "qwq-32b-FC" : ModelConfig (
1023
+ model_name = "qwq-32b-FC" ,
1024
+ display_name = "QwQ-32B (FC)" ,
1025
+ url = "https://huggingface.co/Qwen/QwQ-32B" ,
1026
+ org = "Qwen" ,
1027
+ license = "apache-2.0" ,
1028
+ model_handler = QwenAPIHandler ,
1029
+ input_price = None ,
1030
+ output_price = None ,
1031
+ is_fc_model = True ,
1032
+ underscore_to_dot = True ,
1033
+ ),
1034
+ "qwq-32b" : ModelConfig (
1035
+ model_name = "qwq-32b" ,
1036
+ display_name = "QwQ-32B (Prompt)" ,
1037
+ url = "https://huggingface.co/Qwen/QwQ-32B" ,
1038
+ org = "Qwen" ,
1039
+ license = "apache-2.0" ,
1040
+ model_handler = QwenAPIHandler ,
1041
+ input_price = None ,
1042
+ output_price = None ,
1043
+ is_fc_model = False ,
1044
+ underscore_to_dot = False ,
1045
+ ),
830
1046
"xiaoming-14B" : ModelConfig (
831
1047
model_name = "xiaoming-14B" ,
832
1048
display_name = "xiaoming-14B (Prompt)" ,
@@ -853,7 +1069,6 @@ class ModelConfig:
853
1069
),
854
1070
}
855
1071
856
-
857
1072
# Inference through local hosting
858
1073
local_inference_model_map = {
859
1074
"deepseek-ai/DeepSeek-R1" : ModelConfig (
@@ -1492,18 +1707,6 @@ class ModelConfig:
1492
1707
is_fc_model = False ,
1493
1708
underscore_to_dot = False ,
1494
1709
),
1495
- "QwQ-32B" : ModelConfig (
1496
- model_name = "qwq-32b" ,
1497
- display_name = "QwQ-32B (Prompt)" ,
1498
- url = "https://huggingface.co/Qwen/QwQ-32B" ,
1499
- org = "Qwen" ,
1500
- license = "apache-2.0" ,
1501
- model_handler = QwenAPIHandler ,
1502
- input_price = None ,
1503
- output_price = None ,
1504
- is_fc_model = False ,
1505
- underscore_to_dot = False ,
1506
- ),
1507
1710
"tiiuae/Falcon3-10B-Instruct-FC" : ModelConfig (
1508
1711
model_name = "tiiuae/Falcon3-10B-Instruct-FC" ,
1509
1712
display_name = "Falcon3-10B-Instruct (FC)" ,
0 commit comments