Skip to content

Commit

Permalink
Update registry.py
Browse files Browse the repository at this point in the history
  • Loading branch information
viveksilimkhan1 authored Oct 24, 2023
1 parent 63c7183 commit caecd85
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spacy_llm/models/bedrock/registry.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
from typing import Any, Callable, Dict, Iterable
from typing import Any, Callable, Dict, Iterable, List

from confection import SimpleFrozenDict

from ...registry import registry
from .model import Bedrock, Models

_DEFAULT_RETRIES = 5
_DEFAULT_TEMPERATURE = 0.0
_DEFAULT_MAX_TOKEN_COUNT = 512
_DEFAULT_TOP_P = 1
_DEFAULT_STOP_SEQUENCES = []
_DEFAULT_RETRIES: int = 5
_DEFAULT_TEMPERATURE: float = 0.0
_DEFAULT_MAX_TOKEN_COUNT: int = 512
_DEFAULT_TOP_P: int = 1
_DEFAULT_STOP_SEQUENCES: List[str] = []

@registry.llm_models("spacy.Bedrock.Titan.Express.v1")
def titan_express(
Expand Down

0 comments on commit caecd85

Please sign in to comment.