Instructions to use error577/080ea7dc-0493-4b96-8162-2f766cc779b1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use error577/080ea7dc-0493-4b96-8162-2f766cc779b1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Yarn-Solar-10b-64k") model = PeftModel.from_pretrained(base_model, "error577/080ea7dc-0493-4b96-8162-2f766cc779b1") - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from error577/080ea7dc-0493-4b96-8162-2f766cc779b1: direct link, hf CLI and curl.
- Browser
- Download file 732 Bytes
-
https://huggingface.co/error577/080ea7dc-0493-4b96-8162-2f766cc779b1/resolve/main/adapter_config.json
- Command line
-
hf download hf://error577/080ea7dc-0493-4b96-8162-2f766cc779b1/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/error577/080ea7dc-0493-4b96-8162-2f766cc779b1/resolve/main/adapter_config.json
732 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "NousResearch/Yarn-Solar-10b-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": 8, | |
| "lora_dropout": 0.05, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 16, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "k_proj", | |
| "down_proj", | |
| "gate_proj", | |
| "q_proj", | |
| "up_proj", | |
| "v_proj", | |
| "o_proj" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |