Instructions to use ErrorAI/7ce82059-66f7-4ccd-bc95-18dea2313e1f with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ErrorAI/7ce82059-66f7-4ccd-bc95-18dea2313e1f with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("EleutherAI/pythia-160m") model = PeftModel.from_pretrained(base_model, "ErrorAI/7ce82059-66f7-4ccd-bc95-18dea2313e1f") - Notebooks
- Google Colab
- Kaggle
Download last-checkpoint/adapter_config.json from ErrorAI/7ce82059-66f7-4ccd-bc95-18dea2313e1f: direct link, hf CLI and curl.
- Browser
- Download file 696 Bytes
-
https://huggingface.co/ErrorAI/7ce82059-66f7-4ccd-bc95-18dea2313e1f/resolve/main/last-checkpoint/adapter_config.json
- Command line
-
hf download hf://ErrorAI/7ce82059-66f7-4ccd-bc95-18dea2313e1f/last-checkpoint/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/ErrorAI/7ce82059-66f7-4ccd-bc95-18dea2313e1f/resolve/main/last-checkpoint/adapter_config.json
696 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "EleutherAI/pythia-160m", | |
| "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": [ | |
| "dense_h_to_4h", | |
| "query_key_value", | |
| "dense_4h_to_h", | |
| "dense" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |