Skip to content

Commit

Permalink
Add Upstage Solar Pro Preview model (#3181)
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanmai authored Nov 23, 2024
1 parent 47dedc8 commit 141588e
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/helm/config/model_deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1271,6 +1271,17 @@ model_deployments:
client_spec:
class_name: "helm.clients.huggingface_client.HuggingFaceClient"

# Upstage
- name: huggingface/solar-pro-preview-instruct
model_name: upstage/solar-pro-preview-instruct
tokenizer_name: upstage/solar-pro-preview-instruct
max_sequence_length: 4096
client_spec:
class_name: "helm.clients.huggingface_client.HuggingFaceClient"
args:
torch_dtype: auto
trust_remote_code: true

## Text-to-Image Diffusion Models

- name: huggingface/dreamlike-diffusion-v1-0
Expand Down Expand Up @@ -2818,4 +2829,4 @@ model_deployments:
client_spec:
class_name: "helm.clients.huggingface_client.HuggingFaceClient"
args:
pretrained_model_name_or_path: ibm-granite/granite-3.0-1b-a400m-base
pretrained_model_name_or_path: ibm-granite/granite-3.0-1b-a400m-base
9 changes: 9 additions & 0 deletions src/helm/config/model_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3126,6 +3126,15 @@ models:
release_date: 2022-09-19
tags: [] # TODO: add tags

# Upstage
- name: upstage/solar-pro-preview-instruct
display_name: Solar Pro Preview (22B)
description: Solar Pro Preview (22B) is open-weights model for single GPU inference that is a preview of the upcoming Solar Pro model ([blog](https://www.upstage.ai/products/solar-pro-preview)).
creator_organization_name: Upstage
access: open
num_parameters: 22000000000
release_date: 2024-09-11
tags: [TEXT_MODEL_TAG, LIMITED_FUNCTIONALITY_TEXT_MODEL_TAG]


# Writer
Expand Down
9 changes: 9 additions & 0 deletions src/helm/config/tokenizer_configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,15 @@ tokenizer_configs:
end_of_text_token: "</s>"
prefix_token: "<s>"

# Upstage
- name: upstage/solar-pro-preview-instruct
tokenizer_spec:
class_name: "helm.tokenizers.huggingface_tokenizer.HuggingFaceTokenizer"
args:
trust_remote_code: true
end_of_text_token: "<|im_end|>"
prefix_token: "<|startoftext|>"

# Writer
- name: writer/gpt2
tokenizer_spec:
Expand Down

0 comments on commit 141588e

Please sign in to comment.