Instructions to use Dr-Floofers/PIPv2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Dr-Floofers/PIPv2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("openchat/openchat_3.5") model = PeftModel.from_pretrained(base_model, "Dr-Floofers/PIPv2") - Notebooks
- Google Colab
- Kaggle
| library_name: peft | |
| base_model: openchat/openchat_3.5 | |
| tags: | |
| - generated_from_trainer | |
| datasets: | |
| - Dr-Floofers/PIPv2 | |
| model-index: | |
| - name: Dr-Floofers/PIPv2 | |
| results: [] | |
| [<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl) | |
| <details><summary>See axolotl config</summary> | |
| axolotl version: `0.8.0.dev0` | |
| ```yaml | |
| adapter: lora | |
| base_model: openchat/openchat_3.5 | |
| bf16: auto | |
| dataset_processes: 32 | |
| datasets: | |
| - type: chat_template | |
| field_messages: conversations | |
| message_property_mappings: | |
| content: value | |
| role: from | |
| path: Dr-Floofers/PIPv2 | |
| trust_remote_code: false | |
| gradient_accumulation_steps: 1 | |
| gradient_checkpointing: false | |
| learning_rate: 0.0002 | |
| lisa_layers_attribute: model.layers | |
| load_best_model_at_end: true | |
| load_in_4bit: false | |
| load_in_8bit: true | |
| lora_alpha: 32 | |
| lora_dropout: 0.05 | |
| lora_r: 16 | |
| lora_target_modules: | |
| - q_proj | |
| - v_proj | |
| - k_proj | |
| - o_proj | |
| - gate_proj | |
| - down_proj | |
| - up_proj | |
| loraplus_lr_embedding: 1.0e-06 | |
| lr_scheduler: cosine | |
| max_prompt_len: 512 | |
| mean_resizing_embeddings: false | |
| micro_batch_size: 16 | |
| num_epochs: 3 | |
| optimizer: adamw_bnb_8bit | |
| output_dir: ./outputs/mymodel | |
| pretrain_multipack_attn: true | |
| pretrain_multipack_buffer_size: 10000 | |
| qlora_sharded_model_loading: false | |
| ray_num_workers: 1 | |
| resources_per_worker: | |
| GPU: 1 | |
| sample_packing_bin_size: 200 | |
| sample_packing_group_size: 100000 | |
| save_only_model: false | |
| save_safetensors: true | |
| sequence_len: 4096 | |
| shuffle_merged_datasets: true | |
| skip_prepare_dataset: false | |
| strict: false | |
| train_on_inputs: false | |
| trl: | |
| log_completions: false | |
| ref_model_mixup_alpha: 0.9 | |
| ref_model_sync_steps: 64 | |
| sync_ref_model: false | |
| use_vllm: false | |
| vllm_device: auto | |
| vllm_dtype: auto | |
| vllm_gpu_memory_utilization: 0.9 | |
| use_ray: false | |
| val_set_size: 0.0 | |
| weight_decay: 0.0 | |
| ``` | |
| </details> | |
| > [!WARNING] | |
| > This code is provided for personal viewing and reference purposes only <br> | |
| > You may not copy, modify, distribute, or use this code in any way without explicit permission | |
| This model is a fine-tuned version of [openchat/openchat_3.5](https://huggingface.co/openchat/openchat_3.5) on the Dr-Floofers/PIPv2 dataset. | |
| ## Intended uses & limitations | |
| The inteded use of this model is to be a personal assintant for a person named Mylo. It is also limted to only this and has a hard time doing anything else. | |
| ### Training hyperparameters | |
| The following hyperparameters were used during training: | |
| - learning_rate: 0.0002 | |
| - train_batch_size: 16 | |
| - eval_batch_size: 16 | |
| - seed: 42 | |
| - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments | |
| - lr_scheduler_type: cosine | |
| - num_epochs: 3.0 | |
| ### Framework versions | |
| - PEFT 0.14.0 | |
| - Transformers 4.49.0 | |
| - Pytorch 2.5.1+cu124 | |
| - Datasets 3.2.0 | |
| - Tokenizers 0.21.0 |