Instructions to use pkshatech/GLuCoSE-base-ja with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use pkshatech/GLuCoSE-base-ja with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("pkshatech/GLuCoSE-base-ja") 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] - Transformers
How to use pkshatech/GLuCoSE-base-ja with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("pkshatech/GLuCoSE-base-ja") model = AutoModel.from_pretrained("pkshatech/GLuCoSE-base-ja") - Notebooks
- Google Colab
- Kaggle
Add Citation
#5
by meguruin - opened
README.md
CHANGED
|
@@ -101,6 +101,16 @@ Evaluation by top-k retrieval accuracy[^4] (the fraction of questions that have
|
|
| 101 |
# Authors
|
| 102 |
[Akihiko Fukuchi](https://huggingface.co/akiFQC), [Yuichiro Hoshino](https://huggingface.co/Yuichiroh), [Yotarow Watanabe](https://huggingface.co/yotarow)
|
| 103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
## License
|
| 105 |
This model is published under the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
|
| 106 |
|
|
|
|
| 101 |
# Authors
|
| 102 |
[Akihiko Fukuchi](https://huggingface.co/akiFQC), [Yuichiro Hoshino](https://huggingface.co/Yuichiroh), [Yotarow Watanabe](https://huggingface.co/yotarow)
|
| 103 |
|
| 104 |
+
## Citation
|
| 105 |
+
```
|
| 106 |
+
@misc{pkshatech-GLuCoSE-base-ja,
|
| 107 |
+
title={pkshatech/GLuCoSE-base-ja},
|
| 108 |
+
url={https://huggingface.co/pkshatech/GLuCoSE-base-ja},
|
| 109 |
+
author={Akihiko Fukuchi, Yuichiro Hoshino, Yotarow Watanabe},
|
| 110 |
+
year={2023},
|
| 111 |
+
}
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
## License
|
| 115 |
This model is published under the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
|
| 116 |
|