Instructions to use asherisaac/blah with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use asherisaac/blah with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("nickypro/tinyllama-15M") model = PeftModel.from_pretrained(base_model, "asherisaac/blah") - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from asherisaac/blah: direct link, hf CLI and curl.
- Browser
- Download file 2.21 kB
-
https://huggingface.co/asherisaac/blah/resolve/main/adapter_config.json
- Command line
-
hf download hf://asherisaac/blah/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/asherisaac/blah/resolve/main/adapter_config.json
2.21 kB
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "nickypro/tinyllama-15M", | |
| "bias": "none", | |
| "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": 8, | |
| "lora_dropout": true, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 8, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "model.layers.1.mlp.up_proj", | |
| "model.layers.3.mlp.gate_proj", | |
| "model.layers.4.mlp.up_proj", | |
| "model.layers.4.self_attn.o_proj", | |
| "model.layers.1.self_attn.o_proj", | |
| "model.layers.0.self_attn.q_proj", | |
| "model.layers.1.self_attn.k_proj", | |
| "model.layers.4.self_attn.k_proj", | |
| "model.layers.3.self_attn.k_proj", | |
| "lm_head", | |
| "model.layers.5.self_attn.v_proj", | |
| "model.layers.5.self_attn.k_proj", | |
| "model.layers.0.self_attn.k_proj", | |
| "model.layers.2.mlp.up_proj", | |
| "model.layers.2.self_attn.q_proj", | |
| "model.layers.3.self_attn.v_proj", | |
| "model.layers.4.mlp.gate_proj", | |
| "model.layers.5.self_attn.q_proj", | |
| "model.layers.5.mlp.gate_proj", | |
| "model.layers.3.mlp.up_proj", | |
| "model.layers.2.mlp.down_proj", | |
| "model.layers.2.self_attn.k_proj", | |
| "model.layers.4.self_attn.q_proj", | |
| "model.layers.0.self_attn.v_proj", | |
| "model.layers.1.mlp.down_proj", | |
| "model.layers.3.self_attn.q_proj", | |
| "model.layers.2.mlp.gate_proj", | |
| "model.layers.0.self_attn.o_proj", | |
| "model.layers.5.self_attn.o_proj", | |
| "model.layers.1.mlp.gate_proj", | |
| "model.layers.2.self_attn.o_proj", | |
| "model.layers.5.mlp.up_proj", | |
| "model.layers.4.self_attn.v_proj", | |
| "model.layers.2.self_attn.v_proj", | |
| "model.layers.0.mlp.up_proj", | |
| "model.layers.0.mlp.gate_proj", | |
| "model.layers.0.mlp.down_proj", | |
| "model.layers.3.self_attn.o_proj", | |
| "model.layers.1.self_attn.v_proj", | |
| "model.layers.5.mlp.down_proj", | |
| "model.layers.3.mlp.down_proj", | |
| "model.layers.4.mlp.down_proj", | |
| "model.layers.1.self_attn.q_proj" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |