Skip to content

Commit

Permalink
Fix stub and update pyo3 examples
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed Apr 8, 2024
1 parent 0aaaa4b commit ed208d2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/python/bare_bones.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{"role": "user", "content": "Tell me a story about the Rust type system."}
],
max_tokens=256,
frequency_penalty=1.0,
presence_penalty=1.0,
top_p=0.1,
temperature=0.1,
)
Expand Down
2 changes: 1 addition & 1 deletion examples/python/python_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{"role": "user", "content": "Tell me a story about the Rust type system."}
],
max_tokens=256,
frequency_penalty=1.0,
presence_penalty=1.0,
top_p=0.1,
temperature=0.1,
)
Expand Down
2 changes: 1 addition & 1 deletion examples/python/xlora_gemma.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{"role": "user", "content": "Tell me a story about the Rust type system."}
],
max_tokens=256,
frequency_penalty=1.0,
presence_penalty=1.0,
top_p=0.1,
temperature=0.1,
)
Expand Down
2 changes: 1 addition & 1 deletion examples/python/xlora_zephyr.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{"role": "user", "content": "Tell me a story about the Rust type system."}
],
max_tokens=256,
frequency_penalty=1.0,
presence_penalty=1.0,
top_p=0.1,
temperature=0.1,
)
Expand Down
2 changes: 1 addition & 1 deletion mistralrs-pyo3/mistralrs.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class DType(Enum):
class LoaderMixin:
def load(
self,
token_source: str,
token_source: str = "cache",
max_seqs: int = 16,
truncate_sequence: bool = False,
logfile: str | None = None,
Expand Down

0 comments on commit ed208d2

Please sign in to comment.