You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/examples/models/together_example.py

11 lines
267 B

from swarms import TogetherLLM
# Initialize the model with your parameters
model = TogetherLLM(
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.")