Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Error saving model" while training language model #1622

Closed
5hirish opened this issue Nov 21, 2017 · 1 comment
Closed

"Error saving model" while training language model #1622

5hirish opened this issue Nov 21, 2017 · 1 comment
Labels
bug Bugs and behaviour differing from documentation training Training and updating models

Comments

@5hirish
Copy link
Contributor

5hirish commented Nov 21, 2017

I am training the UniversalDependencies/UD_Hindi for Hindi language but I am getting some error while saving the model.

python -m spacy train hi spacy_hi spacy_hi/hi-ud-train.json spacy_hi/hi-ud-test.json -n 2

dropout_from = 0.2 by default
dropout_to = 0.2 by default
dropout_decay = 0.0 by default
batch_from = 1 by default
batch_to = 16 by default
batch_compound = 1.001 by default
max_doc_len = 5000 by default
beam_width = 1 by default
beam_density = 0.0 by default
beam_width = 1 by default
beam_density = 0.0 by default
learn_rate = 0.001 by default
optimizer_B1 = 0.9 by default
optimizer_B2 = 0.999 by default
optimizer_eps = 1e-08 by default
L2_penalty = 1e-06 by default
grad_norm_clip = 1.0 by default
embed_size = 7000 by default
token_vector_width = 128 by default
parser_hidden_depth = 1 by default
parser_maxout_pieces = 2 by default
token_vector_width = 128 by default
hidden_width = 200 by default
embed_size = 7000 by default
history_feats = 0 by default
history_width = 0 by default
parser_hidden_depth = 1 by default
parser_maxout_pieces = 2 by default
token_vector_width = 128 by default
hidden_width = 200 by default
embed_size = 7000 by default
history_feats = 0 by default
history_width = 0 by default
Itn.	P.Loss	N.Loss	UAS	NER P.	NER R.	NER F.	Tag %	Token %
0       21328.622       0.000   89.497  0.000   0.000   0.000   94.750  100.0001734.5	0.0
1       391.986 0.000   90.612  0.000   0.000   0.000   95.069  100.000 1884.5 0.0
Saving model...
Error saving model

Although these following files were generated:

model1            model0            model-final.pickle

Info about spaCy

  • Platform: Linux-4.10.0-27-generic-x86_64-with-LinuxMint-18.2-sonya
  • Models: en, cache, en_vectors_web_lg, en_core_web_lg, en_core_web_sm, en_core_web_md, en_glove_cc_300_1m_vectors-1.0.0
  • Python version: 3.5.2
  • spaCy version: 2.0.3
@ines ines added the training Training and updating models label Nov 21, 2017
IsaacHaze added a commit to IsaacHaze/spaCy that referenced this issue Dec 10, 2017
@ines ines closed this as completed in 9b25605 Dec 11, 2017
@ines ines added the bug Bugs and behaviour differing from documentation label Dec 11, 2017
@lock
Copy link

lock bot commented May 8, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bugs and behaviour differing from documentation training Training and updating models
Projects
None yet
Development

No branches or pull requests

2 participants