bellafc commited on
Commit
5d95456
·
verified ·
1 Parent(s): 4f4f783

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -0
README.md CHANGED
@@ -86,6 +86,21 @@ print(f"P('yes') = {probs[0, yes_token_id].item():.4f}")
86
 
87
  ---
88
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  ## ⚙️ Model Details
90
 
91
  | Property | Description |
 
86
 
87
  ---
88
 
89
+ ## 🚀 LLaMA-Factory Usage
90
+ ```python
91
+ llamafactory-cli chat examples/inference/distinguisher_ptcv.yaml
92
+ ```
93
+ ### Example YAML configuration
94
+ ```yaml
95
+ model_name_or_path: microsoft/Phi-3-medium-128k-instruct
96
+ adapter_name_or_path: bellafc/IPAD/Distinguisher_PTCV
97
+ template: phi
98
+ infer_backend: vllm
99
+ max_new_tokens: 128
100
+ temperature: 0.7
101
+ ```
102
+
103
+
104
  ## ⚙️ Model Details
105
 
106
  | Property | Description |