Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

flax-community
/
roberta-pretraining-hindi

Fill-Mask
Transformers
PyTorch
JAX
TensorBoard
roberta
Model card Files Files and versions
xet
Metrics Training metrics Community
1

Instructions to use flax-community/roberta-pretraining-hindi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use flax-community/roberta-pretraining-hindi with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="flax-community/roberta-pretraining-hindi")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("flax-community/roberta-pretraining-hindi")
    model = AutoModelForMaskedLM.from_pretrained("flax-community/roberta-pretraining-hindi", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
roberta-pretraining-hindi
1.04 GB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 38 commits
dk-crazydiv's picture
dk-crazydiv
mc4 epoch14
9142843 over 5 years ago
  • .gitattributes
    737 Bytes
    Saving weights and logs of epoch 2 over 5 years ago
  • README.md
    162 Bytes
    Updated README over 5 years ago
  • config.json
    670 Bytes
    Updated torch model and fixed typo in conversion script over 5 years ago
  • create_config.py
    147 Bytes
    All set to train over 5 years ago
  • events.out.tfevents.1625416432.t1v-n-9df4ce0e-w-0.447041.3.v2
    40 Bytes
    xet
    Saving weights and logs of epoch 1 over 5 years ago
  • events.out.tfevents.1625418057.t1v-n-9df4ce0e-w-0.452509.3.v2
    41.6 MB
    xet
    Saving weights and logs of epoch 8 over 5 years ago
  • flax_model.msgpack
    499 MB
    xet
    mc4 epoch14 over 5 years ago
  • flax_to_torch.py
    805 Bytes
    Updated torch model and fixed typo in conversion script over 5 years ago
  • pytorch_model.bin
    499 MB
    xet
    Converted latest model to torch model over 5 years ago
  • run.sh
    562 Bytes
    Updated code to have different seed and reduced lr over 5 years ago
  • run_mlm_flax.py
    28.7 kB
    Fix on lr over 5 years ago
  • tokenizer.json
    2.86 MB
    mc4 epoch2 over 5 years ago
  • train_tokenizer.py
    776 Bytes
    tzz over 5 years ago