Update README.md
Browse files
README.md
CHANGED
|
@@ -90,10 +90,8 @@ print(f"P('yes') = {probs[0, yes_token_id].item():.4f}")
|
|
| 90 |
```python
|
| 91 |
llamafactory-cli chat examples/inference/distinguisher_ptcv.yaml
|
| 92 |
```
|
| 93 |
-
### Example YAML configuration
|
| 94 |
-
|
| 95 |
-
lora_sft.yaml
|
| 96 |
-
```
|
| 97 |
```yaml
|
| 98 |
model_name_or_path: microsoft/Phi-3-medium-128k-instruct
|
| 99 |
adapter_name_or_path: bellafc/IPAD/Distinguisher_PTCV
|
|
@@ -107,12 +105,10 @@ temperature: 0.7
|
|
| 107 |
|
| 108 |
## 🚀 LLaMA-Factory Usage (API)
|
| 109 |
```python
|
| 110 |
-
llamafactory-cli api examples/inference/
|
| 111 |
-
```
|
| 112 |
-
### Example YAML configuration
|
| 113 |
-
```python
|
| 114 |
-
lora_sft.yaml
|
| 115 |
```
|
|
|
|
|
|
|
| 116 |
```yaml
|
| 117 |
model_name_or_path: microsoft/Phi-3-medium-128k-instruct
|
| 118 |
adapter_name_or_path: bellafc/IPAD/Distinguisher_PTCV
|
|
|
|
| 90 |
```python
|
| 91 |
llamafactory-cli chat examples/inference/distinguisher_ptcv.yaml
|
| 92 |
```
|
| 93 |
+
### Example lora_sft.yaml YAML configuration
|
| 94 |
+
|
|
|
|
|
|
|
| 95 |
```yaml
|
| 96 |
model_name_or_path: microsoft/Phi-3-medium-128k-instruct
|
| 97 |
adapter_name_or_path: bellafc/IPAD/Distinguisher_PTCV
|
|
|
|
| 105 |
|
| 106 |
## 🚀 LLaMA-Factory Usage (API)
|
| 107 |
```python
|
| 108 |
+
llamafactory-cli api examples/inference/lora_sft.yaml
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
```
|
| 110 |
+
### Example lora_sft.yaml YAML configuration
|
| 111 |
+
|
| 112 |
```yaml
|
| 113 |
model_name_or_path: microsoft/Phi-3-medium-128k-instruct
|
| 114 |
adapter_name_or_path: bellafc/IPAD/Distinguisher_PTCV
|