Instructions to use BAAI/AquilaChat-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BAAI/AquilaChat-7B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("BAAI/AquilaChat-7B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
9edfe72
1
Parent(s): 36e655e
Update config.json
Browse files- config.json +2 -3
config.json
CHANGED
|
@@ -5,9 +5,8 @@
|
|
| 5 |
"AquilaModel"
|
| 6 |
],
|
| 7 |
"auto_map": {
|
| 8 |
-
"AutoConfig": "
|
| 9 |
-
"
|
| 10 |
-
"AutoModelForSeq2SeqLM": "modeling.ChatGLMForConditionalGeneration"
|
| 11 |
},
|
| 12 |
"bos_token_id": 1,
|
| 13 |
"eos_token_id": 2,
|
|
|
|
| 5 |
"AquilaModel"
|
| 6 |
],
|
| 7 |
"auto_map": {
|
| 8 |
+
"AutoConfig": "configuration_aquila.ChatGLMConfig",
|
| 9 |
+
"AutoModelForCausalLM": "modeling_aquila.AquilaForCausalLM"
|
|
|
|
| 10 |
},
|
| 11 |
"bos_token_id": 1,
|
| 12 |
"eos_token_id": 2,
|