Instructions to use FatCat87/taopanda-3_3fd1ec50-91e1-4e9c-a1cb-46229e41c04c with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use FatCat87/taopanda-3_3fd1ec50-91e1-4e9c-a1cb-46229e41c04c with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/codellama-7b") model = PeftModel.from_pretrained(base_model, "FatCat87/taopanda-3_3fd1ec50-91e1-4e9c-a1cb-46229e41c04c") - Notebooks
- Google Colab
- Kaggle
| license: apache-2.0 | |
| library_name: peft | |
| tags: | |
| - axolotl | |
| - generated_from_trainer | |
| base_model: unsloth/codellama-7b | |
| model-index: | |
| - name: taopanda-3_3fd1ec50-91e1-4e9c-a1cb-46229e41c04c | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl) | |
| <details><summary>See axolotl config</summary> | |
| axolotl version: `0.4.1` | |
| ```yaml | |
| adapter: lora | |
| base_model: unsloth/codellama-7b | |
| bf16: auto | |
| datasets: | |
| - data_files: | |
| - db319291db439759_train_data.json | |
| ds_type: json | |
| format: custom | |
| path: db319291db439759_train_data.json | |
| type: | |
| field: null | |
| field_input: null | |
| field_instruction: original | |
| field_output: reference | |
| field_system: null | |
| format: null | |
| no_input_format: null | |
| system_format: '{system}' | |
| system_prompt: '' | |
| debug: null | |
| deepspeed: null | |
| early_stopping_patience: null | |
| eval_max_new_tokens: 128 | |
| eval_sample_packing: false | |
| eval_table_size: null | |
| evals_per_epoch: 4 | |
| flash_attention: true | |
| fp16: null | |
| fsdp: null | |
| fsdp_config: null | |
| gradient_accumulation_steps: 4 | |
| gradient_checkpointing: true | |
| group_by_length: false | |
| hub_model_id: FatCat87/taopanda-3_3fd1ec50-91e1-4e9c-a1cb-46229e41c04c | |
| learning_rate: 0.0002 | |
| load_in_4bit: false | |
| load_in_8bit: true | |
| local_rank: null | |
| logging_steps: 1 | |
| lora_alpha: 16 | |
| lora_dropout: 0.05 | |
| lora_r: 32 | |
| lora_target_linear: true | |
| lr_scheduler: cosine | |
| micro_batch_size: 2 | |
| model_type: AutoModelForCausalLM | |
| num_epochs: 2 | |
| optimizer: adamw_bnb_8bit | |
| output_dir: ./outputs/out/taopanda-3_3fd1ec50-91e1-4e9c-a1cb-46229e41c04c | |
| pad_to_sequence_len: true | |
| resume_from_checkpoint: null | |
| sample_packing: true | |
| saves_per_epoch: 1 | |
| seed: 56254 | |
| sequence_len: 4096 | |
| special_tokens: null | |
| strict: false | |
| tf32: false | |
| tokenizer_type: AutoTokenizer | |
| train_on_inputs: false | |
| val_set_size: 0.1 | |
| wandb_entity: fatcat87-taopanda | |
| wandb_log_model: null | |
| wandb_mode: online | |
| wandb_name: taopanda-3_3fd1ec50-91e1-4e9c-a1cb-46229e41c04c | |
| wandb_project: subnet56 | |
| wandb_runid: taopanda-3_3fd1ec50-91e1-4e9c-a1cb-46229e41c04c | |
| wandb_watch: null | |
| warmup_ratio: 0.05 | |
| weight_decay: 0.0 | |
| xformers_attention: null | |
| ``` | |
| </details><br> | |
| [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/fatcat87-taopanda/subnet56/runs/iqabcm83) | |
| # taopanda-3_3fd1ec50-91e1-4e9c-a1cb-46229e41c04c | |
| This model is a fine-tuned version of [unsloth/codellama-7b](https://huggingface.co/unsloth/codellama-7b) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.1232 | |
| ## Model description | |
| More information needed | |
| ## Intended uses & limitations | |
| More information needed | |
| ## Training and evaluation data | |
| More information needed | |
| ## Training procedure | |
| ### Training hyperparameters | |
| The following hyperparameters were used during training: | |
| - learning_rate: 0.0002 | |
| - train_batch_size: 2 | |
| - eval_batch_size: 2 | |
| - seed: 56254 | |
| - distributed_type: multi-GPU | |
| - num_devices: 4 | |
| - gradient_accumulation_steps: 4 | |
| - total_train_batch_size: 32 | |
| - total_eval_batch_size: 8 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: cosine | |
| - num_epochs: 2 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:------:|:----:|:---------------:| | |
| | 0.3334 | 0.1290 | 1 | 0.4137 | | |
| | 0.3292 | 0.2581 | 2 | 0.3861 | | |
| | 0.2706 | 0.5161 | 4 | 0.2786 | | |
| | 0.2041 | 0.7742 | 6 | 0.1999 | | |
| | 0.157 | 1.0323 | 8 | 0.1529 | | |
| | 0.1236 | 1.2258 | 10 | 0.1323 | | |
| | 0.1194 | 1.4839 | 12 | 0.1244 | | |
| | 0.1111 | 1.7419 | 14 | 0.1232 | | |
| ### Framework versions | |
| - PEFT 0.11.1 | |
| - Transformers 4.42.3 | |
| - Pytorch 2.3.0+cu121 | |
| - Datasets 2.19.1 | |
| - Tokenizers 0.19.1 |