mirror of
				https://github.com/allenai/olmocr.git
				synced 2025-11-04 12:07:15 +00:00 
			
		
		
		
	typo
This commit is contained in:
		
							parent
							
								
									7416b42023
								
							
						
					
					
						commit
						fdcd77eadd
					
				@ -116,7 +116,7 @@ def run_train(config: TrainConfig):
 | 
				
			|||||||
    setup_environment(aws_config=config.aws, wandb_config=config.wandb, WANDB_RUN_GROUP=run_name.group)
 | 
					    setup_environment(aws_config=config.aws, wandb_config=config.wandb, WANDB_RUN_GROUP=run_name.group)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    processor = AutoProcessor.from_pretrained(config.model.name_or_path)
 | 
					    processor = AutoProcessor.from_pretrained(config.model.name_or_path)
 | 
				
			||||||
    train_dataset, valid_dataset = make_dataset(config)    
 | 
					    train_dataset, valid_dataset = make_dataset(config, processor)    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    model = Qwen2VLForConditionalGeneration.from_pretrained(
 | 
					    model = Qwen2VLForConditionalGeneration.from_pretrained(
 | 
				
			||||||
        config.model.name_or_path, torch_dtype=torch.bfloat16,
 | 
					        config.model.name_or_path, torch_dtype=torch.bfloat16,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user