Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Fremtind
/
norsbert4-large

Sentence Similarity
sentence-transformers
Safetensors
Norwegian
Norwegian Nynorsk
Norwegian Bokmål
feature-extraction
dense
custom_code
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use Fremtind/norsbert4-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Fremtind/norsbert4-large with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Fremtind/norsbert4-large", trust_remote_code=True)
    
    sentences = [
        "En gruppe barn leker og har det gøy.",
        "Barn leker på gresset omgitt av sterke farger.",
        "Barna er sammen.",
        "Barna leser bøker."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
norsbert4-large
1.44 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
Murhaf's picture
Murhaf
links
64a8c17 verified 7 months ago
  • 1_Pooling
    Add new SentenceTransformer model 8 months ago
  • .gitattributes
    1.52 kB
    initial commit 8 months ago
  • README.md
    11.2 kB
    links 7 months ago
  • config.json
    1.37 kB
    drop dtype from config 7 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model 8 months ago
  • configuration_gptbert.py
    1.01 kB
    Add new SentenceTransformer model 8 months ago
  • model.safetensors
    1.44 GB
    xet
    Add new SentenceTransformer model 8 months ago
  • modeling_gptbert.py
    47.6 kB
    Add new SentenceTransformer model 8 months ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model 8 months ago
  • sentence_bert_config.json
    56 Bytes
    Add new SentenceTransformer model 8 months ago
  • special_tokens_map.json
    965 Bytes
    Add new SentenceTransformer model 8 months ago
  • tokenizer.json
    3.63 MB
    Add new SentenceTransformer model 8 months ago
  • tokenizer_config.json
    3.28 kB
    Add new SentenceTransformer model 8 months ago