title: spaCy 2.0: Save and Load a Custom NER model
body: <p>I've trained a custom NER model in spaCy with a custom tokenizer. I'd like to save the NER model without the tokenizer. I tried the following code with I found in the spaCy support forum:</p>
  
  <pre><code>import spacy
  
  nlp = spacy.load("en")
  nlp.tokenizer = some_custom_tokenizer
  # Train the NER model...
  nlp.tokenizer = None
  nlp.to_disk('/tmp/my_model', disable=['tokenizer'])
  </code></pre>
  
  <p>When I try to load it, the pipeline is empty, and surprisingly, is has the default spaCy tokenizer.</p>
  
  <pre><code>nlp = spacy.blank('en').from_disk('/tmp/model', disable=['tokenizer'])
  </code></pre>
  
  <p>Any idea how can I load the model without the tokenizer, but get the full pipeline? thanks</p>