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

  • Log In
  • Sign Up

Ericu950
/
CharDiff-grc-meter

Token Classification
Transformers
Safetensors
Ancient Greek (to 1453)
char_bert_meter
ancient-greek
classical-philology
character-level
macronization
metrical-scansion
custom_code
Model card Files Files and versions
xet
Community

Instructions to use Ericu950/CharDiff-grc-meter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Ericu950/CharDiff-grc-meter with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("token-classification", model="Ericu950/CharDiff-grc-meter", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Ericu950/CharDiff-grc-meter", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
CharDiff-grc-meter
1.62 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
Ericu950's picture
Ericu950
decode_scansion: merge vowel-less predicted syllables into the preceding one, and force circumflexed syllables to heavy (two deterministic corrections, ported from meter/predict.py)
7699766 verified 2 days ago
  • .gitattributes
    1.52 kB
    initial commit 5 days ago
  • README.md
    3.03 kB
    Update README.md 5 days ago
  • config.json
    486 Bytes
    Upload config.json with huggingface_hub 5 days ago
  • configuration_char_bert_meter.py
    1.61 kB
    Upload configuration_char_bert_meter.py with huggingface_hub 5 days ago
  • model.safetensors
    1.62 GB
    xet
    Upload model.safetensors with huggingface_hub 5 days ago
  • modeling_char_bert_meter.py
    9.66 kB
    Upload modeling_char_bert_meter.py with huggingface_hub 5 days ago
  • processing_char_bert_meter.py
    12 kB
    decode_scansion: merge vowel-less predicted syllables into the preceding one, and force circumflexed syllables to heavy (two deterministic corrections, ported from meter/predict.py) 2 days ago
  • training_metadata.json
    2.49 kB
    Upload training_metadata.json with huggingface_hub 5 days ago