Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPTJ demo fix and deprecation node [Release 2023.3] #2304

Merged
merged 2 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion demos/gptj_causal_lm/python/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# GPT-J Causal Language Modeling Demo {#ovms_demo_gptj_causal_lm}
# [DEPRECATED] GPT-J Causal Language Modeling Demo {#ovms_demo_gptj_causal_lm}

**This demo is deprecated and will be removed in 2024.0. Check out new [python demos](../../python_demos) for latest examples with language models.**

### Introduction
This demo illustrates usage of GPT-like models in OpenVINO™ Model Server. GPT-J 6B model used in this example can be found at [huggingface](https://huggingface.co/EleutherAI/gpt-j-6B) (~25GB). Steps below automate download and conversion steps to be able to load it using OpenVINO™. Example python client provided at the end of the document requests Model Server for the next word of the sentence until `EOS` (end of sequence) token is received.
Expand Down
4 changes: 2 additions & 2 deletions demos/gptj_causal_lm/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ accelerate==0.20.3
numpy==1.23
torch==1.13.1
onnx==1.15.0
optimum[openvino,nncf]==1.14.1
optimum[openvino,nncf]>=1.14.1
ovmsclient
openvino
openvino==2023.2.0