Create config/kbvqa_config.py
Browse files
my_model/config/kbvqa_config.py
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
|
3 |
+
# Model and Tokenizer Settings
|
4 |
+
KBVQA_MODEL_NAME = "m7mdal7aj/fine_tunned_llama_2_merged"
|
5 |
+
QUANTIZATION = '4bit'
|
6 |
+
MAX_CONTEXT_WINDOW = 4000
|
7 |
+
ADD_EOS_TOKEN = False
|
8 |
+
TRUST_REMOTE = False
|
9 |
+
USE_FAST = True
|
10 |
+
|
11 |
+
# Access Token
|
12 |
+
HUGGINGFACE_TOKEN = os.getenv("HUGGINGFACE_TOKEN")
|