bigpigeon
bigpigeon
panic with below line , change it to will work well `input_map = {"input_ids": input_ids, "input_mask": input_mask}` https://github.com/macanv/BERT-BiLSTM-CRF-NER/blob/master/bert_base/server/__init__.py#L465
就像 django automigrate ?
gorm额migrate就是CreateTableIfNotExist 并且把缺少的index和字段补充上 和django的还是有区别的 toyorm没有,只有CreateTable和DropTable如果是本地测试应该没问题的
support if you want add datetime field in CreateTable operation, need add NULL tag e.g https://github.com/bigpigeon/toyorm/blob/master/model.go#L248