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

  • Log In
  • Sign Up

mbley
/
german-webtext-quality-classifier-base

Text Classification
setfit
Safetensors
sentence-transformers
German
distilbert
generated_from_setfit_trainer
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use mbley/german-webtext-quality-classifier-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • setfit

    How to use mbley/german-webtext-quality-classifier-base with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("mbley/german-webtext-quality-classifier-base")
  • sentence-transformers

    How to use mbley/german-webtext-quality-classifier-base with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("mbley/german-webtext-quality-classifier-base")
    
    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
german-webtext-quality-classifier-base
543 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
mbley's picture
mbley
Update README.md
750c5c9 verified 4 months ago
  • 1_Pooling
    Upload folder using huggingface_hub 9 months ago
  • .gitattributes
    1.52 kB
    initial commit 9 months ago
  • README.md
    5.68 kB
    Update README.md 4 months ago
  • config.json
    524 Bytes
    Upload folder using huggingface_hub 9 months ago
  • config_sentence_transformers.json
    205 Bytes
    Upload folder using huggingface_hub 9 months ago
  • config_setfit.json
    53 Bytes
    Upload folder using huggingface_hub 9 months ago
  • model.safetensors
    539 MB
    xet
    Upload folder using huggingface_hub 9 months ago
  • model_head.pkl

    Detected Pickle imports (7)

    • "setfit.modeling.SetFitHead",
    • "torch.storage._load_from_bytes",
    • "torch._utils._rebuild_parameter",
    • "collections.OrderedDict",
    • "torch.nn.modules.linear.Linear",
    • "torch.device",
    • "torch._utils._rebuild_tensor_v2"

    How to fix it?

    23.1 kB
    xet
    Upload folder using huggingface_hub 9 months ago
  • modules.json
    229 Bytes
    Upload folder using huggingface_hub 9 months ago
  • sentence_bert_config.json
    53 Bytes
    Upload folder using huggingface_hub 9 months ago
  • special_tokens_map.json
    695 Bytes
    Upload folder using huggingface_hub 9 months ago
  • tokenizer.json
    2.92 MB
    Upload folder using huggingface_hub 9 months ago
  • tokenizer_config.json
    1.23 kB
    Upload folder using huggingface_hub 9 months ago
  • vocab.txt
    996 kB
    Upload folder using huggingface_hub 9 months ago