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

  • Log In
  • Sign Up

latincy
/
latin-bert

Fill-Mask
Transformers
PyTorch
Safetensors
Latin
bert
feature-extraction
latin
nlp
classics
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Transformers

    How to use latincy/latin-bert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="latincy/latin-bert")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("latincy/latin-bert")
    model = AutoModel.from_pretrained("latincy/latin-bert")
  • Notebooks
  • Google Colab
  • Kaggle
latin-bert / tests
Ctrl+K
Ctrl+K
  • 3 contributors
History: 11 commits
diyclassics's picture
diyclassics
fix: add do_lower_case=True to tokenizer (v1.1.1)
c7b1be1 about 2 months ago
  • case_study_utils.py
    7.73 kB
    refactor: extract shared case study utils and move data to tracked paths 2 months ago
  • conftest.py
    540 Bytes
    refactor: extract shared case study utils and move data to tracked paths 2 months ago
  • latin.subword.encoder
    287 kB
    chore: gitignore cluster/, track test vocab fixture about 2 months ago
  • test_contextual_nn.py
    16.5 kB
    refactor: extract shared case study utils and move data to tracked paths 2 months ago
  • test_infilling.py
    5.05 kB
    refactor: extract shared case study utils and move data to tracked paths 2 months ago
  • test_pos_tagging.py
    8.07 kB
    refactor: extract shared case study utils and move data to tracked paths 2 months ago
  • test_tokenizer.py
    7.33 kB
    fix: add do_lower_case=True to tokenizer (v1.1.1) about 2 months ago
  • test_wsd.py
    6.51 kB
    refactor: extract shared case study utils and move data to tracked paths 2 months ago