Updated Home (markdown)
parent
fc25b4e525
commit
cb5e68a4e7
1 changed files with 9 additions and 0 deletions
9
Home.md
9
Home.md
|
|
@ -165,4 +165,13 @@ tokenizer = get_chat_template(
|
|||
mapping = {"role" : "from", "content" : "value", "user" : "human", "assistant" : "gpt"}, # ShareGPT style
|
||||
map_eos_token = True, # Maps <|im_end|> to </s> instead
|
||||
)
|
||||
```
|
||||
|
||||
### NotImplementedError: A UTF-8 locale is required. Got ANSI
|
||||
See https://github.com/googlecolab/colabtools/issues/3409
|
||||
|
||||
In a new cell, run the below:
|
||||
```python
|
||||
import locale
|
||||
locale.getpreferredencoding = lambda: "UTF-8"
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue