Instructions to use prashantsaini/testing-final-04-Nov with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prashantsaini/testing-final-04-Nov with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("prashantsaini/testing-final-04-Nov", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from prashantsaini/testing-final-04-Nov: direct link, hf CLI and curl.
- Browser
- Download file 905 Bytes
-
https://huggingface.co/prashantsaini/testing-final-04-Nov/resolve/main/adapter_config.json
- Command line
-
hf download hf://prashantsaini/testing-final-04-Nov/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/prashantsaini/testing-final-04-Nov/resolve/main/adapter_config.json
905 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "meta-llama/Meta-Llama-3-8B-Instruct", | |
| "bias": "none", | |
| "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": 512, | |
| "lora_dropout": 0.01, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 4096, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "model.layers.31.self_attn.k_proj", | |
| "model.layers.31.mlp.down_proj", | |
| "model.layers.31.self_attn.o_proj", | |
| "model.layers.31.mlp.up_proj", | |
| "model.layers.31.mlp.gate_proj", | |
| "model.layers.31.self_attn.v_proj", | |
| "model.layers.31.self_attn.q_proj" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |