Sentence Similarity
sentence-transformers
Safetensors
Japanese
retrieva-bert
feature-extraction
custom_code
Instructions to use pkshatech/RoSEtta-base-ja with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use pkshatech/RoSEtta-base-ja with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("pkshatech/RoSEtta-base-ja", trust_remote_code=True) 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] - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from pkshatech/RoSEtta-base-ja: direct link, hf CLI and curl.
- Browser
- Download file 6.41 MB
-
https://huggingface.co/pkshatech/RoSEtta-base-ja/resolve/main/tokenizer.json
- Command line
-
hf download hf://pkshatech/RoSEtta-base-ja/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/pkshatech/RoSEtta-base-ja/resolve/main/tokenizer.json
6.41 MB
File too large to display, you can check the raw version instead.