runtime error
Exit code: 1. Reason: This container image and its contents are governed by the NVIDIA Deep Learning Container License. By pulling and using the container, you accept the terms and conditions of this license: https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience. WARNING: The NVIDIA Driver was not detected. GPU functionality will not be available. Use the NVIDIA Container Toolkit to start this container with GPU support; see https://docs.nvidia.com/datacenter/cloud-native/ . /transformers/src/transformers/utils/hub.py:119: FutureWarning: Using `TRANSFORMERS_CACHE` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead. warnings.warn( Traceback (most recent call last): File "/app/train_model.py", line 65, in <module> main() File "/app/train_model.py", line 36, in main dataset = TextDataset(text, tokenizer, max_length) File "/app/train_model.py", line 8, in __init__ self.input_ids = self.tokenizer(text, return_tensors='pt', max_length=max_length, truncation=True, padding="max_length").input_ids File "/transformers/src/transformers/tokenization_utils_base.py", line 2945, in __call__ encodings = self._call_one(text=text, text_pair=text_pair, **all_kwargs) File "/transformers/src/transformers/tokenization_utils_base.py", line 3055, in _call_one return self.encode_plus( File "/transformers/src/transformers/tokenization_utils_base.py", line 3121, in encode_plus padding_strategy, truncation_strategy, max_length, kwargs = self._get_padding_truncation_strategies( File "/transformers/src/transformers/tokenization_utils_base.py", line 2846, in _get_padding_truncation_strategies raise ValueError( ValueError: Asking to pad but the tokenizer does not have a padding token. Please select a token to use as `pad_token` `(tokenizer.pad_token = tokenizer.eos_token e.g.)` or add a new pad token via `tokenizer.add_special_tokens({'pad_token': '[PAD]'})`.
Container logs:
Fetching error logs...