Update preprocess_v2.py
fix the error message of RecursionError: maximum recursion depth exceeded while calling a Python object
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import os
|
||||
import argparse
|
||||
import json
|
||||
import sys
|
||||
sys.setrecursionlimit(500000) # fix the error message of RecursionError: maximum recursion depth exceeded while calling a Python object
|
||||
|
||||
if __name__ == "__main__":
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("--add_auxiliary_data", type=bool, help="Whether to add extra data as fine-tuning helper")
|
||||
|
||||
Reference in New Issue
Block a user