lightseq icon indicating copy to clipboard operation
lightseq copied to clipboard

I donot know what does lightseq depend on?

Open LiYijin opened this issue 2 years ago • 1 comments

I just "pip install lightseq" and follow Building models from scratch https://github.com/bytedance/lightseq/blob/master/examples/training/custom/README.md python examples/training/custom/run.py Howere, got "ModuleNotFoundError: No module named 'transformers'" I do not know what should I install before execute this?

LiYijin avatar Jul 18 '22 08:07 LiYijin

This script requires Hugging Face transformers library to tokenize the sentence. So you should run 'pip install transformers' firstly.

godweiyang avatar Jul 19 '22 08:07 godweiyang