Instructions to use Go4miii/DISC-FinLLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Go4miii/DISC-FinLLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Go4miii/DISC-FinLLM", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Go4miii/DISC-FinLLM", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
#5
by chingw - opened
- config.json +1 -1
config.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
"auto_map": {
|
| 8 |
"AutoConfig": "configuration_baichuan.BaichuanConfig",
|
| 9 |
"AutoModel": "modeling_baichuan.BaichuanForCausalLM",
|
| 10 |
-
"AutoModelForCausalLM": "
|
| 11 |
},
|
| 12 |
"bos_token_id": 1,
|
| 13 |
"eos_token_id": 2,
|
|
|
|
| 7 |
"auto_map": {
|
| 8 |
"AutoConfig": "configuration_baichuan.BaichuanConfig",
|
| 9 |
"AutoModel": "modeling_baichuan.BaichuanForCausalLM",
|
| 10 |
+
"AutoModelForCausalLM": "Go4miii/DISC-FinLLM--modeling_baichuan.BaichuanForCausalLM"
|
| 11 |
},
|
| 12 |
"bos_token_id": 1,
|
| 13 |
"eos_token_id": 2,
|