I realized that passing the argument as a list is not valid. A tensor is needed, like this:
torch.onnx.export(model,
    (batch_tokens, torch.tensor([33])),
    converted_model_path,
    use_external_data_format=True,
    ...
)

Unfortunately, torch.tensor([33])) is as good as [] as far as the model’s behavior is concerned.