1.1.4 • Published 4 years ago
@copewithjeremy/mozolm-grpc-web v1.1.4
MozoLM GRPC-Web Service Stubs
Genereated from mozoLM Service Binaries.
Build MacOS
export BAZEL=bazelisk-darwin-amd64
export CC=gcc-9
export CXX=g++-9
curl -sLO "https://github.com/bazelbuild/bazelisk/releases/latest/download/$BAZEL"
chmod +x $BAZEL
./$BAZEL build mozolm/models:lm_scores_jspb_proto
./$BAZEL build mozolm/grpc:service_js_grpc_proto_web
Copy Artifacts
cp -a ../../../bazel-bin/mozolm/models/lm_scores_jspb_proto_pb/. ./
cp -a ../../../bazel-bin/mozolm/grpc/service_js_grpc_proto_web_pb/. ./
Run Locally
./bazel-bin/mozolm/grpc/server_async \
--server_config="address_uri:\"localhost:9090\" \
model_hub_config { model_config { type:PPM_AS_FST storage { \
model_file:\"$TEXTFILE\" ppm_options { max_order: 4 \
static_model: false } } } }"
Run via Docker
docker run --init --net=host -v ~/:/data gcr.io/mozolm-release/server_async \
--server_config="address_uri:\"0.0.0.0:9090\" model_hub_config { model_config { \
type:PPM_AS_FST storage { model_file:\"/data/training.txt\" ppm_options { \
max_order: 4 static_model: false } } } }"
1.1.4
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.15
4 years ago
1.0.14
4 years ago
1.0.12
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago