Visual Question Answering
Transformers
Safetensors
Chinese
English
QH_360VL
text-generation
custom_code

Fix invalid quotes in modeling_360vl.py

#1

Fix invalid quotes: ” -> "

Re:

    if config_dict.get("model_type") == “QH360_VL”:

SyntaxError: invalid character '“' (U+201C)

This fix would still not allow the model to run correctly. config.json has QH_360VL defined as name. This comparison checks for QH360_VL (note the position of the underscore).

Updated to use "QH_360VL" instead.

北京奇虎科技有限公司 org

Sorry, we just noticed this issue. Thank you for your attention. We have currently updated the code to resolve this bug.

Can you check again? The original problem I had (invalid quote character) is still there. “QH_360VL” should be "QH_360VL", should use " instead of ” (a different character).

北京奇虎科技有限公司 org

Thank you for such detailed inspection, we have updated the code again.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment