Open-sources LanguageDetector model.

PiperOrigin-RevId: 527745108
This commit is contained in:
Sebastian Schmidt 2023-04-27 18:44:51 -07:00 committed by Copybara-Service
parent 5e41d47f3a
commit 28b9b8d8a3
2 changed files with 8 additions and 2 deletions

View File

@ -29,6 +29,7 @@ mediapipe_files(srcs = [
"30k-clean.model", "30k-clean.model",
"albert_with_metadata.tflite", "albert_with_metadata.tflite",
"bert_text_classifier.tflite", "bert_text_classifier.tflite",
"language_detector.tflite",
"mobilebert_embedding_with_metadata.tflite", "mobilebert_embedding_with_metadata.tflite",
"mobilebert_with_metadata.tflite", "mobilebert_with_metadata.tflite",
"regex_one_embedding_with_metadata.tflite", "regex_one_embedding_with_metadata.tflite",
@ -105,3 +106,8 @@ filegroup(
name = "universal_sentence_encoder_qa", name = "universal_sentence_encoder_qa",
srcs = ["universal_sentence_encoder_qa_with_metadata.tflite"], srcs = ["universal_sentence_encoder_qa_with_metadata.tflite"],
) )
filegroup(
name = "language_detector",
srcs = ["language_detector.tflite"],
)

View File

@ -276,8 +276,8 @@ def external_files():
http_file( http_file(
name = "com_google_mediapipe_efficientdet_lite0_fp16_no_nms_tflite", name = "com_google_mediapipe_efficientdet_lite0_fp16_no_nms_tflite",
sha256 = "bcda125c96d3767bca894c8cbe7bc458379c9974c9fd8bdc6204e7124a74082a", sha256 = "237a58389081333e5cf4154e42b593ce7dd357445536fcaf4ca5bc51c2c50f1c",
urls = ["https://storage.googleapis.com/mediapipe-assets/efficientdet_lite0_fp16_no_nms.tflite?generation=1682627837744424"], urls = ["https://storage.googleapis.com/mediapipe-assets/efficientdet_lite0_fp16_no_nms.tflite?generation=1682632067597216"],
) )
http_file( http_file(