mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 01:48:04 +03:00 
			
		
		
		
	Add version tag to --base-model argument (closes #3720)
				
					
				
			This commit is contained in:
		
							parent
							
								
									61829f1e79
								
							
						
					
					
						commit
						f256bfbcc4
					
				| 
						 | 
					@ -210,7 +210,7 @@ $ python -m spacy train [lang] [output_path] [train_path] [dev_path]
 | 
				
			||||||
| `output_path`                                         | positional    | Directory to store model in. Will be created if it doesn't exist.                                                                                                 |
 | 
					| `output_path`                                         | positional    | Directory to store model in. Will be created if it doesn't exist.                                                                                                 |
 | 
				
			||||||
| `train_path`                                          | positional    | Location of JSON-formatted training data. Can be a file or a directory of files.                                                                                  |
 | 
					| `train_path`                                          | positional    | Location of JSON-formatted training data. Can be a file or a directory of files.                                                                                  |
 | 
				
			||||||
| `dev_path`                                            | positional    | Location of JSON-formatted development data for evaluation. Can be a file or a directory of files.                                                                |
 | 
					| `dev_path`                                            | positional    | Location of JSON-formatted development data for evaluation. Can be a file or a directory of files.                                                                |
 | 
				
			||||||
| `--base-model`, `-b`                                  | option        | Optional name of base model to update. Can be any loadable spaCy model.                                                                                           |
 | 
					| `--base-model`, `-b` <Tag variant="new">2.1</Tag>     | option        | Optional name of base model to update. Can be any loadable spaCy model.                                                                                           |
 | 
				
			||||||
| `--pipeline`, `-p` <Tag variant="new">2.1</Tag>       | option        | Comma-separated names of pipeline components to train. Defaults to `'tagger,parser,ner'`.                                                                         |
 | 
					| `--pipeline`, `-p` <Tag variant="new">2.1</Tag>       | option        | Comma-separated names of pipeline components to train. Defaults to `'tagger,parser,ner'`.                                                                         |
 | 
				
			||||||
| `--vectors`, `-v`                                     | option        | Model to load vectors from.                                                                                                                                       |
 | 
					| `--vectors`, `-v`                                     | option        | Model to load vectors from.                                                                                                                                       |
 | 
				
			||||||
| `--n-iter`, `-n`                                      | option        | Number of iterations (default: `30`).                                                                                                                             |
 | 
					| `--n-iter`, `-n`                                      | option        | Number of iterations (default: `30`).                                                                                                                             |
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user