-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow clean_up_tokenization_spaces parameters for mpt handler (#402)
* tokenizer update * replit
- Loading branch information
1 parent
d62a728
commit 63b6e00
Showing
2 changed files
with
34 additions
and
3 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: replit | ||
compute: | ||
gpus: 1 | ||
instance: oci.vm.gpu.a10.1 | ||
image: mosaicml/inference:0.1.4 | ||
replicas: 1 | ||
command: | | ||
export PYTHONPATH=$PYTHONPATH:/code/examples | ||
integrations: | ||
- integration_type: git_repo | ||
git_repo: mosaicml/examples | ||
ssh_clone: false | ||
git_branch: margaret/mpt-tokenizer-update | ||
- integration_type: pip_packages | ||
packages: | ||
- sentencepiece==0.1.99 | ||
- einops==0.6.1 | ||
model: | ||
download_parameters: | ||
hf_path: replit/replit-code-v1-3b | ||
model_handler: examples.inference-deployments.mpt.mpt_handler.MPTModelHandler | ||
model_parameters: | ||
model_name: replit/replit-code-v1-3b | ||
clean_up_tokenization_spaces: true |