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

  • Log In
  • Sign Up

ytu-ce-cosmos
/
modernbert-tr-base-1k

Fill-Mask
Transformers
Safetensors
Turkish
modernbert
turkish
encoder
masked-language-modeling
nlp
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use ytu-ce-cosmos/modernbert-tr-base-1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ytu-ce-cosmos/modernbert-tr-base-1k with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="ytu-ce-cosmos/modernbert-tr-base-1k")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("ytu-ce-cosmos/modernbert-tr-base-1k")
    model = AutoModelForMaskedLM.from_pretrained("ytu-ce-cosmos/modernbert-tr-base-1k")
  • Notebooks
  • Google Colab
  • Kaggle
modernbert-tr-base-1k
600 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
mrbesher's picture
mrbesher
Update README.md
7f6f091 verified about 2 months ago
  • .gitattributes
    1.58 kB
    Upload modernbert-banner.jpg about 2 months ago
  • README.md
    3.88 kB
    Update README.md about 2 months ago
  • config.json
    1.09 kB
    Add [RESERVED_0-7] tokens at ids 50000-50007; keep tokenizer_class=PreTrainedTokenizerFast 3 months ago
  • model.safetensors
    598 MB
    xet
    Upload 6 files 3 months ago
  • modernbert-banner.jpg
    500 kB
    xet
    Upload modernbert-banner.jpg about 2 months ago
  • special_tokens_map.json
    719 Bytes
    Fix EOS mapping to id 50000 and add [RESERVED_0-6] at 50001-50007; keep tokenizer_class=PreTrainedTokenizerFast 3 months ago
  • tokenizer.json
    1.21 MB
    Fix EOS mapping to id 50000 and add [RESERVED_0-6] at 50001-50007; keep tokenizer_class=PreTrainedTokenizerFast 3 months ago
  • tokenizer_config.json
    1.34 kB
    Fix EOS mapping to id 50000 and add [RESERVED_0-6] at 50001-50007; keep tokenizer_class=PreTrainedTokenizerFast 3 months ago
  • vocab.txt
    415 kB
    Fix EOS mapping to id 50000 and add [RESERVED_0-6] at 50001-50007; keep tokenizer_class=PreTrainedTokenizerFast 3 months ago