Run this model with HF Jobs
Run Tippawan/proof-reading-version-1 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Tippawan/proof-reading-version-1. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Tippawan/proof-reading-version-1 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Tippawan/proof-reading-version-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Tippawan/proof-reading-version-1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("SeaLLMs/SeaLLMs-v3-7B-Chat") model = PeftModel.from_pretrained(base_model, "Tippawan/proof-reading-version-1") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 0
Browse filesFiles changed (13)
- .gitattributes+1
- README.mdAdded+142
- adapter_config.jsonAdded+34
- adapter_model.binAdded+3
- adapter_model.safetensorsAdded+3
- added_tokens.jsonAdded+5
- config.jsonAdded+44
- merges.txtAdded
- special_tokens_map.jsonAdded+20
- tokenizer.jsonAdded+3
- tokenizer_config.jsonAdded+44
- training_args.binAdded+3
- vocab.jsonAdded
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142---library_name: peftlicense: otherbase_model: SeaLLMs/SeaLLMs-v3-7B-Chattags:- axolotl- generated_from_trainermodel-index:- name: pr-jan-v1 results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
[<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.5.0````yamlbase_model: SeaLLMs/SeaLLMs-v3-7B-Chattrust_remote_code: true
load_in_8bit: falseload_in_4bit: truestrict: false
datasets: - path: Tippawan/pr-jan-trainset-341275-rows-seallm-format type: chat_template conversation: chatml field_messages: messageschat_template: chatmldataset_prepared_path:val_set_size: 0.00 #editted 2output_dir: ./outputs/outputs_name
sequence_len: 2048sample_packing: falseeval_sample_packing: falsepad_to_sequence_len: false
push_to_hub: truehub_model_id: Tippawan/pr-jan-v1 # Replace with your Hugging Face repo IDuse_auth_token: true # Ensure you have set your Hugging Face API token in the environmenthub_private_repo: true # Set to true if you want the repository to be privatehub_strategy: all_checkpointssave_total_limit: 3load_best_model_at_end: true
adapter: loralora_model_dir: lora_r: 16lora_alpha: 32lora_dropout: 0.05lora_target_linear: truelora_fan_in_fan_out:
wandb_project: pr-jan-trainset-341275-rows-seallm-formatwandb_entity: wandb_watch:wandb_name:wandb_log_model:
gradient_accumulation_steps: 4micro_batch_size: 2num_epochs: 1 optimizer: adamw_torchlr_scheduler: cosinelearning_rate: 0.0002
train_on_inputs: falsegroup_by_length: falsebf16: autofp16: tf32: true
gradient_checkpointing: trueearly_stopping_patience:resume_from_checkpoint:local_rank:logging_steps: 1xformers_attention:flash_attention: trueseed: 42warmup_steps: 10evals_per_epoch: 1saves_per_epoch: 1debug:deepspeed:weight_decay: 0.0fsdp:fsdp_config:special_tokens:
```
</details><br>
# pr-jan-v1
This model is a fine-tuned version of [SeaLLMs/SeaLLMs-v3-7B-Chat](https://huggingface.co/SeaLLMs/SeaLLMs-v3-7B-Chat) on the None dataset.
## 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: 42- gradient_accumulation_steps: 4- total_train_batch_size: 8- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: cosine- lr_scheduler_warmup_steps: 10- num_epochs: 1
### Training results
### Framework versions
- PEFT 0.13.2- Transformers 4.46.1- Pytorch 2.3.1+cu121- Datasets 3.0.1- Tokenizers 0.20.312345678910111213141516171819202122232425262728293031323334{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "SeaLLMs/SeaLLMs-v3-7B-Chat", "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": 32, "lora_dropout": 0.05, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 16, "rank_pattern": {}, "revision": null, "target_modules": [ "k_proj", "gate_proj", "up_proj", "down_proj", "q_proj", "v_proj", "o_proj" ], "task_type": "CAUSAL_LM", "use_dora": false, "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:b52b032cad2bd02f57bcb6cd24995f3baa86b2f86ad9c136600d3de53c4f43dcsize 161621802123version https://git-lfs.github.com/spec/v1oid sha256:807f3cca61fb6549017cfbb28d941e75279f0463a41f3d789d04d58edcdccca7size 16153319212345{ "<|endoftext|>": 151643, "<|im_end|>": 151645, "<|im_start|>": 151644}1234567891011121314151617181920212223242526272829303132333435363738394041424344{ "_attn_implementation_autoset": true, "_name_or_path": "SeaLLMs/SeaLLMs-v3-7B-Chat", "architectures": [ "Qwen2ForCausalLM" ], "attention_dropout": 0.0, "eos_token_id": 151645, "hidden_act": "silu", "hidden_size": 3584, "initializer_range": 0.02, "intermediate_size": 18944, "max_position_embeddings": 131072, "max_window_layers": 28, "model_type": "qwen2", "num_attention_heads": 28, "num_hidden_layers": 28, "num_key_value_heads": 4, "quantization_config": { "_load_in_4bit": true, "_load_in_8bit": false, "bnb_4bit_compute_dtype": "float32", "bnb_4bit_quant_storage": "uint8", "bnb_4bit_quant_type": "fp4", "bnb_4bit_use_double_quant": false, "llm_int8_enable_fp32_cpu_offload": false, "llm_int8_has_fp16_weight": false, "llm_int8_skip_modules": null, "llm_int8_threshold": 6.0, "load_in_4bit": true, "load_in_8bit": false, "quant_method": "bitsandbytes" }, "rms_norm_eps": 1e-06, "rope_scaling": null, "rope_theta": 1000000.0, "sliding_window": null, "tie_word_embeddings": false, "torch_dtype": "bfloat16", "transformers_version": "4.46.1", "use_cache": false, "use_sliding_window": false, "vocab_size": 152064}1234567891011121314151617181920{ "additional_special_tokens": [ "<|im_start|>", "<|im_end|>" ], "eos_token": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:bcfe42da0a4497e8b2b172c1f9f4ec423a46dc12907f4349c55025f670422ba9size 114182661234567891011121314151617181920212223242526272829303132333435363738394041424344{ "add_prefix_space": false, "added_tokens_decoder": { "151643": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151644": { "content": "<|im_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151645": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "additional_special_tokens": [ "<|im_start|>", "<|im_end|>" ], "bos_token": null, "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}", "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "model_max_length": 32768, "pad_token": "<|endoftext|>", "padding_side": "right", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}123version https://git-lfs.github.com/spec/v1oid sha256:91c5baacf2360631b34c39e329afaa2e7eb074f7038959a175b13f1ac5637c43size 6584.gitattributes+1
README.mdAdded+142
adapter_config.jsonAdded+34
adapter_model.binAdded+3
adapter_model.safetensorsAdded+3
added_tokens.jsonAdded+5
config.jsonAdded+44
merges.txtAdded
special_tokens_map.jsonAdded+20
tokenizer.jsonAdded+3
tokenizer_config.jsonAdded+44
training_args.binAdded+3
vocab.jsonAdded