llm_test.py 201 B

1234
  1. from llama_recipes.inference.llm import LLM
  2. together_example = LLM("TOGETHER::togethercomputer/llama-2-7b-chat::access-token")
  3. together_result = together_example.query(prompt="Why is the sky blue?")