mirror of
https://github.com/karpathy/nanochat.git
synced 2026-04-01 13:15:21 +00:00
Merge f7ecfa0366 into a445144d39
This commit is contained in:
commit
40ecb443f0
|
|
@ -59,7 +59,8 @@ python -m scripts.chat_sft \
|
|||
# The model should be able to say that it is Paris.
|
||||
# It might even know that the color of the sky is blue.
|
||||
# Sometimes the model likes it if you first say Hi before you ask it questions.
|
||||
# python -m scripts.chat_cli -p "What is the capital of France?"
|
||||
# export MODEL_TAG="d6"
|
||||
# python -m scripts.chat_cli -p "What is the capital of France?" --model-tag $MODEL_TAG
|
||||
|
||||
# Chat with the model over a pretty WebUI ChatGPT style
|
||||
# python -m scripts.chat_web
|
||||
|
|
|
|||
|
|
@ -86,7 +86,8 @@ torchrun --standalone --nproc_per_node=8 -m scripts.chat_sft -- --device-batch-s
|
|||
torchrun --standalone --nproc_per_node=8 -m scripts.chat_eval -- -i sft
|
||||
|
||||
# chat with the model over CLI! Leave out the -p to chat interactively
|
||||
# python -m scripts.chat_cli -p "Why is the sky blue?"
|
||||
# export MODEL_TAG="d24"
|
||||
# python -m scripts.chat_cli -p "Why is the sky blue?" --model-tag $MODEL_TAG
|
||||
|
||||
# even better, chat with your model over a pretty WebUI ChatGPT style
|
||||
# python -m scripts.chat_web
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user