Instructions to use HamzaFarhan/InvoiceOrNot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use HamzaFarhan/InvoiceOrNot with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("HamzaFarhan/InvoiceOrNot") 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 HamzaFarhan/InvoiceOrNot with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("HamzaFarhan/InvoiceOrNot") - Notebooks
- Google Colab
- Kaggle
Commit ·
c33fd51
1
Parent(s): b894866
Add SetFit model
Browse files- model_head.pkl +2 -2
- pytorch_model.bin +1 -1
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:dbd95c804326479c00357f07abb3808e1e388b0fdb7fc37d025738aef49ea7df
|
| 3 |
+
size 7644
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 438016493
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ab20d8d4d47db7693059b65c02cfbd4fc98a4d334e20e9087390057c04e43bc
|
| 3 |
size 438016493
|