Dontopedia

Bert Similarity Code

From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-05.)

Bert Similarity Code has 13 facts recorded in Dontopedia across 1 reference, with 3 live disagreements.

13 facts·9 predicates·1 sources·3 in dispute

Mostly:computes(3), returns(2), demonstrates(2)

Maturity scale raw canonical shape-checked rule-derived certified

Inbound mentions (2)

Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. "X motherOf this subject" — and answer questions the forward facts can't. Grouped by predicate.

computedByComputed by(1)

producedByProduced by(1)

Other facts (13)

The long tail: predicates that appear too rarely to warrant their own section. Filter or scroll to find a specific one. Each row links to its source.

Timeline

Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.

typebeam/f599e0ad-adea-4654-9206-60e269173330
ex:CodeSnippet
computesbeam/f599e0ad-adea-4654-9206-60e269173330
ex:bert-embedding-mean
computesbeam/f599e0ad-adea-4654-9206-60e269173330
ex:document-embedding-mean
usesbeam/f599e0ad-adea-4654-9206-60e269173330
ex:torch-nn-functional
computesbeam/f599e0ad-adea-4654-9206-60e269173330
ex:cosine-similarity
returnsbeam/f599e0ad-adea-4654-9206-60e269173330
ex:argsort-descending-indices
definesFunctionbeam/f599e0ad-adea-4654-9206-60e269173330
ex:get-bert-similarity
implementsbeam/f599e0ad-adea-4654-9206-60e269173330
ex:semantic-search-algorithm
usesLibrarybeam/f599e0ad-adea-4654-9206-60e269173330
ex:pytorch-library
hasCommentbeam/f599e0ad-adea-4654-9206-60e269173330
ex:example-usage-comment
demonstratesbeam/f599e0ad-adea-4654-9206-60e269173330
ex:embedding-comparison-technique
demonstratesbeam/f599e0ad-adea-4654-9206-60e269173330
ex:mean-pooling-technique
returnsbeam/f599e0ad-adea-4654-9206-60e269173330
ex:sorted-document-indices

References (1)

1 references
  1. ctx:claims/beam/f599e0ad-adea-4654-9206-60e269173330
    • full textbeam-chunk
      text/plain1 KBdoc:beam/f599e0ad-adea-4654-9206-60e269173330
      Show excerpt
      query_embedding = query_output.last_hidden_state.mean(dim=1) document_embeddings = document_output.last_hidden_state.mean(dim=1) similarities = torch.nn.functional.cosine_similarity(query_embedding, document_embeddings, dim=-1)

See also

Keep researching

Missing something or suspicious of what's here? Kick off a research session — a Claude agent will investigate, cite its sources, and file new facts into a dedicated context you can review before accepting into the shared view.