algorithmexplorer01
commited on
Commit
•
40a8451
1
Parent(s):
f2bb854
Update README.md
Browse files
README.md
CHANGED
@@ -37,7 +37,7 @@ tags:
|
|
37 |
from numpy.linalg import norm
|
38 |
from transformers import AutoModel
|
39 |
|
40 |
-
model_path = "OctopusMind/longbert-8k-zh"
|
41 |
model = AutoModel.from_pretrained(model_path, trust_remote_code=True)
|
42 |
|
43 |
sentences = ['我是问蚂蚁借呗为什么不能提前结清欠款', "为什么借呗不能选择提前还款"]
|
|
|
37 |
from numpy.linalg import norm
|
38 |
from transformers import AutoModel
|
39 |
|
40 |
+
model_path = "OctopusMind/longbert-embedding-8k-zh"
|
41 |
model = AutoModel.from_pretrained(model_path, trust_remote_code=True)
|
42 |
|
43 |
sentences = ['我是问蚂蚁借呗为什么不能提前结清欠款', "为什么借呗不能选择提前还款"]
|