Instructions to use tsystems/colqwen2-7b-v1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use tsystems/colqwen2-7b-v1.0 with PEFT:
from peft import PeftModel from transformers import AutoModel base_model = AutoModel.from_pretrained("Qwen/Qwen2-VL-7B-Instruct") model = PeftModel.from_pretrained(base_model, "tsystems/colqwen2-7b-v1.0") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from tsystems/colqwen2-7b-v1.0: direct link, hf CLI and curl.
- Browser
- Download file 261 Bytes
-
https://huggingface.co/tsystems/colqwen2-7b-v1.0/resolve/main/generation_config.json
- Command line
-
hf download hf://tsystems/colqwen2-7b-v1.0/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/tsystems/colqwen2-7b-v1.0/resolve/main/generation_config.json
261 Bytes
| { | |
| "attn_implementation": "flash_attention_2", | |
| "bos_token_id": 151643, | |
| "do_sample": true, | |
| "eos_token_id": [ | |
| 151645, | |
| 151643 | |
| ], | |
| "pad_token_id": 151643, | |
| "temperature": 0.01, | |
| "top_k": 1, | |
| "top_p": 0.001, | |
| "transformers_version": "4.46.3" | |
| } | |