Instructions to use ErrorAI/a04f0773-11ea-49e4-89df-5ff2f8879c24 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ErrorAI/a04f0773-11ea-49e4-89df-5ff2f8879c24 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("tiiuae/falcon-rw-1b") model = PeftModel.from_pretrained(base_model, "ErrorAI/a04f0773-11ea-49e4-89df-5ff2f8879c24") - Notebooks
- Google Colab
- Kaggle
Download last-checkpoint/adapter_config.json from ErrorAI/a04f0773-11ea-49e4-89df-5ff2f8879c24: direct link, hf CLI and curl.
- Browser
- Download file 693 Bytes
-
https://huggingface.co/ErrorAI/a04f0773-11ea-49e4-89df-5ff2f8879c24/resolve/7c4838b7809c65b64808506ff8b0a497a768b2b9/last-checkpoint/adapter_config.json
- Command line
-
hf download hf://ErrorAI/a04f0773-11ea-49e4-89df-5ff2f8879c24@7c4838b7809c65b64808506ff8b0a497a768b2b9/last-checkpoint/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/ErrorAI/a04f0773-11ea-49e4-89df-5ff2f8879c24/resolve/7c4838b7809c65b64808506ff8b0a497a768b2b9/last-checkpoint/adapter_config.json
693 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "tiiuae/falcon-rw-1b", | |
| "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": [ | |
| "query_key_value", | |
| "dense_h_to_4h", | |
| "dense_4h_to_h", | |
| "dense" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |