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

  • Log In
  • Sign Up

flax-community
/
roberta-base-thai

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

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

  • Libraries
  • Transformers

    How to use flax-community/roberta-base-thai with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="flax-community/roberta-base-thai")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("flax-community/roberta-base-thai")
    model = AutoModelForMaskedLM.from_pretrained("flax-community/roberta-base-thai")
  • Notebooks
  • Google Colab
  • Kaggle
roberta-base-thai
1,000 MB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 71 commits
yhavinga's picture
yhavinga
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
ee83601 verified over 1 year ago
  • .gitattributes
    790 Bytes
    Adding `safetensors` variant of this model (#1) over 1 year ago
  • .gitignore
    14 Bytes
    update rule almost 5 years ago
  • config.json
    618 Bytes
    change config and fix training tokenizer script almost 5 years ago
  • events.out.tfevents.1626492878.t1v-n-bf8aeee7-w-0.3900.3.v2
    9.31 kB
    xet
    update tfevent almost 5 years ago
  • model.safetensors
    499 MB
    xet
    Adding `safetensors` variant of this model (#1) over 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    499 MB
    xet
    update pt model almost 5 years ago
  • run.sh
    721 Bytes
    fix run.sh almost 5 years ago
  • run_mlm_flax.py
    29.6 kB
    update script regarding to https://github.com/huggingface/transformers/pull/12608 almost 5 years ago
  • tokenizer.json
    2.25 MB
    use proper tokenizer.json and change to batch_size=256 almost 5 years ago
  • train_tokenizer.py
    1.25 kB
    train with 10K batch_size almost 5 years ago