def METHOD_NAME(model, name):
    file_name = './' + name + ".bin"
    if os.path.isfile(file_name):
        print("Warning: the file %s is being truncated and overwritten" % file_name)
    with open(file_name, 'wb') as f:
        param_list = list(t for _, t in params_translated(model))
        for param in param_list:            
            param.detach().cpu().numpy().tofile(f)