Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
q-future/OneAlign
loveaa
/
OneAlign
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
OneAlign
/
q_align
/
constants.py
haoning.wu
Scorer Starts
e63f3e2
over 2 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
192 Bytes
CONTROLLER_HEART_BEAT_EXPIRATION =
30
WORKER_HEART_BEAT_INTERVAL =
15
LOGDIR =
"./demo_logs"
# Model Constants
IGNORE_INDEX = -
100
IMAGE_TOKEN_INDEX = -
200
DEFAULT_IMAGE_TOKEN =
"<|image|>"