Instructions to use anthonymeo/LLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use anthonymeo/LLM with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("internlm/internlm2_5-7b-chat") model = PeftModel.from_pretrained(base_model, "anthonymeo/LLM") - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from anthonymeo/LLM: direct link, hf CLI and curl.
- Browser
- Download file 674 Bytes
-
https://huggingface.co/anthonymeo/LLM/resolve/main/adapter_config.json
- Command line
-
hf download hf://anthonymeo/LLM/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/anthonymeo/LLM/resolve/main/adapter_config.json
674 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "internlm/internlm2_5-7b-chat", | |
| "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": 16, | |
| "lora_dropout": 0, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 8, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "w1", | |
| "w2", | |
| "w3", | |
| "wqkv", | |
| "wo" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |