Instructions to use qinxue-tsc/edison with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use qinxue-tsc/edison with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("qinxue-tsc/edison") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - setfit
How to use qinxue-tsc/edison with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("qinxue-tsc/edison") - Notebooks
- Google Colab
- Kaggle
Commit ·
f8dc32d
1
Parent(s): 90378df
switch device to CPU
Browse files- config.json +1 -1
- model_head.pkl +2 -2
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "/
|
| 3 |
"architectures": [
|
| 4 |
"BertModel"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "model/qinxue-tsc_edison/",
|
| 3 |
"architectures": [
|
| 4 |
"BertModel"
|
| 5 |
],
|
model_head.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8884dc6d1fb8e9b73e1bb476f7d2b6797cda3d74e073d6e662333fb692a0346
|
| 3 |
+
size 7645
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11185c3ce5a717a4365f4b8e976c5e46332aaeb770262a04cc5058099ed97423
|
| 3 |
+
size 133508397
|