MokaHR commited on
Commit
047bf95
1 Parent(s): e1031ee

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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