Instructions to use carsonpoole/binary-embeddings with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use carsonpoole/binary-embeddings with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="carsonpoole/binary-embeddings")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("carsonpoole/binary-embeddings") model = AutoModel.from_pretrained("carsonpoole/binary-embeddings") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- config.json +1 -1
- model.safetensors +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"BertModel"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "./model",
|
| 3 |
"architectures": [
|
| 4 |
"BertModel"
|
| 5 |
],
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 133462128
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a207dd23af31743f4adc95269162c0d85581f174a189e31aaf27f34fb7446ece
|
| 3 |
size 133462128
|