Instructions to use robertou2/task-9-microsoft-Phi-3.5-mini-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use robertou2/task-9-microsoft-Phi-3.5-mini-instruct with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3.5-mini-instruct") model = PeftModel.from_pretrained(base_model, "robertou2/task-9-microsoft-Phi-3.5-mini-instruct") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (2)
9 unmodified lines101112131413141516171819192021222324252327282425262728299 unmodified lines "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 60, "lora_dropout": 0.1, "lora_alpha": 16, "lora_dropout": 0.0, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 42, "r": 16, "rank_pattern": {}, "revision": null, "target_modules": [ "gate_proj", "qkv_proj", "up_proj", "o_proj", "ffn", "down_proj" "down_proj", "gate_up_proj", "qkv_proj" ], "task_type": "CAUSAL_LM", "use_dora": false,12323version https://git-lfs.github.com/spec/v1oid sha256:50caba5867fec230208722f79978518097e365886b89c48b095fdf3f52f1a626size 159671648oid sha256:e8b6385e85565e5e4784648055d98f4a90d5043fe6f23b0888265d489e32ae44size 100697728adapter_config.json+6-8
adapter_model.safetensors+2-2