Generative Ai Tools, Artificial Intelligence, Geometry, Finetune Llm, Future.
max_target_length = 128 def preprocess_examples(examples): # encode the code-docstring pairs profiles = examples['Profile_brep'] midcurves = examples['Midcurve_brep'] inputs = [prefix + profile for profile in profiles] model_inputs = tokenizer(inputs, max_length=max_input_length,