Skip to content

sequence length is longer than the specified maximum sequence length for this model (2842 > 2048). Running this sequence through the model will result in indexing errors #1521

@jinz2014

Description

@jinz2014

Hi

The command produces the error shown below. Thanks for your suggestion.

python run_clm_no_trainer.py
    --model EleutherAI/gpt-j-6B \
    --dataset NeelNanda/pile-10k \
    --seed 0 \
    --quantize \
    --approach weight_only \
    --woq_algo GPTQ \
    --woq_bits 4 \
    --woq_scheme asym \
    --woq_group_size 128 \
    --gptq_pad_max_length 2048 \
    --gptq_use_max_length \
    --gptq_debug 

sequence length is longer than the specified maximum sequence length for this model (2842 > 2048). Running this sequence through the model will result in indexing errors

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions