Skip to content

Commit

Permalink
Describe naming convention for model types
Browse files Browse the repository at this point in the history
  • Loading branch information
eu9ene authored Jun 15, 2022
1 parent 7b05953 commit 29da11a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,22 @@ Create a new release with a version tag `x.y.z` following semantic versioning.

The models will be automatically uploaded to GCS bucket `gs://bergamot-models-sandbox/x.y.z/`.

# Model types

## Vocabulary

Prefix of the vocabulary file in the model registry:
- `vocab.` - vocabulary is reused for the source and target languages
- `srcvocab.` and `trgvocab.` - different vocabularies for the source and target languages

## GEMM precision

Suffix of the model file in the registry:
- `intgemm8.bin` - supports `gemm-precision: int8shiftAll` inference setting
- `intgemm.alphas.bin` - supports `gemm-precision: int8shiftAlphaAll` inference setting

##

# Currently supported Languages

## Prod
Expand Down

0 comments on commit 29da11a

Please sign in to comment.