Instructions to use AmaadMartin/k_1_context_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use AmaadMartin/k_1_context_model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen-VL-Chat") model = PeftModel.from_pretrained(base_model, "AmaadMartin/k_1_context_model") - Notebooks
- Google Colab
- Kaggle
| { | |
| "auto_map": { | |
| "AutoTokenizer": [ | |
| "tokenization_qwen.QWenTokenizer", | |
| null | |
| ] | |
| }, | |
| "clean_up_tokenization_spaces": true, | |
| "model_max_length": 2048, | |
| "padding_side": "right", | |
| "tokenizer_class": "QWenTokenizer" | |
| } | |