Skip to content
Snippets Groups Projects
Unverified Commit f5eeb1c3 authored by James Briggs's avatar James Briggs
Browse files

add mock model for huggingface test

parent 2ab6116b
No related branches found
Tags v0.1.10
No related merge requests found
<?xml version="1.0" ?>
<coverage version="7.4.3" timestamp="1709366989240" lines-valid="2072" lines-covered="1619" line-rate="0.7814" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<coverage version="7.4.3" timestamp="1709367522085" lines-valid="2072" lines-covered="1619" line-rate="0.7814" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<!-- Generated by coverage.py: https://coverage.readthedocs.io/en/7.4.3 -->
<!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->
<sources>
......
......@@ -5,7 +5,8 @@ import pytest
from semantic_router.encoders.huggingface import HuggingFaceEncoder
encoder = HuggingFaceEncoder()
test_model_name = "hf-internal-testing/tiny-bert"
encoder = HuggingFaceEncoder(name=test_model_name)
class TestHuggingFaceEncoder:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment