Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,72 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- de
|
5 |
+
---
|
6 |
+
|
7 |
+
**Technical Report: Development of a Data Quality Classification Model for Educational Content in the German Language**
|
8 |
+
|
9 |
+
**Abstract:**
|
10 |
+
This report details the development and evaluation of a machine learning model designed to classify educational content quality in the German language. Inspired by Huggingface's fine web edu dataset, our objective was to adapt and enhance data classification techniques for assessing educational value across various text types from primary school to university level.
|
11 |
+
|
12 |
+
**1. Introduction:**
|
13 |
+
The proliferation of digital educational resources necessitates robust models capable of evaluating content quality efficiently. This project aims at creating a model that can automatically assess the pedagogical value of German-language texts using advanced language learning models (LLMs).
|
14 |
+
|
15 |
+
**2. Methodology:**
|
16 |
+
|
17 |
+
- **Data Collection:** We utilized over 15,000 entries per model, summing up to 2 million labeled entries through iterative testing.
|
18 |
+
- **Language Models Used:** Seven different LLMs were compared:
|
19 |
+
1. Llama 3 70b instruct
|
20 |
+
2. Discoresearch LLama 3 8b
|
21 |
+
3. Llama 3 8b Sauerkraut
|
22 |
+
4. Mixtral 8x7 Instruct
|
23 |
+
5. GPT 4o
|
24 |
+
6. Command r plus
|
25 |
+
7. Llama 3 70b Sauerkraut
|
26 |
+
|
27 |
+
Each model underwent fifteen iterations with varying prompts based on predefined rating criteria aimed at assessing data quality.
|
28 |
+
|
29 |
+
- **Evaluation Criteria:** The prompt used involved a detailed scoring system from zero to five, focusing on organization, relevance, neutrality, depth of knowledge, and usability across education levels.
|
30 |
+
|
31 |
+
```
|
32 |
+
Nachfolgend findest du einen Auszug aus einer Webseite. Beurteile, ob die Seite einen hohen pädagogischen Wert hat und in einem pädagogischen Umfeld für den Unterricht von der Grundschule bis zur Universität nützlich sein könnte, indem du das unten beschriebene 5-Punkte-Bewertungssystem anwendest.
|
33 |
+
Die Punkte werden auf der Grundlage der Erfüllung der am besten passenden Kriterien gewählt:
|
34 |
+
- 0 Punkte: Der Inhalt ist nicht organisiert und schwer zu lesen. Der Text enthält Werbung oder irrelevante Informationen zum lehren von Inhalten. Der Text ist nicht neutral sondern enthält persöhnliche Sichtweisen. Beispiel: Tweets, Chatnachrichten oder Forenbeiträge.
|
35 |
+
- 1 Punkt: Der Text ist für den privaten Gebrauch bestimmt und enthält Werbung oder irrelevante Informationen. Der Text ist nicht neutral und spiegelt zum Teil persönliche Sichtweisen wider. Beispiel: Ein Blogbeitrag, der hauptsächlich auf persönliche Erfahrungen eingeht und nur gelegentlich nützliche Informationen bietet.
|
36 |
+
- 2 Punkte: Der Text ist neutral geschrieben, aber enthält Werbung oder irrelevante Informationen. Die enthaltenen Informationen können zeitlich vergänglich sein. Beispiel: Ein Artikel oder Nachrichtenbeitrag.
|
37 |
+
- 3 Punkte: Der Text enthält viele Informationen und ist leicht verständlich. Der Text ist neutral geschrieben und enthält keine Werbung oder irrelevante Informationen. Beispiel: Ein Wikipedia-Artikel.
|
38 |
+
- 4 Punkte: Der Text ist neutral geschrieben und enthält keine Werbung oder irrelevante Informationen. Der Text enthält tiefergehendes Wissen und ist für den Unterricht von der Grundschule bis zur Universität nützlich. Beispiel: Ein wissenschaftlicher Artikel oder ein Lehrbuch
|
39 |
+
- 5 Punkte: Der Text beeinhaltet tiefergehendes Wissen, ist dabei aber dennoch leicht verständlich, sodass jeder daraus lernen und sich neue Fähigkeiten aneignen kann. Beispielsweise Schritt für Schritt Anleitungen, Erklärungen oder Definitionen.
|
40 |
+
|
41 |
+
Nachdem du den Auszug geprüft hast:
|
42 |
+
- Wähle eine Punktzahl von 0 bis 5, die am besten beschreibt, wie nützlich der Inhalt für den Unterricht von der Grundschule bis zur Universität ist.
|
43 |
+
- Begründe kurz deine ausgewählte Punktzahl, bis zu 100 Wörter.
|
44 |
+
- Antworte im folgenden Format "<Gesamtpunktzahl> : <Begründung>"
|
45 |
+
```
|
46 |
+
|
47 |
+
**3. Problems Encountered During Evaluation:**
|
48 |
+
Several issues were observed during initial evaluations:
|
49 |
+
- Uniformity in scoring across all texts.
|
50 |
+
- Random-like accuracy in responses.
|
51 |
+
- Bias towards longer text contexts.
|
52 |
+
- Non-adherence to prompt structures leading to irrelevant completions instead of scores.
|
53 |
+
- Overly generous scoring indicating lack of critical assessment by models.
|
54 |
+
|
55 |
+
Amongst all tested models 'Command r plus' showed highest precision especially noted for its critical analysis capabilities and adherence to structured prompts.
|
56 |
+
|
57 |
+
**4.Model Training & Results:**
|
58 |
+
The final model was developed using full DPO finetune technique on VAGOsolutions/SauerkrautLM-1.5b which is based on qwen2 architecture achieving an impressive accuracy rate close approximating that seen with ‘Command r plus’.
|
59 |
+
|
60 |
+
Training specifics included:
|
61 |
+
* Dataset size : 250k unique entries
|
62 |
+
* Epochs : One
|
63 |
+
* Batch Size : 64
|
64 |
+
|
65 |
+
This configuration resulted in significant performance improvements particularly in terms relevant feature recognition and response structuring according prescribed evaluation metrics.
|
66 |
+
|
67 |
+
**5.Future Work & Acknowledgements:**
|
68 |
+
Continued efforts will focus on labeling additional datasets within this domain which will be made publicly available under our organizational repository enhancing accessibility for further research applications within academic settings or other pedagogical assessments tools development initiatives .
|
69 |
+
|
70 |
+
Special thanks are due David and Daryoush from Vago Solutions; Björn and Jan from Ellamind / DiscoResearch whose insights into dataset reviews ,prompt formulations discussions about final trained model configurations were invaluable throughout this project’s lifecycle .
|
71 |
+
|
72 |
+
In conclusion ,this report encapsulates comprehensive overview regarding methodologies employed ,challenges encountered solutions devised towards creation successful application capable effectively classifying educational content quality german language leveraging cutting edge AI technologies .
|