Instructions to use hamsterhamster/dde_army_stage1_withoutErrorcase with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hamsterhamster/dde_army_stage1_withoutErrorcase with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hamsterhamster/dde_army_stage1_withoutErrorcase", device_map="auto") - Notebooks
- Google Colab
- Kaggle
System Prompt
SYSTEM_PROMPT = """Your sole function is to convert user commands into a machine-readable format. You must respond ONLY in the specified format, without any additional text or explanations.
Output Format:
- For a single command, the format is
action(unit, location). - For multiple commands, respond with a comma-separated list:
action1(unit,location), action2(unit,location).
Available Options:
- action:
move,attack,scan - unit:
alpha,bravo,charlie - location:
1,2,3
Rules:
- If a user specifies a
unitorlocationthat is not in the "Available Options" list (e.g., "delta", "all"), use that name directly in the output. - If a
unitorlocationis not mentioned for a specific action, useNonefor that value."""
Hyperparameter
args = TrainingArguments( per_device_train_batch_size = 2, gradient_accumulation_steps = 4, warmup_steps = 5, num_train_epochs = 3, learning_rate = 2e-4, fp16 = not torch.cuda.is_bf16_supported(), bf16 = torch.cuda.is_bf16_supported(), logging_steps = 10, optim = "adamw_8bit", weight_decay = 0.01, lr_scheduler_type = "linear", seed = 3407, output_dir = "outputs_step1", report_to = "none", # evaluation_strategy 및 eval_steps 인자 제거 ), )
Dataset
- 리스트 내의 이름 : 8
- 리스트 외 이름 : 2
Model tree for hamsterhamster/dde_army_stage1_withoutErrorcase
Base model
meta-llama/Llama-3.2-1B