Spaces:
Running
Running
changed LLM model to meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo
Browse files
utils.py
CHANGED
|
@@ -53,7 +53,7 @@ def get_vector_store(text_chunks: List[str]) -> None:
|
|
| 53 |
# ---------- QA chain helpers ----------------------------------------------
|
| 54 |
def get_conversational_chain() -> Tuple[ChatTogether, PromptTemplate]:
|
| 55 |
api_key = get_together_api_key()
|
| 56 |
-
llm = ChatTogether(model="meta-llama/Llama-3.
|
| 57 |
temperature=0.3, api_key=api_key)
|
| 58 |
prompt = PromptTemplate(
|
| 59 |
template=(
|
|
|
|
| 53 |
# ---------- QA chain helpers ----------------------------------------------
|
| 54 |
def get_conversational_chain() -> Tuple[ChatTogether, PromptTemplate]:
|
| 55 |
api_key = get_together_api_key()
|
| 56 |
+
llm = ChatTogether(model="meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
|
| 57 |
temperature=0.3, api_key=api_key)
|
| 58 |
prompt = PromptTemplate(
|
| 59 |
template=(
|