Instructions to use hai2131/sailor2-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hai2131/sailor2-test with Transformers:
# Load model directly from transformers import AutoTokenizer, QwenCrossAttentionEncDec tokenizer = AutoTokenizer.from_pretrained("hai2131/sailor2-test") model = QwenCrossAttentionEncDec.from_pretrained("hai2131/sailor2-test") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 151643, | |
| "decoder_start_token_id": 151643, | |
| "eos_token_id": 151645, | |
| "transformers_version": "4.56.0", | |
| "use_cache": false | |
| } | |