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.
13 lines
273 B
13 lines
273 B
1 year ago
|
from swarms import TogetherLLM
|
||
1 year ago
|
|
||
|
# Initialize the model with your parameters
|
||
1 year ago
|
model = TogetherLLM(
|
||
1 year ago
|
model_name="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
||
1 year ago
|
max_tokens=1000,
|
||
|
)
|
||
|
|
||
|
# Run the model
|
||
1 year ago
|
model.run(
|
||
|
"Generate a blog post about the best way to make money online."
|
||
|
)
|