Instructions to use patruff/lexiJudgeSFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use patruff/lexiJudgeSFT with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("patruff/lexiJudgeSFT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Download adapter_config.json from patruff/lexiJudgeSFT: direct link, hf CLI and curl.
- Browser
- Download file 830 Bytes
-
https://huggingface.co/patruff/lexiJudgeSFT/resolve/main/adapter_config.json
- Command line
-
hf download hf://patruff/lexiJudgeSFT/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/patruff/lexiJudgeSFT/resolve/main/adapter_config.json
830 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "Orenguteng/Llama-3.1-8B-Lexi-Uncensored-V2", | |
| "bias": "none", | |
| "eva_config": null, | |
| "exclude_modules": null, | |
| "fan_in_fan_out": true, | |
| "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.1, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": [ | |
| "lm_head" | |
| ], | |
| "peft_type": "LORA", | |
| "r": 128, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "up_proj", | |
| "v_proj", | |
| "o_proj", | |
| "k_proj", | |
| "down_proj", | |
| "gate_proj", | |
| "q_proj" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_dora": false, | |
| "use_rslora": true | |
| } |