EasyNLP icon indicating copy to clipboard operation
EasyNLP copied to clipboard

EasyNLP: A Comprehensive and Easy-to-use NLP Toolkit

Results 45 EasyNLP issues
Sort by recently updated
recently updated
newest added

I was trying to run CP tuning code. Code was working fine in training mode. But at inference time (during evaluate and test mode), getting almost 100% accuracy on multiple...

I copy the training command from [here](https://github.com/alibaba/EasyNLP/blob/master/examples/appzoo_tutorials/sequence_classification_multilabel/run_train_eval_predict_user_defined_local.sh) and modify a little. `python -m torch.distributed.launch $DISTRIBUTED_ARGS main.py \ --mode train \ --tables=train.csv,dev.csv \ --input_schema=content_seq:str:1,label:str:1 \ --first_sequence=content_seq \ --label_name=label \ --label_enumerate_values=母婴,三农,科学,美文,科技,时尚,房产,美食,艺术,职场,健康,财经,国际,家居,娱乐,文化,教育,游戏,读书,动漫,体育,旅游,汽车,搞笑,健身,宠物,育儿 \...

I'm using `pai-easynlp 0.0.3` installed by pip. I copy the training command from [here](https://www.yuque.com/easyx/easynlp/ochmnf) and modify a little. ``` echo '=========[ Fewshot Training: CP-Tuning on Text Classification ]=========' easynlp \...

https://discuss.pytorch.org/t/how-to-shuffle-an-iterable-dataset/64130/5 - torch 1.8.1 [torch.utils.data.BufferedShuffleDataset](https://pytorch.org/docs/1.8.1/data.html#torch.utils.data.BufferedShuffleDataset) - latest [torch.utils.data.datapipes.iter.combinatorics.ShuffleIterDataPipe](https://github.com/pytorch/pytorch/blob/615dd2508846d03bc1f4e21898cc2694535011fe/torch/utils/data/datapipes/iter/combinatorics.py#L55)