Question Answering
Transformers
PyTorch
Chinese
baichuan
feature-extraction
lora
custom_code
text-generation-inference
Instructions to use Hongbin37/CBT-LLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hongbin37/CBT-LLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="Hongbin37/CBT-LLM", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Hongbin37/CBT-LLM", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -2
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"BaiChuanForCausalLM"
|
| 5 |
],
|
|
@@ -26,4 +26,3 @@
|
|
| 26 |
"use_cache": true,
|
| 27 |
"vocab_size": 64000
|
| 28 |
}
|
| 29 |
-
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "baichuan-inc/baichuan-7B",
|
| 3 |
"architectures": [
|
| 4 |
"BaiChuanForCausalLM"
|
| 5 |
],
|
|
|
|
| 26 |
"use_cache": true,
|
| 27 |
"vocab_size": 64000
|
| 28 |
}
|
|
|