Instructions to use 1-lock/64a591c1-0af9-4292-9e18-4a52755c506b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use 1-lock/64a591c1-0af9-4292-9e18-4a52755c506b with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Yarn-Mistral-7b-64k") model = PeftModel.from_pretrained(base_model, "1-lock/64a591c1-0af9-4292-9e18-4a52755c506b") - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from 1-lock/64a591c1-0af9-4292-9e18-4a52755c506b: direct link, hf CLI and curl.
- Browser
- Download file 734 Bytes
-
https://huggingface.co/1-lock/64a591c1-0af9-4292-9e18-4a52755c506b/resolve/569d8d26c27d6cdc89aed8c3c2aaa35e248f1ddc/adapter_config.json
- Command line
-
hf download hf://1-lock/64a591c1-0af9-4292-9e18-4a52755c506b@569d8d26c27d6cdc89aed8c3c2aaa35e248f1ddc/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/1-lock/64a591c1-0af9-4292-9e18-4a52755c506b/resolve/569d8d26c27d6cdc89aed8c3c2aaa35e248f1ddc/adapter_config.json
734 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "NousResearch/Yarn-Mistral-7b-64k", | |
| "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": 64, | |
| "lora_dropout": 0.05, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 32, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "o_proj", | |
| "k_proj", | |
| "gate_proj", | |
| "q_proj", | |
| "up_proj", | |
| "down_proj", | |
| "v_proj" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |