Instructions to use dbg-adapter/emulation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dbg-adapter/emulation with PEFT:
from peft import PeftModel from transformers import AutoModelForTokenClassification base_model = AutoModelForTokenClassification.from_pretrained("gguichard/camembert-large-resaved") model = PeftModel.from_pretrained(base_model, "dbg-adapter/emulation") - Notebooks
- Google Colab
- Kaggle
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "gguichard/camembert-large-resaved", | |
| "bias": "all", | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "loftq_config": {}, | |
| "lora_alpha": 16, | |
| "lora_dropout": 0.1, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": [ | |
| "classifier" | |
| ], | |
| "peft_type": "LORA", | |
| "r": 32, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "value", | |
| "query", | |
| "key" | |
| ], | |
| "task_type": "TOKEN_CLS", | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |