Cannot run Starspace using bash in Google Colab
up vote
1
down vote
favorite
I am trying to run this code in google colab.
%%bash
./Starspace/starspace train
-trainFile "data/prepared_train.tsv"
-model model/stackoverflow_duplicate
-trainMode = 3
-adagrad true
-ngrams 1
-epoch 5
-dim 100
-similarity "cosine"
-minCount 2
-verbose true
-fileFormat labelDoc
-negSearchLimit 10
-lr 0.05
-thread 10
But every time I get this error Provided argument without a dash!
.
And some instruction about how to use. Actually I tried to use sample codes in Facebook Github repository, but I get same error.
Thanks for any advice.
python bash nlp google-colaboratory
add a comment |
up vote
1
down vote
favorite
I am trying to run this code in google colab.
%%bash
./Starspace/starspace train
-trainFile "data/prepared_train.tsv"
-model model/stackoverflow_duplicate
-trainMode = 3
-adagrad true
-ngrams 1
-epoch 5
-dim 100
-similarity "cosine"
-minCount 2
-verbose true
-fileFormat labelDoc
-negSearchLimit 10
-lr 0.05
-thread 10
But every time I get this error Provided argument without a dash!
.
And some instruction about how to use. Actually I tried to use sample codes in Facebook Github repository, but I get same error.
Thanks for any advice.
python bash nlp google-colaboratory
Starspace
is root folder of library andstarspace
file to work.
– M. Doosti Lakhani
Nov 11 at 14:12
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am trying to run this code in google colab.
%%bash
./Starspace/starspace train
-trainFile "data/prepared_train.tsv"
-model model/stackoverflow_duplicate
-trainMode = 3
-adagrad true
-ngrams 1
-epoch 5
-dim 100
-similarity "cosine"
-minCount 2
-verbose true
-fileFormat labelDoc
-negSearchLimit 10
-lr 0.05
-thread 10
But every time I get this error Provided argument without a dash!
.
And some instruction about how to use. Actually I tried to use sample codes in Facebook Github repository, but I get same error.
Thanks for any advice.
python bash nlp google-colaboratory
I am trying to run this code in google colab.
%%bash
./Starspace/starspace train
-trainFile "data/prepared_train.tsv"
-model model/stackoverflow_duplicate
-trainMode = 3
-adagrad true
-ngrams 1
-epoch 5
-dim 100
-similarity "cosine"
-minCount 2
-verbose true
-fileFormat labelDoc
-negSearchLimit 10
-lr 0.05
-thread 10
But every time I get this error Provided argument without a dash!
.
And some instruction about how to use. Actually I tried to use sample codes in Facebook Github repository, but I get same error.
Thanks for any advice.
python bash nlp google-colaboratory
python bash nlp google-colaboratory
asked Nov 11 at 14:12
M. Doosti Lakhani
324317
324317
Starspace
is root folder of library andstarspace
file to work.
– M. Doosti Lakhani
Nov 11 at 14:12
add a comment |
Starspace
is root folder of library andstarspace
file to work.
– M. Doosti Lakhani
Nov 11 at 14:12
Starspace
is root folder of library and starspace
file to work.– M. Doosti Lakhani
Nov 11 at 14:12
Starspace
is root folder of library and starspace
file to work.– M. Doosti Lakhani
Nov 11 at 14:12
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
I'm guessing this is causing you trouble -trainMode = 3
, I think it should be -trainMode 3
without the =
ow!!! Thank you! You right!
– M. Doosti Lakhani
Nov 11 at 21:32
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
I'm guessing this is causing you trouble -trainMode = 3
, I think it should be -trainMode 3
without the =
ow!!! Thank you! You right!
– M. Doosti Lakhani
Nov 11 at 21:32
add a comment |
up vote
2
down vote
accepted
I'm guessing this is causing you trouble -trainMode = 3
, I think it should be -trainMode 3
without the =
ow!!! Thank you! You right!
– M. Doosti Lakhani
Nov 11 at 21:32
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
I'm guessing this is causing you trouble -trainMode = 3
, I think it should be -trainMode 3
without the =
I'm guessing this is causing you trouble -trainMode = 3
, I think it should be -trainMode 3
without the =
answered Nov 11 at 16:47
ssemilla
2,687423
2,687423
ow!!! Thank you! You right!
– M. Doosti Lakhani
Nov 11 at 21:32
add a comment |
ow!!! Thank you! You right!
– M. Doosti Lakhani
Nov 11 at 21:32
ow!!! Thank you! You right!
– M. Doosti Lakhani
Nov 11 at 21:32
ow!!! Thank you! You right!
– M. Doosti Lakhani
Nov 11 at 21:32
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53249574%2fcannot-run-starspace-using-bash-in-google-colab%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Starspace
is root folder of library andstarspace
file to work.– M. Doosti Lakhani
Nov 11 at 14:12