Text Classification
Transformers
Safetensors
English
Latin
Greek
distilbert
text-embeddings-inference
Instructions to use sjhuskey/distilbert_multilingual_cased_greek_latin_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sjhuskey/distilbert_multilingual_cased_greek_latin_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="sjhuskey/distilbert_multilingual_cased_greek_latin_classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("sjhuskey/distilbert_multilingual_cased_greek_latin_classifier") model = AutoModelForSequenceClassification.from_pretrained("sjhuskey/distilbert_multilingual_cased_greek_latin_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,961 Bytes
b509ea9 42defca 31bc25c 3171508 aa57e7c e597ae8 aa57e7c e597ae8 aa57e7c e597ae8 aa57e7c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | ---
license: apache-2.0
language:
- en
- la
- el
metrics:
- f1
- accuracy
base_model:
- distilbert/distilbert-base-multilingual-cased
pipeline_tag: text-classification
datasets:
- sjhuskey/greek_latin_authors
library_name: transformers
---
# Greek and Latin Author Classifier
This model distinguishes the names of authors who primarily wrote in Ancient Greek from the names of authors who wrote primarily in Latin.
The specific purpose for this model is to assist in processing bibliographic metadata about editions of Latin texts.
Most critical editions of ancient Greek texts bear a Latin version of the title of the original work and the author's name. For example, Hesiod's _Theogony_ is _Hesiodi Theogonia_ instead of _Ἡσιόδου Θεογονία_. Consequently, these works are often cataloged under the subject "Latin" by catalogers doing their best with languages they do not understand.
Consequently, metadata records tagged with the subject "Latin" from collections such as the [HathiTrust Digital Library](https://www.hathitrust.org/) inevitably include Greek works.
Since the Digital Latin Library is interested only in records of Latin works, we need a good way of winnowing out the Greek editions. This model does a good job of that.
## Emissions
Here is the `codecarbon` output from training on Google Colab with an A100 runtime:
```properties
timestamp: 2025-06-12T17:07:28
project_name: codecarbon
run_id: e9ec6b22-3102-4fb8-80bb-cf1a15740b8b
duration: 1348.9958429336548
emissions: 0.0091357690759099
emissions_rate: 6.772273705486325e-06
cpu_power: 42.5
gpu_power: 0.0
ram_power: 9.000000000000002
cpu_energy: 0.0159251248127884
gpu_energy: 0
ram_energy: 0.0033721966546773
energy_consumed: 0.0192973214674658
country_name: United States
country_iso_code: USA
os: macOS-15.5-arm64-arm-64bit
python_version: 3.10.9
codecarbon_version: 2.2.2
cpu_count: 12
cpu_model: Apple M4 Pro
ram_total_size: 24.0
tracking_mode: machine
```
|