mirror of
https://github.com/browsermt/bergamot-translator.git
synced 2024-09-11 05:35:33 +03:00
Patch to load just production ready models
This commit is contained in:
parent
6e7b7c71ec
commit
a2d6650097
@ -49,7 +49,7 @@ Bergamot translator provides a unified API for ([Marian NMT](https://marian-nmt.
|
||||
```bash
|
||||
mkdir models
|
||||
git clone https://github.com/mozilla-applied-ml/bergamot-models
|
||||
cp -rf bergamot-models/* models
|
||||
cp -rf bergamot-models/prod/* models
|
||||
gunzip models/*/*
|
||||
```
|
||||
|
||||
|
@ -51,7 +51,7 @@ else
|
||||
fi
|
||||
mkdir -p models
|
||||
rm -rf models/*
|
||||
cp -rf bergamot-models/* models
|
||||
cp -rf bergamot-models/prod/* models
|
||||
gunzip models/*/*
|
||||
|
||||
# 4. Compile
|
||||
|
Loading…
Reference in New Issue
Block a user