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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

sinhala-nlp
/
mbert-olid-en

Text Classification
Transformers
PyTorch
bert
text-embeddings-inference
Model card Files Files and versions
xet
Community
2

Instructions to use sinhala-nlp/mbert-olid-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use sinhala-nlp/mbert-olid-en with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="sinhala-nlp/mbert-olid-en")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("sinhala-nlp/mbert-olid-en")
    model = AutoModelForSequenceClassification.from_pretrained("sinhala-nlp/mbert-olid-en", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
mbert-olid-en
2.14 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Damith's picture
Damith
model upload
7552db4 about 4 years ago
  • .gitattributes
    1.38 kB
    initial commit about 4 years ago
  • README.md
    28 Bytes
    initial commit about 4 years ago
  • config.json
    846 Bytes
    model upload about 4 years ago
  • eval_results.txt
    185 Bytes
    model upload about 4 years ago
  • model_args.json
    2.57 kB
    model upload about 4 years ago
  • optimizer.pt

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.42 GB
    xet
    model upload about 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    711 MB
    xet
    model upload about 4 years ago
  • scheduler.pt

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    623 Bytes
    xet
    model upload about 4 years ago
  • special_tokens_map.json
    125 Bytes
    model upload about 4 years ago
  • tokenizer.json
    2.92 MB
    model upload about 4 years ago
  • tokenizer_config.json
    360 Bytes
    model upload about 4 years ago
  • training_args.bin

    Detected Pickle imports (1)

    • "deepoffense.classification.transformer_models.args.model_args.ClassificationArgs"

    How to fix it?

    3.18 kB
    xet
    model upload about 4 years ago
  • vocab.txt
    996 kB
    model upload about 4 years ago