Upload chatbot_gpt2.py
Browse files- chatbot_gpt2.py +6 -0
chatbot_gpt2.py
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import torch
|
| 2 |
import torch.nn.functional as F
|
| 3 |
from transformers import GPT2TokenizerFast
|
|
|
|
| 1 |
+
# Copyright (c) 2025 CMS Manhattan
|
| 2 |
+
# All rights reserved.
|
| 3 |
+
#
|
| 4 |
+
# This file is part of a project authored by CMS Manhattan. You may use, distribute, and modify
|
| 5 |
+
# this code under the terms of the APACHE 2.0 license.
|
| 6 |
+
|
| 7 |
import torch
|
| 8 |
import torch.nn.functional as F
|
| 9 |
from transformers import GPT2TokenizerFast
|