-
Notifications
You must be signed in to change notification settings - Fork 77
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
Feat/add vicuna no dists #507
Merged
Merged
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
591a1dc
adding vicuna to available models
smilni 81ad733
removed extra line
smilni 0c95199
removed extras; added info to models.md and envvars
smilni 7d94bb5
codestyle
smilni ddd4000
transfromers version
smilni dbb7195
merge dev into here
smilni 5343a43
merge dev into here
smilni 4b986e6
replace gptjt with vicuna / oasst
smilni 9940c0a
restore ai_faq_ass
smilni c7c1685
fix name
smilni 61eb197
remove vicuna from all dists
smilni 987c51e
Merge branch 'dev' into feat/add_vicuna_no_dists
smilni a73e6dc
removed extra files
smilni 5cdd345
removed |-
smilni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: transformers-lm-vicuna13b | ||
display_name: Vicuna 13B | ||
component_type: Generative | ||
model_type: NN-based | ||
is_customizable: false | ||
author: publisher@deeppavlov.ai | ||
description: |- | ||
An instruction-based large language model fine-tuned on LLaMa that achieves | ||
[more than 90%* quality of OpenAI ChatGPT and Google Bard](https://lmsys.org/blog/2023-03-30-vicuna/). | ||
The model performs best in English and is NOT good at answering math, reasoning, and coding questions. | ||
For more details, refer to [HuggingFace Model Page](https://huggingface.co/lmsys/vicuna-13b-v1.3). | ||
Free of charge. This model is up and running on our servers and can be used for free. | ||
NB: cannot be used for commercial purposes (license restriction). | ||
ram_usage: 50G | ||
gpu_usage: 29G | ||
group: services | ||
connector: | ||
protocol: http | ||
timeout: 120.0 | ||
url: http://transformers-lm-vicuna13b:8168/respond | ||
dialog_formatter: null | ||
response_formatter: null | ||
previous_services: null | ||
required_previous_services: null | ||
state_manager_method: null | ||
tags: null | ||
endpoint: respond | ||
service: services/transformers_lm/service_configs/transformers-lm-vicuna13b | ||
date_created: '2023-04-16T09:45:32' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
services/transformers_lm/service_configs/transformers-lm-vicuna13b/environment.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
SERVICE_PORT: 8168 | ||
SERVICE_NAME: transformers_lm_vicuna13b | ||
PRETRAINED_MODEL_NAME_OR_PATH: lmsys/vicuna-13b-v1.3 | ||
HALF_PRECISION: 1 | ||
CUDA_VISIBLE_DEVICES: '0' | ||
FLASK_APP: server |
44 changes: 44 additions & 0 deletions
44
services/transformers_lm/service_configs/transformers-lm-vicuna13b/service.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: transformers-lm-vicuna13b | ||
endpoints: | ||
- respond | ||
- generate_goals | ||
compose: | ||
env_file: | ||
- .env | ||
build: | ||
args: | ||
SERVICE_PORT: 8168 | ||
SERVICE_NAME: transformers_lm_vicuna13b | ||
PRETRAINED_MODEL_NAME_OR_PATH: lmsys/vicuna-13b-v1.3 | ||
HALF_PRECISION: 1 | ||
CUDA_VISIBLE_DEVICES: '0' | ||
FLASK_APP: server | ||
context: . | ||
dockerfile: ./services/transformers_lm/Dockerfile | ||
command: flask run -h 0.0.0.0 -p 8168 | ||
environment: | ||
- CUDA_VISIBLE_DEVICES=0 | ||
- FLASK_APP=server | ||
deploy: | ||
resources: | ||
limits: | ||
memory: 50G | ||
reservations: | ||
memory: 50G | ||
volumes: | ||
- ./services/transformers_lm:/src | ||
- ./common:/src/common | ||
- ~/.deeppavlov/cache:/root/.cache | ||
ports: | ||
- 8168:8168 | ||
proxy: | ||
command: | ||
- nginx | ||
- -g | ||
- daemon off; | ||
build: | ||
context: dp/proxy/ | ||
dockerfile: Dockerfile | ||
environment: | ||
- PROXY_PASS=dream.deeppavlov.ai:8168 | ||
- PORT=8168 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
что-то лишнее осталось