You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EXCLUDED_LABELS: "bug,Community want to contribute,Community Engagement,duplicate,help wanted,Investigating,need more info,question,roadmap,stale,waiting for feedback,wontfix"
41
+
LLM_SYSTEM_PROMPT: |
42
+
You are an expert GitHub issue labeler. Your task is to analyze the provided issue title, issue body, and a list of available labels with their descriptions.
43
+
Based on this information, select the single most appropriate label from the list that best captures the primary issue or request.
44
+
Prefer selecting only one label that represents the main topic or problem. Only suggest multiple labels if the issue genuinely spans multiple distinct areas that are equally important.
45
+
Respond with ONLY the chosen label name (e.g., 'bug', 'feature-request') or comma-separated names if multiple are truly needed.
46
+
If no labels seem appropriate, respond with 'NONE'.
47
+
Do not add any other text, explanation, or markdown formatting.
f"Cannot find a tokenizer from the given string because of {e}\nPlease set tokenizer to the directory that contains the tokenizer, or set to a model name in HuggingFace."
44
45
)
45
46
tokenizer.pad_token=tokenizer.eos_token
46
-
returntokenizer
47
+
self.tokenizer=tokenizer
48
+
49
+
returnself
47
50
48
51
49
52
@click.group()
@@ -82,6 +85,11 @@ def get_tokenizer(cls,
82
85
default="info",
83
86
type=click.Choice(['info', 'debug']),
84
87
help="Logging level.")
88
+
@click.option("--trust-remote-code",
89
+
is_flag=True,
90
+
default=False,
91
+
envvar="TRUST_REMOTE_CODE",
92
+
help="Trust remote code.")
85
93
@click.pass_context
86
94
defcli(ctx, **kwargs):
87
95
"""This script generates dataset input for gptManagerBenchmark."""
0 commit comments