Mahshid Hosseini

Results 14 comments of Mahshid Hosseini

Thanks for the clarification. I was following the steps in the [A Hands-On Guide To Text Classification With Transformer Models (XLNet, BERT, XLM, RoBERTa)](https://towardsdatascience.com/https-medium-com-chaturangarajapakshe-text-classification-with-transformer-models-d370944b50ca) and thought we should run utils.py.

I've got two questions. 1. what is the format of `all_data` in `def tokenize(all_data):` function? Is it ".tsv" file in the same format as "train.tsv" and "dev.tsv"? 2. Where to...

When I am running the tokenize function, I am getting `ValueError: Number of processes must be at least 1`. However, when I print `os.cpu_count()` it shows 2. Do you have...

I downloaded the [repo ](https://github.com/ThilinaRajapakse/pytorch-transformers-classification) and run jupyter notebook. `data_prep` works well. Then I ran `run_model.ipynb` and it keeps raising this error. `TypeError: convert_examples_to_features() got an unexpected keyword argument 'sep_token_extra`

I just figured out that the generated files do not have the ordering as `train_df = pd.DataFrame({ 'id':range(len(train_df)), 'label':train_df[0], 'alpha':['a']*train_df.shape[0], 'text': train_df[1].replace(r'\n', ' ', regex=True) })` and they are in...

I resolved the ordering issue. But I am still getting the same error. `TypeError: convert_examples_to_features() got an unexpected keyword argument 'sep_token_extra`. May I know the exact python version you used?

by `'` in `model = ClassificationModel('roberta', '')` you mean we shoud just put "output" folder that is generated during training as the directory? I trained the bert model using run_model.py...

I trained the bert model using "run_model.py" in this repository and now need to make predictions for an unlabeled dataset I have. I somehow got confused about how I can...

Hi @hedonihilist @germanenik. How did you run the code in the `test_text` mode? I am getting this error: `train.py: error: argument -mode: invalid choice: 'test_text' (choose from 'train', 'validate', 'test')`

Hi @artmatsak. May I ask how did you run the code on raw_input? I am using the `dev` branch, but I am getting this error: `train.py: error: argument -mode: invalid...