Skip to content

Commit

Permalink
Update prompt_based_methods.md (huggingface#1548)
Browse files Browse the repository at this point in the history
remove duplicate commas
  • Loading branch information
insist93 authored and BenjaminBossan committed Mar 14, 2024
1 parent acdecc6 commit b3ee3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/task_guides/prompt_based_methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ prompt_tuning_init_text = "Classify if the tweet is a complaint or no complaint.
peft_config = PromptTuningConfig(
task_type="CAUSAL_LM",
prompt_tuning_init=PromptTuningInit.TEXT,
num_virtual_tokens=len(tokenizer(prompt_tuning_init_text)["input_ids"]),,
num_virtual_tokens=len(tokenizer(prompt_tuning_init_text)["input_ids"]),
prompt_tuning_init_text=prompt_tuning_init_text,
tokenizer_name_or_path="bigscience/bloomz-560m",
)
Expand Down

0 comments on commit b3ee3d0

Please sign in to comment.