Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Starspace in Colab #290

Open
nikhilrana015 opened this issue May 18, 2020 · 1 comment
Open

Starspace in Colab #290

nikhilrana015 opened this issue May 18, 2020 · 1 comment

Comments

@nikhilrana015
Copy link

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

@Akshaypatil15
Copy link

!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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants