jealk commited on
Commit
e807790
·
verified ·
1 Parent(s): 955a0f7

Updated max token length

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -87,7 +87,7 @@ model = PeftModel.from_pretrained(
87
  )
88
 
89
  # Wrapper for encoding and pooling operations
90
- l2v = LLM2Vec(model, tokenizer, pooling_mode="mean", max_length=512)
91
 
92
  # Encoding queries using instructions
93
  instruction = (
 
87
  )
88
 
89
  # Wrapper for encoding and pooling operations
90
+ l2v = LLM2Vec(model, tokenizer, pooling_mode="mean", max_length=8124)
91
 
92
  # Encoding queries using instructions
93
  instruction = (