BertForTokenClassificiation save
How can I save the BertForTokenClassificiation model?

You can save a model using the `.save_pretrained()` method. So given that your model is called `model`, you can save it as follows:

`model.save_pretrained(path_to_directory) `<|||||>Thank you for your reply.  I already tried it. But got an error like this.

```
'BertForTokenClassification' object has no attribute 'save_pretrained'
```
<|||||>Can you share some more code about how you created the model?<|||||>```
from pytorch_pretrained_bert import BertForTokenClassification
model = BertForTokenClassification.from_pretrained("bert-base-cased", num_labels=len(tag2idx))
```

after that fine-tuning it. Then want to save this model.<|||||>ok, I got it.. I can save it by torch.. thank you