博主,关于你的那篇“squad数据集处理代码阅读”我有个疑问

问题遇到的现象和发生背景

我运行了你的代码,但是出现了Runtime Error

问题相关代码,请勿粘贴截图
发生异常: RuntimeError       (note: full exception trace is shown but execution is paused at: <module>)

        An attempt has been made to start a new process before the
        current process has finished its bootstrapping phase.

        This probably means that you are not using fork to start your
        child processes and you have forgotten to use the proper idiom
        in the main module:

            if __name__ == '__main__':
                freeze_support()
                ...

        The "freeze_support()" line can be omitted if the program
        is not going to be frozen to produce an executable.
  File "C:\Users\17641\Desktop\互联网\mybert.py", line 282, in <module>
    Train_features,Train_dataset = squad_convert_examples_to_features(
  File "<string>", line 1, in <module> (Current frame)

我的解答思路和尝试过的方法

他说要加freeze_support(),但并不懂是什么意思

我想要达到的结果

我希望可以正常运行这个程序