Mix up
from transformers import AutoConfig
model_name = "EleutherAI/polyglot-ko-5.8b"
config = AutoConfig.from_pretrained(model_name)
max_length = config.max_position_embeddings
print("Maximum input sequence length:", max_length)
댓글 없음:
댓글 쓰기