Instructions to use havinash-ai/377d8250-51d3-4829-b83f-26d1ea9dfb50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use havinash-ai/377d8250-51d3-4829-b83f-26d1ea9dfb50 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3-mini-128k-instruct") model = PeftModel.from_pretrained(base_model, "havinash-ai/377d8250-51d3-4829-b83f-26d1ea9dfb50") - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from havinash-ai/377d8250-51d3-4829-b83f-26d1ea9dfb50: direct link, hf CLI and curl.
- Browser
- Download file 697 Bytes
-
https://huggingface.co/havinash-ai/377d8250-51d3-4829-b83f-26d1ea9dfb50/resolve/8668f09249a52e871ce35d2dcf319b6fc0f7b4a9/adapter_config.json
- Command line
-
hf download hf://havinash-ai/377d8250-51d3-4829-b83f-26d1ea9dfb50@8668f09249a52e871ce35d2dcf319b6fc0f7b4a9/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/havinash-ai/377d8250-51d3-4829-b83f-26d1ea9dfb50/resolve/8668f09249a52e871ce35d2dcf319b6fc0f7b4a9/adapter_config.json
697 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "microsoft/Phi-3-mini-128k-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": 16, | |
| "lora_dropout": 0.05, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 8, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "qkv_proj", | |
| "down_proj", | |
| "gate_up_proj", | |
| "o_proj" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |