Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mt-model-deploy-dhruva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ssmt
mt-model-deploy-dhruva
Commits
a3a78224
Commit
a3a78224
authored
Sep 06, 2023
by
Nikhilesh Bhatnagar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated for prepackaged ct2 zip
parent
16465d50
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
81 deletions
+26
-81
make_triton_model_repo.sh
make_triton_model_repo.sh
+19
-64
triton_models/model_ct2/1/model.py
triton_models/model_ct2/1/model.py
+2
-0
triton_models/model_onmt/1/model.py
triton_models/model_onmt/1/model.py
+4
-4
ulca_model.json
ulca_model.json
+1
-13
No files found.
make_triton_model_repo.sh
View file @
a3a78224
This diff is collapsed.
Click to expand it.
triton_models/model_ct2/1/model.py
View file @
a3a78224
...
...
@@ -58,6 +58,8 @@ class TritonPythonModel:
max_batch_size
=
128
,
max_input_length
=
100
,
max_decoding_length
=
100
,
beam_size
=
15
,
replace_unknowns
=
True
,
)
]
responses
=
[
...
...
triton_models/model_onmt/1/model.py
View file @
a3a78224
...
...
@@ -23,7 +23,7 @@ class TritonPythonModel:
tgt_prefix
=
False
,
alpha
=
0.0
,
batch_type
=
"sents"
,
beam_size
=
5
,
beam_size
=
1
5
,
beta
=-
0.0
,
block_ngram_repeat
=
0
,
coverage_penalty
=
"none"
,
...
...
@@ -43,7 +43,7 @@ class TritonPythonModel:
random_sampling_temp
=
1.0
,
random_sampling_topk
=
1
,
ratio
=-
0.0
,
replace_unk
=
Fals
e
,
replace_unk
=
Tru
e
,
report_align
=
False
,
report_time
=
False
,
seed
=
829
,
...
...
@@ -59,7 +59,7 @@ class TritonPythonModel:
tgt_prefix
=
False
,
alpha
=
0.0
,
batch_type
=
"sents"
,
beam_size
=
5
,
beam_size
=
1
5
,
beta
=-
0.0
,
block_ngram_repeat
=
0
,
coverage_penalty
=
"none"
,
...
...
@@ -79,7 +79,7 @@ class TritonPythonModel:
random_sampling_temp
=
1.0
,
random_sampling_topk
=
1
,
ratio
=-
0.0
,
replace_unk
=
Fals
e
,
replace_unk
=
Tru
e
,
report_align
=
False
,
report_time
=
False
,
seed
=
829
,
...
...
ulca_model.json
View file @
a3a78224
...
...
@@ -88,18 +88,6 @@
"targetLanguage"
:
"hi"
,
"targetScriptCode"
:
"Deva"
},
{
"sourceLanguage"
:
"hi"
,
"sourceScriptCode"
:
"Deva"
,
"targetLanguage"
:
"kn"
,
"targetScriptCode"
:
"Knda"
},
{
"sourceLanguage"
:
"kn"
,
"sourceScriptCode"
:
"Knda"
,
"targetLanguage"
:
"hi"
,
"targetScriptCode"
:
"Deva"
},
{
"sourceLanguage"
:
"en"
,
"sourceScriptCode"
:
"Latn"
,
...
...
@@ -156,4 +144,4 @@
}
]
}
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment