Downloads · 30 days
10
18% of all-time downloads
LordCoffee/bert-base-cased-cefr
bert-base-cased-cefr is a token classification model from LordCoffee. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as apache-2.0.
This repository contains a model trained to predict Common European Framework of Reference (CEFR) levels for a given text using a BERT-based model architecture. The model was fine-tuned on the CEFR dataset, and the be…
Downloads · 30 days
10
18% of all-time downloads
All-time downloads
55
Public
Repo size
867 MB
Likes
0
Public
Click a slice to open those files.
.bin433 MB · 100%
From the Hugging Face model README
This repository contains a model trained to predict Common European Framework of Reference (CEFR) levels for a given text using a BERT-based model architecture. The model was fine-tuned on the CEFR dataset, and the bert-base-... pre-trained model was used as the base.
bert-base-...)The model's performance during training is summarized below:
| Epoch | Training Loss | Validation Loss |
|---|---|---|
| 1 | 0.412300 | 0.396337 |
| 2 | 0.369600 | 0.388866 |
| 3 | 0.298200 | 0.419018 |
| 4 | 0.214500 | 0.481886 |
| 5 | 0.148300 | 0.557343 |
--Additional metrics:
--Training Loss: 0.2900624789151278 --Training Runtime: 5168.3962 seconds --Training Samples per Second: 10.642 --Total Floating Point Operations: 1.447162776576e+16
pip install transformers.from transformers import pipeline
model_name = "AbdulSami/bert-base-cased-cefr"
classifier = pipeline("text-classification", model=model_name)
text = "This is a sample text for CEFR classification."
predictions = classifier(text)
print(predictions)