Update README.md
Browse files
README.md
CHANGED
@@ -95,7 +95,7 @@ from uniem.finetuner import FineTuner
|
|
95 |
|
96 |
dataset = load_dataset('shibing624/nli_zh', 'STS-B')
|
97 |
# 指定训练的模型为 m3e-small
|
98 |
-
finetuner = FineTuner('moka-ai/m3e-small', dataset=dataset)
|
99 |
finetuner.run(epochs=1)
|
100 |
```
|
101 |
|
|
|
95 |
|
96 |
dataset = load_dataset('shibing624/nli_zh', 'STS-B')
|
97 |
# 指定训练的模型为 m3e-small
|
98 |
+
finetuner = FineTuner.from_pretrained('moka-ai/m3e-small', dataset=dataset)
|
99 |
finetuner.run(epochs=1)
|
100 |
```
|
101 |
|