Skip to content

Commit

Permalink
Typos fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
MaanavD authored Nov 17, 2024
1 parent eb4f28e commit ded2bd8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/genai/api/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ onnxruntime_genai.Tokenizer.encode(text: str) -> numpy.ndarray[numpy.int32]
### Decode

```python
onnxruntime_genai.Tokenizer.decode(tokens: numpy.ndarry[int]) -> str
onnxruntime_genai.Tokenizer.decode(tokens: numpy.ndarray[int]) -> str
```

#### Parameters
Expand Down Expand Up @@ -356,7 +356,7 @@ None

### Set active adapter

Sets the actove adapter on a `Generator` object.
Sets the active adapter on a `Generator` object.

```python
onnxruntime_genai.Generator(adapters: Generators::Adapters, adapter: str) -> None
Expand All @@ -369,4 +369,4 @@ onnxruntime_genai.Generator(adapters: Generators::Adapters, adapter: str) -> Non

#### Return value

None
None

0 comments on commit ded2bd8

Please sign in to comment.