-
I am using the following command to train the model.
```
train_command = "python run_classifier.py \
--do_train=True \
--do_eval=True \
--eval_all_ckpt=True \
--task_name=imdb \
--dat…
-
Hi,
Thanks for xlnet. Is there any plan to convert this code into python3? Thanks
-
```
Traceback (most recent call last):
File "/nfs/XLNet/XLNet/xlnet_similarity.py", line 49, in
model.fit(
File "/home/luban/.conda/envs/my/lib/python3.9/site-packages/sentence_transforme…
-
您好,我在使用您提供的命令转化Pytorch版本时,会报错,请问是什么原因?
RuntimeError: Sizes mush be non-negative。应该是vocab_size=-1导致的?
-
Hello,
Any plans to have a script for training XLNet on distributed GPUs?
Maybe with Horovod or MultiWorkerMirroredStrategy?
-
Did someone try to fine-tune XLNet on a text generation task ?
Any script example ? How are the results ?
-
Traceback (most recent call last):
File "main.py", line 89, in
num_predict=args.num_predict)
File "/home/hemengge/xlnet-pytorch/data_utils.py", line 335, in make_permute
is_masked = t…
-
I am getting this error when I run:
`if args['do_train']:
train_dataset = load_and_cache_examples(task, tokenizer)
global_step, tr_loss = train(train_dataset, model, tokenizer)
logger.…
-
- [ ] `TransformerDecoder.forward`: where does `self.training` come from?
https://github.com/asyml/texar-pytorch/blob/d17d502b50da1d95cb70435ed21c6603370ce76d/texar/torch/modules/decoders/transforme…
-
We shall extend bert/embedding.py with other pre-trained models like XLNet, RoBERTa, R-XLM, ALBERT, etc. This is a good starting script where people try to leverage pre-trained model embeddings for th…