Instructions to use darrel999/SQL_baichuan2_7b_chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use darrel999/SQL_baichuan2_7b_chat with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="darrel999/SQL_baichuan2_7b_chat", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("darrel999/SQL_baichuan2_7b_chat", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "assistant_token_id": 196, | |
| "bos_token_id": 1, | |
| "do_sample": true, | |
| "eos_token_id": 2, | |
| "max_new_tokens": 2048, | |
| "pad_token_id": 0, | |
| "repetition_penalty": 1.05, | |
| "temperature": 0.3, | |
| "top_k": 5, | |
| "top_p": 0.85, | |
| "transformers_version": "4.31.0", | |
| "user_token_id": 195 | |
| } | |