|
发表于 2023-5-6 03:37:32
|
显示全部楼层
广东省佛山市
再牛也是要花钱的。我现在在搞本地版本的ai,目前已经能完成一些正常对话了 Microsoft Windows [版本 10.0.19044.2075]
(c) Microsoft Corporation。保留所有权利。
C:\Users\Administrator>C:\Users\Administrator\Desktop\gpt2_server.py
C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask_limiter\extension.py:293: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
warnings.warn(
* Serving Flask app 'gpt2_server'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://192.168.2.7:5000
Press CTRL+C to quit
The attention mask and the pad token id were not set. As a consequence, you may observe unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results.
Setting `pad_token_id` to `eos_token_id`:50256 for open-end generation.
127.0.0.1 - - [06/May/2023 03:08:39] "POST /generate HTTP/1.1" 200 -
The attention mask and the pad token id were not set. As a consequence, you may observe unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results.
Setting `pad_token_id` to `eos_token_id`:50256 for open-end generation.
127.0.0.1 - - [06/May/2023 03:12:49] "POST /generate HTTP/1.1" 200 -
The attention mask and the pad token id were not set. As a consequence, you may observe unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results.
Setting `pad_token_id` to `eos_token_id`:50256 for open-end generation.
127.0.0.1 - - [06/May/2023 03:19:12] "POST /generate HTTP/1.1" 200 -
|
|