Instructions to use Lab-MSP/comparative-reasoning-sft-cot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Lab-MSP/comparative-reasoning-sft-cot with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Omni-3B") model = PeftModel.from_pretrained(base_model, "Lab-MSP/comparative-reasoning-sft-cot") - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from Lab-MSP/comparative-reasoning-sft-cot: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/Lab-MSP/comparative-reasoning-sft-cot/resolve/main/adapter_config.json
- Command line
-
hf download hf://Lab-MSP/comparative-reasoning-sft-cot/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/Lab-MSP/comparative-reasoning-sft-cot/resolve/main/adapter_config.json
1.17 kB
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "Qwen/Qwen2.5-Omni-3B", | |
| "bias": "none", | |
| "corda_config": null, | |
| "eva_config": null, | |
| "exclude_modules": null, | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layer_replication": null, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "loftq_config": {}, | |
| "lora_alpha": 128, | |
| "lora_bias": false, | |
| "lora_dropout": 0.05, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": [], | |
| "peft_type": "LORA", | |
| "qalora_group_size": 16, | |
| "r": 64, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": "^(thinker.model.*\\.(v_proj|k_proj|gate_proj|q_proj|down_proj|o_proj|up_proj)|(?!(thinker.audio_tower.proj))thinker.audio_tower.*\\.(fc2|v_proj|k_proj|fc1|out_proj|q_proj|proj)|(?!(thinker.visual.merger))thinker.visual.*\\.(mlp.0|attn.q|gate_proj|k|attn.proj|mlp.2|down_proj|v|up_proj)|thinker.audio_tower.proj|thinker.visual.merger.*\\.(2|0))$", | |
| "target_parameters": null, | |
| "task_type": "CAUSAL_LM", | |
| "trainable_token_indices": null, | |
| "use_dora": false, | |
| "use_qalora": false, | |
| "use_rslora": false | |
| } |