1414@pytest .mark .requires_heavy_ram
1515async def test_citation_requirement_basic ():
1616 """Test basic citation requirement functionality."""
17- backend = LocalHFBackend (model_id = "meta-llama/Llama-3.2-1B-Instruct " )
17+ backend = LocalHFBackend (model_id = "ibm-granite/granite-4.0-micro " )
1818
1919 # Create documents
2020 docs = [
@@ -46,7 +46,7 @@ async def test_citation_requirement_basic():
4646@pytest .mark .requires_heavy_ram
4747async def test_citation_requirement_with_constructor_documents ():
4848 """Test citation requirement with documents in constructor."""
49- backend = LocalHFBackend (model_id = "meta-llama/Llama-3.2-1B-Instruct " )
49+ backend = LocalHFBackend (model_id = "ibm-granite/granite-4.0-micro " )
5050
5151 # Create documents
5252 docs = [
@@ -77,7 +77,7 @@ async def test_citation_requirement_with_constructor_documents():
7777@pytest .mark .requires_heavy_ram
7878async def test_citation_check_factory ():
7979 """Test citation_check factory function."""
80- backend = LocalHFBackend (model_id = "meta-llama/Llama-3.2-1B-Instruct " )
80+ backend = LocalHFBackend (model_id = "ibm-granite/granite-4.0-micro " )
8181
8282 # Create documents
8383 docs = [Document (doc_id = "doc1" , text = "The sky is blue during the day." )]
@@ -241,7 +241,7 @@ def test_citation_requirement_default_description():
241241@pytest .mark .requires_heavy_ram
242242async def test_citation_requirement_empty_response ():
243243 """Test citation requirement with empty response."""
244- backend = LocalHFBackend (model_id = "meta-llama/Llama-3.2-1B-Instruct " )
244+ backend = LocalHFBackend (model_id = "ibm-granite/granite-4.0-micro " )
245245
246246 # Create documents
247247 docs = [Document (doc_id = "doc1" , text = "The sky is blue." )]
@@ -266,7 +266,7 @@ async def test_citation_requirement_empty_response():
266266@pytest .mark .requires_heavy_ram
267267async def test_citation_requirement_threshold_boundary ():
268268 """Test citation requirement at exact threshold boundary."""
269- backend = LocalHFBackend (model_id = "meta-llama/Llama-3.2-1B-Instruct " )
269+ backend = LocalHFBackend (model_id = "ibm-granite/granite-4.0-micro " )
270270
271271 # Create documents
272272 docs = [Document (doc_id = "doc1" , text = "The sky is blue during the day." )]
@@ -293,6 +293,3 @@ async def test_citation_requirement_threshold_boundary():
293293 assert result .as_bool ()
294294 else :
295295 assert not result .as_bool ()
296-
297-
298- # Made with Bob
0 commit comments