Instructions to use jacksnacks/third_qlora_model_xgen_inst_faq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use jacksnacks/third_qlora_model_xgen_inst_faq with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Salesforce/xgen-7b-8k-inst") model = PeftModel.from_pretrained(base_model, "jacksnacks/third_qlora_model_xgen_inst_faq") - Notebooks
- Google Colab
- Kaggle
| { | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "Salesforce/xgen-7b-8k-inst", | |
| "bias": "none", | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "lora_alpha": 32, | |
| "lora_dropout": 0.05, | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 16, | |
| "revision": null, | |
| "target_modules": [ | |
| "q_proj", | |
| "v_proj" | |
| ], | |
| "task_type": "CAUSAL_LM" | |
| } |