MCPcopy Create free account
hub / github.com/NVIDIA/FasterTransformer / usage

Function usage

examples/tensorflow/xlnet/convertInput.py:542–551  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

540
541
542def usage():
543 print(" -t task_name")
544 print(" -b batch_size")
545 print(" -d data_dir")
546 print(" -r is_regression")
547 print(" -l max_seq_length")
548 print(" -s spiece_model_file")
549 print(" -o output_file")
550 print(" -u uncased")
551 print("Example: python convertInput.py -t sts-b -b 8 -d ../../../Data/glue_data/STS-B -r 1 -l 128 -s ../../../Data/xlnet_cased_L-12_H-768_A-12/spiece.model -o ./data.npz -u 0 ")
552
553
554if __name__ == "__main__":

Callers 1

convertInput.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected