forked from facebookresearch/CRAG
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathuser_config.py
More file actions
34 lines (24 loc) · 1002 Bytes
/
user_config.py
File metadata and controls
34 lines (24 loc) · 1002 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
# isort: skip_file
from models.dummy_model import DummyModel
GenerateModel = DummyModel
# EvaluateModel = DummyModel
# Uncomment the lines below to use the Vanilla LLAMA baseline
# from models.vanilla_llama_baseline import InstructModel
# GenerateModel = InstructModel
# EvaluateModel = InstructModel
# Uncomment the lines below to use the RAG LLAMA baseline
# from models.rag_llama_baseline import RAGModel
# GenerateModel = RAGModel
# EvaluateModel = RAGModel
# Uncomment the lines below to use the RAG KG LLAMA baseline
# from models.rag_knowledge_graph_baseline import RAG_KG_Model
# GenerateModel = RAG_KG_Model
# EvaluateModel = RAG_KG_Model
# from models.openapi_model import OpenAIModel
# EvaluateModel = OpenAIModel
from models.ollama_model import OllamaModel
EvaluateModel = OllamaModel