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

  • Log In
  • Sign Up

apugachev
/
bert-langdetect

Text Classification
Transformers
PyTorch
google-tensorflow TensorFlow
bert
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use apugachev/bert-langdetect with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use apugachev/bert-langdetect with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="apugachev/bert-langdetect")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("apugachev/bert-langdetect")
    model = AutoModelForSequenceClassification.from_pretrained("apugachev/bert-langdetect")
  • Notebooks
  • Google Colab
  • Kaggle
bert-langdetect
718 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
apugachev's picture
apugachev
add tokenizer
c68a5ac almost 4 years ago
  • .gitattributes
    1.17 kB
    initial commit almost 4 years ago
  • config.json
    3.82 kB
    add model almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    358 MB
    xet
    add model almost 4 years ago
  • special_tokens_map.json
    112 Bytes
    add tokenizer almost 4 years ago
  • tf_model.h5
    358 MB
    xet
    add model almost 4 years ago
  • tokenizer.json
    1.72 MB
    add tokenizer almost 4 years ago
  • tokenizer_config.json
    343 Bytes
    add tokenizer almost 4 years ago
  • vocab.txt
    872 kB
    add tokenizer almost 4 years ago