Sentence Similarity
sentence-transformers
Safetensors
Transformers
bert
feature-extraction
text-embeddings-inference
Instructions to use danfeg/ARBERT_Finetuned-COMB-7443 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use danfeg/ARBERT_Finetuned-COMB-7443 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("danfeg/ARBERT_Finetuned-COMB-7443") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use danfeg/ARBERT_Finetuned-COMB-7443 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("danfeg/ARBERT_Finetuned-COMB-7443") model = AutoModel.from_pretrained("danfeg/ARBERT_Finetuned-COMB-7443", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from danfeg/ARBERT_Finetuned-COMB-7443: direct link, hf CLI and curl.
- Browser
- Download file 651 MB
-
https://huggingface.co/danfeg/ARBERT_Finetuned-COMB-7443/resolve/main/model.safetensors
- Command line
-
hf download hf://danfeg/ARBERT_Finetuned-COMB-7443/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/danfeg/ARBERT_Finetuned-COMB-7443/resolve/main/model.safetensors
651 MB
- Xet hash:
- 1aa63b1e3afd2c74b594d3500f74ea15ef7c1309fbdfdd45c3c5794df232ab8e
- Size of remote file:
- 651 MB
- SHA256:
- da4f2838ebe8227850b91e26425cbc16dd8c33f1bba05b46b3041d0fc10ea11b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.