Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanLee97 committed May 22, 2024
1 parent e47f220 commit 62f2cb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ angle = AnglE.from_pretrained('NousResearch/Llama-2-7b-hf',
pooling_strategy='last',
is_llm=True,
apply_billm=True,
billm_model_class='LlamaForCausalMask',
billm_model_class='LlamaForCausalLM',
torch_dtype='float16').cuda()

doc_vecs = angle.encode([
Expand Down
2 changes: 1 addition & 1 deletion docs/notes/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Specify `apply_billm` and `billm_model_class` to load and infer billm models
pooling_strategy='last',
is_llm=True,
apply_billm=True,
billm_model_class='LlamaForCausalMask',
billm_model_class='LlamaForCausalLM',
torch_dtype='float16').cuda()
doc_vecs = angle.encode([
Expand Down

0 comments on commit 62f2cb1

Please sign in to comment.