Instructions to use Gertlek/LLaDA-Guard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Gertlek/LLaDA-Guard with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from Gertlek/LLaDA-Guard: direct link, hf CLI and curl.
- Browser
- Download file 1.79 kB
-
https://huggingface.co/Gertlek/LLaDA-Guard/resolve/main/adapter_config.json
- Command line
-
hf download hf://Gertlek/LLaDA-Guard/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/Gertlek/LLaDA-Guard/resolve/main/adapter_config.json
1.79 kB
| { | |
| "alora_invocation_tokens": null, | |
| "alpha_pattern": {}, | |
| "arrow_config": null, | |
| "auto_mapping": { | |
| "base_model_class": "LLaDAModelLM", | |
| "parent_library": "transformers_modules.GSAI_hyphen_ML.LLaDA_hyphen_8B_hyphen_Instruct.08b83a6feb34df1a6011b80c3c00c7563e963b07.modeling_llada" | |
| }, | |
| "base_model_name_or_path": "GSAI-ML/LLaDA-8B-Instruct", | |
| "bias": "none", | |
| "corda_config": null, | |
| "ensure_weight_tying": false, | |
| "eva_config": null, | |
| "exclude_modules": null, | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layer_replication": null, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "loftq_config": {}, | |
| "lora_alpha": 128, | |
| "lora_bias": false, | |
| "lora_dropout": 0.2, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "peft_version": "0.18.1", | |
| "qalora_group_size": 16, | |
| "r": 64, | |
| "rank_pattern": {}, | |
| "revision": "08b83a6feb34df1a6011b80c3c00c7563e963b07", | |
| "target_modules": [ | |
| "11.ff_out", | |
| "24.ff_out", | |
| "19.ff_out", | |
| "k_proj", | |
| "22.ff_out", | |
| "1.ff_out", | |
| "5.ff_out", | |
| "9.ff_out", | |
| "21.ff_out", | |
| "0.ff_out", | |
| "q_proj", | |
| "18.ff_out", | |
| "12.ff_out", | |
| "27.ff_out", | |
| "30.ff_out", | |
| "2.ff_out", | |
| "17.ff_out", | |
| "10.ff_out", | |
| "3.ff_out", | |
| "attn_out", | |
| "16.ff_out", | |
| "8.ff_out", | |
| "up_proj", | |
| "14.ff_out", | |
| "25.ff_out", | |
| "ff_proj", | |
| "20.ff_out", | |
| "28.ff_out", | |
| "4.ff_out", | |
| "7.ff_out", | |
| "23.ff_out", | |
| "29.ff_out", | |
| "13.ff_out", | |
| "15.ff_out", | |
| "31.ff_out", | |
| "v_proj", | |
| "26.ff_out", | |
| "6.ff_out" | |
| ], | |
| "target_parameters": null, | |
| "task_type": null, | |
| "trainable_token_indices": null, | |
| "use_dora": false, | |
| "use_qalora": false, | |
| "use_rslora": false | |
| } |