THUDM / CodeGeeX

CodeGeeX: An Open Multilingual Code Generation Model (KDD 2023)
https://codegeex.cn
Apache License 2.0
8.1k stars 588 forks source link

flip or filp? It will make the model confused. #249

Open cx-hub opened 3 months ago

cx-hub commented 3 months ago

In the humaneval-x CPP/27: "prompt": "/\nFor a given string, flip lowercase characters to uppercase and uppercase to lowercase.\n>>> flip_case(\"Hello\")\n\"hELLO\"\n/\n#include\n#include\nusing namespace std;\nstring filp_case(string str){\n Your example test cases is flip but your function is filp.