I downloaded the latest Windows version (0.0.14) and ran the game, everything seems to have been installed and configured properly using the gpt2-xl model. But when trying to call the AI it fails with the following stacktrace on the console:
Error in connection handler
Traceback (most recent call last):
File "F:\AI\GodAI\APIs\TransformersAPI\miniconda\envs\godai\lib\site-packages\websockets\server.py", line 191, in handler
await self.ws_handler(self, path)
File "F:\AI\GodAI\APIs\TransformersAPI\server.py", line 138, in hello
replace_tokens = token_encode(["<|endoftext|>"])
File "F:\AI\GodAI\APIs\TransformersAPI\server.py", line 66, in token_encode
tokens = tokenizer.encode(text, add_special_tokens = False, add_prefix_space = True)
File "F:\AI\GodAI\APIs\TransformersAPI\miniconda\envs\godai\lib\site-packages\transformers\tokenization_utils_base.py", line 2091, in encode
encoded_inputs = self.encode_plus(
File "F:\AI\GodAI\APIs\TransformersAPI\miniconda\envs\godai\lib\site-packages\transformers\tokenization_utils_base.py", line 2407, in encode_plus
return self._encode_plus(
File "F:\AI\GodAI\APIs\TransformersAPI\miniconda\envs\godai\lib\site-packages\transformers\models\gpt2\tokenization_gpt2_fast.py", line 169, in _encode_plus
return super()._encode_plus(*args, **kwargs)
File "F:\AI\GodAI\APIs\TransformersAPI\miniconda\envs\godai\lib\site-packages\transformers\tokenization_utils_fast.py", line 446, in _encode_plus
batched_output = self._batch_encode_plus(
File "F:\AI\GodAI\APIs\TransformersAPI\miniconda\envs\godai\lib\site-packages\transformers\models\gpt2\tokenization_gpt2_fast.py", line 159, in _batch_encode_plus
return super()._batch_encode_plus(*args, **kwargs)
TypeError: _batch_encode_plus() got an unexpected keyword argument 'add_prefix_space'
Client Connected
---
Awaiting for input