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

  • Log In
  • Sign Up

ashraq
/
bert-random-weights

Fill-Mask
Transformers
PyTorch
bert
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use ashraq/bert-random-weights with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="ashraq/bert-random-weights")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("ashraq/bert-random-weights")
    model = AutoModelForMaskedLM.from_pretrained("ashraq/bert-random-weights")
  • Notebooks
  • Google Colab
  • Kaggle
bert-random-weights
1.9 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
ashraq's picture
ashraq
Upload tokenizer
57efab2 about 3 years ago
  • .gitattributes
    1.53 kB
    Upload tokenizer about 3 years ago
  • config.json
    590 Bytes
    Upload BertForMaskedLM about 3 years ago
  • generation_config.json
    90 Bytes
    Upload BertForMaskedLM about 3 years ago
  • pytorch_model.bin
    1.89 GB
    xet
    Upload BertForMaskedLM about 3 years ago
  • special_tokens_map.json
    125 Bytes
    Upload tokenizer about 3 years ago
  • tokenizer.json
    13.6 MB
    xet
    Upload tokenizer about 3 years ago
  • tokenizer_config.json
    398 Bytes
    Upload tokenizer about 3 years ago
  • vocab.txt
    5.22 MB
    Upload tokenizer about 3 years ago