Instructions to use abaddon182/6a2dfe2e-2f7a-4197-bbe4-e7c8541ccf6d with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use abaddon182/6a2dfe2e-2f7a-4197-bbe4-e7c8541ccf6d with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen2-0.5B-Instruct") model = PeftModel.from_pretrained(base_model, "abaddon182/6a2dfe2e-2f7a-4197-bbe4-e7c8541ccf6d") - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from abaddon182/6a2dfe2e-2f7a-4197-bbe4-e7c8541ccf6d: direct link, hf CLI and curl.
- Browser
- Download file 730 Bytes
-
https://huggingface.co/abaddon182/6a2dfe2e-2f7a-4197-bbe4-e7c8541ccf6d/resolve/2ae0827ee08c15bb8f5e9d12173ff9994765ca2c/adapter_config.json
- Command line
-
hf download hf://abaddon182/6a2dfe2e-2f7a-4197-bbe4-e7c8541ccf6d@2ae0827ee08c15bb8f5e9d12173ff9994765ca2c/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/abaddon182/6a2dfe2e-2f7a-4197-bbe4-e7c8541ccf6d/resolve/2ae0827ee08c15bb8f5e9d12173ff9994765ca2c/adapter_config.json
730 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "unsloth/Qwen2-0.5B-Instruct", | |
| "bias": "none", | |
| "fan_in_fan_out": null, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layer_replication": null, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "loftq_config": {}, | |
| "lora_alpha": 128, | |
| "lora_dropout": 0.05, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 64, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "q_proj", | |
| "v_proj", | |
| "o_proj", | |
| "gate_proj", | |
| "up_proj", | |
| "down_proj", | |
| "k_proj" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |