Instructions to use quannh197/9321fefe-853f-483f-826c-4d079fcd3151 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use quannh197/9321fefe-853f-483f-826c-4d079fcd3151 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("aisingapore/llama3-8b-cpt-sea-lionv2.1-instruct") model = PeftModel.from_pretrained(base_model, "quannh197/9321fefe-853f-483f-826c-4d079fcd3151") - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from quannh197/9321fefe-853f-483f-826c-4d079fcd3151: direct link, hf CLI and curl.
- Browser
- Download file 748 Bytes
-
https://huggingface.co/quannh197/9321fefe-853f-483f-826c-4d079fcd3151/resolve/main/adapter_config.json
- Command line
-
hf download hf://quannh197/9321fefe-853f-483f-826c-4d079fcd3151/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/quannh197/9321fefe-853f-483f-826c-4d079fcd3151/resolve/main/adapter_config.json
748 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "aisingapore/llama3-8b-cpt-sea-lionv2.1-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": [ | |
| "v_proj", | |
| "o_proj", | |
| "up_proj", | |
| "q_proj", | |
| "down_proj", | |
| "k_proj", | |
| "gate_proj" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |