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 # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="Hongbin37/CBT-LLM", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Hongbin37/CBT-LLM", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
language:
|
| 4 |
- zh
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
| 6 |
A instruction-tuned LoRA model of https://huggingface.co/baichuan-inc/baichuan-7B
|
| 7 |
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
language:
|
| 4 |
- zh
|
| 5 |
+
pipeline_tag: question-answering
|
| 6 |
+
tags:
|
| 7 |
+
- baichuan
|
| 8 |
+
- lora
|
| 9 |
---
|
| 10 |
A instruction-tuned LoRA model of https://huggingface.co/baichuan-inc/baichuan-7B
|
| 11 |
|