mirror of
https://git.victorphan.net/basketballcantho/book_translator.git
synced 2026-08-05 06:33:11 +07:00
update token
This commit is contained in:
@@ -41,6 +41,9 @@ from tqdm import tqdm
|
|||||||
# ──────────────────────────────────────────────────────────────
|
# ──────────────────────────────────────────────────────────────
|
||||||
# Configuration Defaults
|
# Configuration Defaults
|
||||||
# ──────────────────────────────────────────────────────────────
|
# ──────────────────────────────────────────────────────────────
|
||||||
|
import os
|
||||||
|
os.environ["HF_TOKEN"] = "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"
|
||||||
|
|
||||||
DEFAULT_MODEL_ID = "Qwen/Qwen2.5-72B-Instruct"
|
DEFAULT_MODEL_ID = "Qwen/Qwen2.5-72B-Instruct"
|
||||||
CHUNK_SIZE = 5 # paragraphs per inference call
|
CHUNK_SIZE = 5 # paragraphs per inference call
|
||||||
MAX_NEW_TOKENS = 8192 # max tokens the model generates per chunk
|
MAX_NEW_TOKENS = 8192 # max tokens the model generates per chunk
|
||||||
|
|||||||
Reference in New Issue
Block a user