Instructions to use kobesar/FinGPT_Training_LoRA_with_ChatGLM2_6B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kobesar/FinGPT_Training_LoRA_with_ChatGLM2_6B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("THUDM/chatglm2-6b") model = PeftModel.from_pretrained(base_model, "kobesar/FinGPT_Training_LoRA_with_ChatGLM2_6B") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
"_name_or_path": "THUDM/chatglm2-6b",
|
| 3 |
"add_bias_linear": false,
|
| 4 |
"add_qkv_bias": true,
|
|
|
|
| 1 |
+
{
|
| 2 |
"_name_or_path": "THUDM/chatglm2-6b",
|
| 3 |
"add_bias_linear": false,
|
| 4 |
"add_qkv_bias": true,
|