Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

pkshatech
/
GLuCoSE-base-ja

Sentence Similarity
sentence-transformers
PyTorch
Transformers
Japanese
luke
feature-extraction
Model card Files Files and versions
xet
Community
6

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
GLuCoSE-base-ja
533 MB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 14 commits
takegawa's picture
takegawa
meguruin's picture
meguruin
Add Citation (#5)
af592a4 verified 9 months ago
  • 1_Pooling
    init almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    5.68 kB
    Add Citation (#5) 9 months ago
  • README_JA.md
    5.76 kB
    update: weight and readme over 2 years ago
  • added_tokens.json
    40 Bytes
    init almost 3 years ago
  • config.json
    867 Bytes
    init almost 3 years ago
  • config_sentence_transformers.json
    123 Bytes
    init almost 3 years ago
  • entity_vocab.json
    62 Bytes
    init almost 3 years ago
  • modules.json
    229 Bytes
    init almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage"

    What is a pickle import?

    532 MB
    xet
    update: weight and readme over 2 years ago
  • sentence_bert_config.json
    53 Bytes
    init almost 3 years ago
  • sentencepiece.bpe.model
    842 kB
    xet
    init almost 3 years ago
  • special_tokens_map.json
    595 Bytes
    init almost 3 years ago
  • tokenizer_config.json
    2.12 kB
    init almost 3 years ago