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
Commit History
-
Adding `safetensors` variant of this modelβ
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.92294a9
-
Update README.md
Verified signatured3828fa
-
Update config.json
Verified signature990a128 -
Update config.json
Verified signature9f3a25e -
Update config.json
Verified signatureac5a8b3 -
Update config.json
Verified signature161b46c -
Update config.json
Verified signature9ef9aa7 -
Update config.json
Verified signaturebb54135 -
Update README.md
Verified signatureb6978fc
-
Update README.md
Verified signature71e2d03 -
Update README.md
Verified signatureb25281f -
Update README.md
Verified signature745660c -
Update README.md
Verified signature27f632a -
Create README.md
Verified signature8730f9e -
Upload 11 files
Verified signature9682f3e
-
initial commit
Verified signatureeb4ae2b