Open nikhilrana015 opened 4 years ago
!git clone https://github.com/facebookresearch/Starspace.git
%cd Starspace
!make
!./starspace train -trainFile "data/clean_train.tsv" -model starspace_embedding \ -trainMode 3 -adagrad true -ngrams 1 -epoch 5 -dim 100 -similarity cosine -minCount 2 \ -verbose true -fileFormat labelDoc -negSearchLimit 10 -lr 0.05
I am currently working on my NLP assignment on google colab and I wanted to use the star space embedding but I don't know how to use it in colab. I used the bash command but it gives me an error by saying bin bash cmd is not found.
!starspace train -trainFile "data/clean_train.tsv" -model starspace_embedding \ -trainMode 3 -adagrad true -ngrams 1 -epoch 5 -dim 100 -similarity cosine -minCount 2 \ -verbose true -fileFormat labelDoc -negSearchLimit 10 -lr 0.05
. Can anyone please help me regarding this. I am not able to run on my laptop because my laptop doesn't have the GPU's