| [INFO|parser.py:325] 2024-07-11 13:12:32,834 >> Process rank: 0, device: cuda:0, n_gpu: 1, distributed training: True, compute dtype: None |
|
|
| [INFO|tokenization_utils_base.py:2159] 2024-07-11 13:12:32,836 >> loading file tokenizer.json |
|
|
| 07/11/2024 13:12:32 - INFO - llamafactory.hparams.parser - Process rank: 5, device: cuda:5, n_gpu: 1, distributed training: True, compute dtype: None |
|
|
| 07/11/2024 13:12:32 - INFO - llamafactory.hparams.parser - Process rank: 4, device: cuda:4, n_gpu: 1, distributed training: True, compute dtype: None |
|
|
| 07/11/2024 13:12:32 - INFO - llamafactory.hparams.parser - Process rank: 6, device: cuda:6, n_gpu: 1, distributed training: True, compute dtype: None |
|
|
| 07/11/2024 13:12:32 - INFO - llamafactory.hparams.parser - Process rank: 3, device: cuda:3, n_gpu: 1, distributed training: True, compute dtype: None |
|
|
| 07/11/2024 13:12:33 - INFO - llamafactory.hparams.parser - Process rank: 2, device: cuda:2, n_gpu: 1, distributed training: True, compute dtype: None |
|
|
| 07/11/2024 13:12:33 - INFO - llamafactory.hparams.parser - Process rank: 1, device: cuda:1, n_gpu: 1, distributed training: True, compute dtype: None |
|
|
| [INFO|tokenization_utils_base.py:2159] 2024-07-11 13:12:32,836 >> loading file added_tokens.json |
|
|
| [INFO|tokenization_utils_base.py:2159] 2024-07-11 13:12:32,836 >> loading file special_tokens_map.json |
|
|
| [INFO|tokenization_utils_base.py:2159] 2024-07-11 13:12:32,836 >> loading file tokenizer_config.json |
|
|
| [WARNING|logging.py:313] 2024-07-11 13:12:33,150 >> Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained. |
|
|
| [INFO|template.py:270] 2024-07-11 13:12:33,150 >> Replace eos token: <|eot_id|> |
|
|
| [INFO|loader.py:50] 2024-07-11 13:12:33,151 >> Loading dataset dev_output.json... |
|
|
| 07/11/2024 13:12:33 - WARNING - transformers.tokenization_utils_base - Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained. |
|
|
| 07/11/2024 13:12:33 - INFO - llamafactory.data.template - Replace eos token: <|eot_id|> |
|
|
| 07/11/2024 13:12:33 - WARNING - transformers.tokenization_utils_base - Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained. |
|
|
| 07/11/2024 13:12:33 - INFO - llamafactory.data.template - Replace eos token: <|eot_id|> |
|
|
| 07/11/2024 13:12:33 - WARNING - transformers.tokenization_utils_base - Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained. |
|
|
| 07/11/2024 13:12:33 - INFO - llamafactory.data.template - Replace eos token: <|eot_id|> |
|
|
| 07/11/2024 13:12:33 - WARNING - transformers.tokenization_utils_base - Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained. |
|
|
| 07/11/2024 13:12:33 - INFO - llamafactory.data.template - Replace eos token: <|eot_id|> |
|
|
| 07/11/2024 13:12:33 - WARNING - transformers.tokenization_utils_base - Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained. |
|
|
| 07/11/2024 13:12:33 - INFO - llamafactory.data.template - Replace eos token: <|eot_id|> |
|
|
| 07/11/2024 13:12:33 - INFO - llamafactory.hparams.parser - Process rank: 7, device: cuda:7, n_gpu: 1, distributed training: True, compute dtype: None |
|
|
| 07/11/2024 13:12:33 - WARNING - transformers.tokenization_utils_base - Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained. |
|
|
| 07/11/2024 13:12:33 - INFO - llamafactory.data.template - Replace eos token: <|eot_id|> |
|
|
| 07/11/2024 13:12:33 - WARNING - transformers.tokenization_utils_base - Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained. |
|
|
| 07/11/2024 13:12:33 - INFO - llamafactory.data.template - Replace eos token: <|eot_id|> |
|
|
| 07/11/2024 13:12:34 - INFO - llamafactory.data.loader - Loading dataset dev_output.json... |
|
|
| 07/11/2024 13:12:34 - INFO - llamafactory.data.loader - Loading dataset dev_output.json... |
|
|
| 07/11/2024 13:12:34 - INFO - llamafactory.data.loader - Loading dataset dev_output.json... |
|
|
| 07/11/2024 13:12:34 - INFO - llamafactory.data.loader - Loading dataset dev_output.json... |
|
|
| 07/11/2024 13:12:34 - INFO - llamafactory.data.loader - Loading dataset dev_output.json... |
|
|
| 07/11/2024 13:12:34 - INFO - llamafactory.data.loader - Loading dataset dev_output.json... |
|
|
| 07/11/2024 13:12:34 - INFO - llamafactory.data.loader - Loading dataset dev_output.json... |
|
|
| [INFO|configuration_utils.py:731] 2024-07-11 13:12:38,208 >> loading configuration file saves/LLaMA3-8B-Chat/full/train_2024-07-11-10-49-45_inst_llama3/config.json |
|
|
| [INFO|configuration_utils.py:800] 2024-07-11 13:12:38,209 >> Model config LlamaConfig { |
| "_name_or_path": "saves/LLaMA3-8B-Chat/full/train_2024-07-11-10-49-45_inst_llama3", |
| "architectures": [ |
| "LlamaForCausalLM" |
| ], |
| "attention_bias": false, |
| "attention_dropout": 0.0, |
| "bos_token_id": 128000, |
| "eos_token_id": 128009, |
| "hidden_act": "silu", |
| "hidden_size": 4096, |
| "initializer_range": 0.02, |
| "intermediate_size": 14336, |
| "max_position_embeddings": 8192, |
| "mlp_bias": false, |
| "model_type": "llama", |
| "num_attention_heads": 32, |
| "num_hidden_layers": 32, |
| "num_key_value_heads": 8, |
| "pretraining_tp": 1, |
| "rms_norm_eps": 1e-05, |
| "rope_scaling": null, |
| "rope_theta": 500000.0, |
| "tie_word_embeddings": false, |
| "torch_dtype": "bfloat16", |
| "transformers_version": "4.42.3", |
| "use_cache": false, |
| "vocab_size": 128256 |
| } |
|
|
|
|
| [INFO|patcher.py:81] 2024-07-11 13:12:38,210 >> Using KV cache for faster generation. |
|
|
| [INFO|modeling_utils.py:3553] 2024-07-11 13:12:38,232 >> loading weights file saves/LLaMA3-8B-Chat/full/train_2024-07-11-10-49-45_inst_llama3/model.safetensors.index.json |
|
|
| [INFO|modeling_utils.py:1531] 2024-07-11 13:12:38,232 >> Instantiating LlamaForCausalLM model under default dtype torch.bfloat16. |
|
|
| [INFO|configuration_utils.py:1000] 2024-07-11 13:12:38,233 >> Generate config GenerationConfig { |
| "bos_token_id": 128000, |
| "eos_token_id": 128009 |
| } |
|
|
|
|
| 07/11/2024 13:12:38 - INFO - llamafactory.model.patcher - Using KV cache for faster generation. |
|
|
| 07/11/2024 13:12:38 - INFO - llamafactory.model.patcher - Using KV cache for faster generation. |
|
|
| 07/11/2024 13:12:38 - INFO - llamafactory.model.patcher - Using KV cache for faster generation. |
|
|
| 07/11/2024 13:12:38 - INFO - llamafactory.model.patcher - Using KV cache for faster generation. |
|
|
| 07/11/2024 13:12:38 - INFO - llamafactory.model.patcher - Using KV cache for faster generation. |
|
|
| 07/11/2024 13:12:38 - INFO - llamafactory.model.patcher - Using KV cache for faster generation. |
|
|
| 07/11/2024 13:12:38 - INFO - llamafactory.model.patcher - Using KV cache for faster generation. |
|
|
| [INFO|modeling_utils.py:4364] 2024-07-11 13:12:42,279 >> All model checkpoint weights were used when initializing LlamaForCausalLM. |
|
|
|
|
| [INFO|modeling_utils.py:4372] 2024-07-11 13:12:42,279 >> All the weights of LlamaForCausalLM were initialized from the model checkpoint at saves/LLaMA3-8B-Chat/full/train_2024-07-11-10-49-45_inst_llama3. |
| If your task is similar to the task the model of the checkpoint was trained on, you can already use LlamaForCausalLM for predictions without further training. |
|
|
| [INFO|configuration_utils.py:953] 2024-07-11 13:12:42,283 >> loading configuration file saves/LLaMA3-8B-Chat/full/train_2024-07-11-10-49-45_inst_llama3/generation_config.json |
|
|
| [INFO|configuration_utils.py:1000] 2024-07-11 13:12:42,283 >> Generate config GenerationConfig { |
| "bos_token_id": 128000, |
| "do_sample": true, |
| "eos_token_id": [ |
| 128001, |
| 128009 |
| ], |
| "max_length": 4096, |
| "temperature": 0.6, |
| "top_p": 0.9 |
| } |
|
|
|
|
| [INFO|attention.py:80] 2024-07-11 13:12:42,289 >> Using torch SDPA for faster training and inference. |
|
|
| [INFO|loader.py:196] 2024-07-11 13:12:42,294 >> all params: 8,030,261,248 |
|
|
| [INFO|trainer.py:3788] 2024-07-11 13:12:42,401 >> |
| ***** Running Prediction ***** |
|
|
| [INFO|trainer.py:3790] 2024-07-11 13:12:42,401 >> Num examples = 2554 |
|
|
| [INFO|trainer.py:3793] 2024-07-11 13:12:42,401 >> Batch size = 2 |
|
|
| [WARNING|logging.py:328] 2024-07-11 13:12:43,055 >> We detected that you are passing `past_key_values` as a tuple and this is deprecated and will be removed in v4.43. Please use an appropriate `Cache` class (https://huggingface.co/docs/transformers/v4.41.3/en/internal/generation_utils#transformers.Cache) |
|
|
| 07/11/2024 13:12:43 - INFO - llamafactory.model.model_utils.attention - Using torch SDPA for faster training and inference. |
|
|
| 07/11/2024 13:12:43 - INFO - llamafactory.model.loader - all params: 8,030,261,248 |
|
|
| 07/11/2024 13:12:43 - INFO - llamafactory.model.model_utils.attention - Using torch SDPA for faster training and inference. |
|
|
| 07/11/2024 13:12:43 - INFO - llamafactory.model.model_utils.attention - Using torch SDPA for faster training and inference. |
|
|
| 07/11/2024 13:12:43 - INFO - llamafactory.model.loader - all params: 8,030,261,248 |
|
|
| 07/11/2024 13:12:43 - INFO - llamafactory.model.loader - all params: 8,030,261,248 |
|
|
| 07/11/2024 13:12:43 - INFO - llamafactory.model.model_utils.attention - Using torch SDPA for faster training and inference. |
|
|
| 07/11/2024 13:12:43 - INFO - llamafactory.model.model_utils.attention - Using torch SDPA for faster training and inference. |
|
|
| 07/11/2024 13:12:43 - INFO - llamafactory.model.loader - all params: 8,030,261,248 |
|
|
| 07/11/2024 13:12:43 - INFO - llamafactory.model.model_utils.attention - Using torch SDPA for faster training and inference. |
|
|
| 07/11/2024 13:12:43 - INFO - llamafactory.model.loader - all params: 8,030,261,248 |
|
|
| 07/11/2024 13:12:43 - INFO - llamafactory.model.loader - all params: 8,030,261,248 |
|
|
| 07/11/2024 13:12:43 - INFO - llamafactory.model.model_utils.attention - Using torch SDPA for faster training and inference. |
|
|
| 07/11/2024 13:12:43 - INFO - llamafactory.model.loader - all params: 8,030,261,248 |
|
|
| 07/11/2024 13:12:44 - WARNING - transformers.models.llama.modeling_llama - We detected that you are passing `past_key_values` as a tuple and this is deprecated and will be removed in v4.43. Please use an appropriate `Cache` class (https://huggingface.co/docs/transformers/v4.41.3/en/internal/generation_utils#transformers.Cache) |
|
|
| 07/11/2024 13:12:44 - WARNING - transformers.models.llama.modeling_llama - We detected that you are passing `past_key_values` as a tuple and this is deprecated and will be removed in v4.43. Please use an appropriate `Cache` class (https://huggingface.co/docs/transformers/v4.41.3/en/internal/generation_utils#transformers.Cache) |
|
|
| 07/11/2024 13:12:44 - WARNING - transformers.models.llama.modeling_llama - We detected that you are passing `past_key_values` as a tuple and this is deprecated and will be removed in v4.43. Please use an appropriate `Cache` class (https://huggingface.co/docs/transformers/v4.41.3/en/internal/generation_utils#transformers.Cache) |
|
|
| 07/11/2024 13:12:44 - WARNING - transformers.models.llama.modeling_llama - We detected that you are passing `past_key_values` as a tuple and this is deprecated and will be removed in v4.43. Please use an appropriate `Cache` class (https://huggingface.co/docs/transformers/v4.41.3/en/internal/generation_utils#transformers.Cache) |
|
|
| 07/11/2024 13:12:44 - WARNING - transformers.models.llama.modeling_llama - We detected that you are passing `past_key_values` as a tuple and this is deprecated and will be removed in v4.43. Please use an appropriate `Cache` class (https://huggingface.co/docs/transformers/v4.41.3/en/internal/generation_utils#transformers.Cache) |
|
|
| 07/11/2024 13:12:44 - WARNING - transformers.models.llama.modeling_llama - We detected that you are passing `past_key_values` as a tuple and this is deprecated and will be removed in v4.43. Please use an appropriate `Cache` class (https://huggingface.co/docs/transformers/v4.41.3/en/internal/generation_utils#transformers.Cache) |
|
|
| 07/11/2024 13:12:44 - WARNING - transformers.models.llama.modeling_llama - We detected that you are passing `past_key_values` as a tuple and this is deprecated and will be removed in v4.43. Please use an appropriate `Cache` class (https://huggingface.co/docs/transformers/v4.41.3/en/internal/generation_utils#transformers.Cache) |
|
|
| [INFO|trainer.py:127] 2024-07-11 13:12:59,490 >> Saving prediction results to saves/LLaMA3-8B-Chat/full/eval_2024-07-11-10-49-45/generated_predictions.jsonl |
|
|
|
|