parent
							
								
									393741b9aa
								
							
						
					
					
						commit
						368aa92ab2
					
				@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					from swarms import TogetherModel
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Initialize the model with your parameters
 | 
				
			||||||
 | 
					model = TogetherModel(
 | 
				
			||||||
 | 
					    model_name = "mistralai/Mixtral-8x7B-Instruct-v0.1",
 | 
				
			||||||
 | 
					    max_tokens=1000,
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Run the model
 | 
				
			||||||
 | 
					model.run("Generate a blog post about the best way to make money online.")
 | 
				
			||||||
					Loading…
					
					
				
		Reference in new issue