mirror of
https://github.com/thinking-machines-lab/tinker.git
synced 2026-04-19 12:58:01 +00:00
Sync contents
This commit is contained in:
parent
ad03d44978
commit
ca40e08bb4
12 changed files with 358 additions and 27 deletions
|
|
@ -110,3 +110,14 @@ async def compute_logprobs_async(
|
|||
```
|
||||
|
||||
Async version of compute_logprobs.
|
||||
|
||||
#### `get_tokenizer`
|
||||
|
||||
```python
|
||||
def get_tokenizer() -> PreTrainedTokenizer
|
||||
```
|
||||
|
||||
Get the tokenizer for the current model.
|
||||
|
||||
Returns:
|
||||
- `PreTrainedTokenizer` compatible with the model
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue