Open-sources LanguageDetector model.
PiperOrigin-RevId: 527745108
This commit is contained in:
parent
5e41d47f3a
commit
28b9b8d8a3
6
mediapipe/tasks/testdata/text/BUILD
vendored
6
mediapipe/tasks/testdata/text/BUILD
vendored
|
@ -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"],
|
||||||
|
)
|
||||||
|
|
4
third_party/external_files.bzl
vendored
4
third_party/external_files.bzl
vendored
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user