Skip to content

Commit

Permalink
refactor: default to Gemma model
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward-Jackson-ONS committed Aug 20, 2024
1 parent 0d69f64 commit 70a5e25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/parliai_public/readers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@ def _read_contents(self, soup: BeautifulSoup) -> dict:
def instantiate_llm(self) -> None:
"""Instantiate LLM object per user specification."""

# Temporary override to default to Gemma (known/tested LLM)
self.llm_name = "gemma"

Check warning on line 346 in src/parliai_public/readers/base.py

View check run for this annotation

Codecov / codecov/patch

src/parliai_public/readers/base.py#L346

Added line #L346 was not covered by tests
self.llm = ChatOllama(model=self.llm_name, temperature=0)

return None
Expand Down

0 comments on commit 70a5e25

Please sign in to comment.