Downloads · 30 days
19
3% of all-time downloads
gngpostalsrvc/COHeN
COHeN is a text classification model from gngpostalsrvc. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
This model is a fine-tuned version of BERiT on the COHeN dataset. It achieves the following results on the evaluation set: - Loss: 0.4418 - Accuracy: 0.8622
Downloads · 30 days
19
3% of all-time downloads
All-time downloads
689
Public
Repo size
125 MB
Likes
1
Public
Click a slice to open those files.
.bin5.7 MB · 98%
From the Hugging Face model README
This model is a fine-tuned version of BERiT on the COHeN dataset. It achieves the following results on the evaluation set:
COHeN (Classification of Old Hebrew via Neural Net) is a text classification model for Biblical Hebrew that assigns Hebrew texts to one of four chronological phases: Archaic Biblical Hebrew (ABH), Classical Biblical Hebrew (CBH), Transitional Biblical Hebrew (TBH), or Late Biblical Hebrew (LBH). It allows scholars to check their intuition regarding the dating of particular verses.
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model_name = 'gngpostalsrvc/COHeN'
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(model_name)
COHeN was trained on the COHeN dataset for 20 epochs using a Tesla T4 GPU. Further training did not yield significant improvements in performance.
The following hyperparameters were used during training: