lbourdois commited on
Commit
f6b40c1
·
verified ·
1 Parent(s): 09fe4b6

Improve language tag

Browse files

Hi! As the model is multilingual, this is a PR to add other languages than English to the language tag to improve the referencing. Note that 29 languages are announced in the README, but only 13 are explicitly listed. I was therefore only able to add these 13 languages.

Files changed (1) hide show
  1. README.md +134 -122
README.md CHANGED
@@ -1,123 +1,135 @@
1
- ---
2
- license: apache-2.0
3
- language:
4
- - en
5
- base_model:
6
- - Qwen/Qwen2.5-1.5B-Instruct
7
- tags:
8
- - text-generation
9
- - multiple-choice
10
- - question-generation
11
- - educational-tool
12
- - qwen2.5
13
- - instruction-following
14
- - xml-output
15
- - nlp
16
- - llama-factory
17
- - lora
18
- - rslora
19
- - liger
20
- - sociology
21
- datasets:
22
- - agentlans/finewebedu-multiple-choice
23
- ---
24
- # Qwen2.5-1.5B-Instruct-Multiple-Choice-Maker
25
-
26
- ## Overview
27
-
28
- This model is fine-tuned to generate multiple-choice questions in XML format based on input text. It is designed for educational purposes, such as creating assessment materials, and for generating machine learning benchmark questions.
29
-
30
- Quantized models of the *previous version* are available [here](https://huggingface.co/mradermacher/Qwen2.5-1.5B-Instruct-Multiple-Choice-Maker-GGUF).
31
- Special thanks to [mradermacher](https://huggingface.co/mradermacher) for quantizing.
32
-
33
- ### Training Details
34
- - **Data Source**:
35
- - The training dataset was generated from open-source sociology textbooks using a custom prompt powered by the [agentlans/Llama3.1-LexiHermes-SuperStorm](https://huggingface.co/agentlans/Llama3.1-LexiHermes-SuperStorm) model. The dataset contains 3739 rows. Due to licensing restrictions, the dataset is not provided here.
36
- - Additional finetuning on [agentlans/finewebedu-multiple-choice](https://huggingface.co/datasets/agentlans/finewebedu-multiple-choice) dataset.
37
- - **Training Method**:
38
- - Fine-tuning was conducted using [LLaMA-Factory](https://github.com/hiyouga/LLaMA-Factory) with rank 16 LoRA, alpha = 32, and rslora, leveraging the Liger kernel.
39
- - The additional finetuning was done with the same settings but with 0.2 LoRA dropout.
40
-
41
- ### Potential Applications
42
- - **Education**: Automate the creation of multiple-choice questions for exams or quizzes.
43
- - **Machine Learning**: Generate benchmark datasets for evaluating natural language processing models.
44
-
45
- ### Limitations
46
- - Outputs may require manual review to ensure:
47
- - Questions and answers are contextually accurate and appropriate for assessment.
48
- - Only one correct answer is provided.
49
- - XML format is verbose but ensures stricter validation compared to JSON.
50
- - Requires further processing to make it suitable for human or machine assessments.
51
-
52
- ## Usage Instructions
53
-
54
- Format the text using this template:
55
- ```text
56
- Multiple choice:
57
- {{YOUR_TEXT_HERE}}
58
- ```
59
-
60
- The output will be given in XML format like:
61
- ```xml
62
- <quiz>
63
- <multiple-choice>
64
- <question>What is the answer to this question?</question>
65
- <choice id="a">Choice A</choice>
66
- <choice id="b">Choice B</choice>
67
- <choice id="c">Choice C</choice>
68
- <choice id="d">Choice D</choice>
69
- <answer value="a"/>
70
- </multiple-choice>
71
- ... more <multiple-choice></multiple-choice> tags
72
- </quiz>
73
- ```
74
-
75
- <details>
76
- <summary>Click here for an example</summary>
77
-
78
- Input:
79
-
80
- `Multiple choice:`
81
-
82
- `
83
- The concept of cultural relativism has long been a cornerstone of anthropological theory, emphasizing the importance of understanding cultural practices and beliefs within their own context rather than judging them by external standards. This perspective challenges ethnocentrism, the tendency to view one's own culture as superior or normative, and instead promotes an appreciation for the diversity of human experiences and expressions. Cultural relativism posits that values, norms, and traditions are not universal but are shaped by historical, social, and environmental factors unique to each society. For example, practices such as dietary restrictions, marriage customs, or religious rituals may seem peculiar or even incomprehensible to outsiders but hold profound significance within the communities that uphold them. While cultural relativism fosters empathy and cross-cultural understanding, it also raises complex ethical questions, particularly when certain practices conflict with universal human rights standards. For instance, debates surrounding issues like female genital mutilation or child marriage often highlight the tension between respecting cultural traditions and advocating for individual freedoms and well-being. Scholars have sought to reconcile these challenges by advocating for a balanced approach that acknowledges cultural specificity while promoting dialogue about shared values and ethical principles. Ultimately, cultural relativism serves as a critical tool for navigating the complexities of globalization and multiculturalism in an increasingly interconnected world, encouraging both academic inquiry and practical engagement with diverse societies.
84
- `
85
-
86
- Output:
87
- ```xml
88
- <quiz>
89
- <multiple-choice>
90
- <question>What is the main argument of cultural relativism?</question>
91
- <choice id="a">That cultural practices and beliefs are universal and should be judged by external standards.</choice>
92
- <choice id="b">That values, norms, and traditions are shaped by historical, social, and environmental factors unique to each society.</choice>
93
- <choice id="c">That one's own culture is superior or normative and should be viewed as such.</choice>
94
- <choice id="d">That cultural diversity is a threat to human rights and should be suppressed.</choice>
95
- <answer value="b"/>
96
- </multiple-choice>
97
- <multiple-choice>
98
- <question>What is a potential challenge when cultural relativism is applied to issues like female genital mutilation or child marriage?</question>
99
- <choice id="a">It can lead to a lack of empathy and understanding between cultures.</choice>
100
- <choice id="b">It can promote a balanced approach that acknowledges cultural specificity while promoting dialogue about shared values and ethical principles.</choice>
101
- <choice id="c">It can result in the suppression of cultural traditions and the violation of individual freedoms.</choice>
102
- <choice id="d">It can lead to a loss of cultural diversity and the erosion of human rights.</choice>
103
- <answer value="c"/>
104
- </multiple-choice>
105
- <multiple-choice>
106
- <question>What is one way cultural relativism can be applied to address the tension between cultural traditions and universal human rights?</question>
107
- <choice id="a">By suppressing cultural traditions and promoting the suppression of individual freedoms.</choice>
108
- <choice id="b">By advocating for a balanced approach that acknowledges cultural specificity while promoting dialogue about shared values and ethical principles.</choice>
109
- <choice id="c">By ignoring the issue and focusing on other aspects of cultural diversity.</choice>
110
- <choice id="d">By promoting the suppression of cultural traditions and the promotion of individual freedoms.</choice>
111
- <answer value="b"/>
112
- </multiple-choice>
113
- <multiple-choice>
114
- <question>What is a benefit of cultural relativism in navigating the complexities of globalization and multiculturalism?</question>
115
- <choice id="a">It can lead to a loss of cultural diversity and the erosion of human rights.</choice>
116
- <choice id="b">It can promote empathy and cross-cultural understanding.</choice>
117
- <choice id="c">It can result in the suppression of cultural traditions and the violation of individual freedoms.</choice>
118
- <choice id="d">It can lead to a lack of empathy and understanding between cultures.</choice>
119
- <answer value="b"/>
120
- </multiple-choice>
121
- </quiz>
122
- ```
 
 
 
 
 
 
 
 
 
 
 
 
123
  </details>
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - zho
5
+ - eng
6
+ - fra
7
+ - spa
8
+ - por
9
+ - deu
10
+ - ita
11
+ - rus
12
+ - jpn
13
+ - kor
14
+ - vie
15
+ - tha
16
+ - ara
17
+ base_model:
18
+ - Qwen/Qwen2.5-1.5B-Instruct
19
+ tags:
20
+ - text-generation
21
+ - multiple-choice
22
+ - question-generation
23
+ - educational-tool
24
+ - qwen2.5
25
+ - instruction-following
26
+ - xml-output
27
+ - nlp
28
+ - llama-factory
29
+ - lora
30
+ - rslora
31
+ - liger
32
+ - sociology
33
+ datasets:
34
+ - agentlans/finewebedu-multiple-choice
35
+ ---
36
+ # Qwen2.5-1.5B-Instruct-Multiple-Choice-Maker
37
+
38
+ ## Overview
39
+
40
+ This model is fine-tuned to generate multiple-choice questions in XML format based on input text. It is designed for educational purposes, such as creating assessment materials, and for generating machine learning benchmark questions.
41
+
42
+ Quantized models of the *previous version* are available [here](https://huggingface.co/mradermacher/Qwen2.5-1.5B-Instruct-Multiple-Choice-Maker-GGUF).
43
+ Special thanks to [mradermacher](https://huggingface.co/mradermacher) for quantizing.
44
+
45
+ ### Training Details
46
+ - **Data Source**:
47
+ - The training dataset was generated from open-source sociology textbooks using a custom prompt powered by the [agentlans/Llama3.1-LexiHermes-SuperStorm](https://huggingface.co/agentlans/Llama3.1-LexiHermes-SuperStorm) model. The dataset contains 3739 rows. Due to licensing restrictions, the dataset is not provided here.
48
+ - Additional finetuning on [agentlans/finewebedu-multiple-choice](https://huggingface.co/datasets/agentlans/finewebedu-multiple-choice) dataset.
49
+ - **Training Method**:
50
+ - Fine-tuning was conducted using [LLaMA-Factory](https://github.com/hiyouga/LLaMA-Factory) with rank 16 LoRA, alpha = 32, and rslora, leveraging the Liger kernel.
51
+ - The additional finetuning was done with the same settings but with 0.2 LoRA dropout.
52
+
53
+ ### Potential Applications
54
+ - **Education**: Automate the creation of multiple-choice questions for exams or quizzes.
55
+ - **Machine Learning**: Generate benchmark datasets for evaluating natural language processing models.
56
+
57
+ ### Limitations
58
+ - Outputs may require manual review to ensure:
59
+ - Questions and answers are contextually accurate and appropriate for assessment.
60
+ - Only one correct answer is provided.
61
+ - XML format is verbose but ensures stricter validation compared to JSON.
62
+ - Requires further processing to make it suitable for human or machine assessments.
63
+
64
+ ## Usage Instructions
65
+
66
+ Format the text using this template:
67
+ ```text
68
+ Multiple choice:
69
+ {{YOUR_TEXT_HERE}}
70
+ ```
71
+
72
+ The output will be given in XML format like:
73
+ ```xml
74
+ <quiz>
75
+ <multiple-choice>
76
+ <question>What is the answer to this question?</question>
77
+ <choice id="a">Choice A</choice>
78
+ <choice id="b">Choice B</choice>
79
+ <choice id="c">Choice C</choice>
80
+ <choice id="d">Choice D</choice>
81
+ <answer value="a"/>
82
+ </multiple-choice>
83
+ ... more <multiple-choice></multiple-choice> tags
84
+ </quiz>
85
+ ```
86
+
87
+ <details>
88
+ <summary>Click here for an example</summary>
89
+
90
+ Input:
91
+
92
+ `Multiple choice:`
93
+
94
+ `
95
+ The concept of cultural relativism has long been a cornerstone of anthropological theory, emphasizing the importance of understanding cultural practices and beliefs within their own context rather than judging them by external standards. This perspective challenges ethnocentrism, the tendency to view one's own culture as superior or normative, and instead promotes an appreciation for the diversity of human experiences and expressions. Cultural relativism posits that values, norms, and traditions are not universal but are shaped by historical, social, and environmental factors unique to each society. For example, practices such as dietary restrictions, marriage customs, or religious rituals may seem peculiar or even incomprehensible to outsiders but hold profound significance within the communities that uphold them. While cultural relativism fosters empathy and cross-cultural understanding, it also raises complex ethical questions, particularly when certain practices conflict with universal human rights standards. For instance, debates surrounding issues like female genital mutilation or child marriage often highlight the tension between respecting cultural traditions and advocating for individual freedoms and well-being. Scholars have sought to reconcile these challenges by advocating for a balanced approach that acknowledges cultural specificity while promoting dialogue about shared values and ethical principles. Ultimately, cultural relativism serves as a critical tool for navigating the complexities of globalization and multiculturalism in an increasingly interconnected world, encouraging both academic inquiry and practical engagement with diverse societies.
96
+ `
97
+
98
+ Output:
99
+ ```xml
100
+ <quiz>
101
+ <multiple-choice>
102
+ <question>What is the main argument of cultural relativism?</question>
103
+ <choice id="a">That cultural practices and beliefs are universal and should be judged by external standards.</choice>
104
+ <choice id="b">That values, norms, and traditions are shaped by historical, social, and environmental factors unique to each society.</choice>
105
+ <choice id="c">That one's own culture is superior or normative and should be viewed as such.</choice>
106
+ <choice id="d">That cultural diversity is a threat to human rights and should be suppressed.</choice>
107
+ <answer value="b"/>
108
+ </multiple-choice>
109
+ <multiple-choice>
110
+ <question>What is a potential challenge when cultural relativism is applied to issues like female genital mutilation or child marriage?</question>
111
+ <choice id="a">It can lead to a lack of empathy and understanding between cultures.</choice>
112
+ <choice id="b">It can promote a balanced approach that acknowledges cultural specificity while promoting dialogue about shared values and ethical principles.</choice>
113
+ <choice id="c">It can result in the suppression of cultural traditions and the violation of individual freedoms.</choice>
114
+ <choice id="d">It can lead to a loss of cultural diversity and the erosion of human rights.</choice>
115
+ <answer value="c"/>
116
+ </multiple-choice>
117
+ <multiple-choice>
118
+ <question>What is one way cultural relativism can be applied to address the tension between cultural traditions and universal human rights?</question>
119
+ <choice id="a">By suppressing cultural traditions and promoting the suppression of individual freedoms.</choice>
120
+ <choice id="b">By advocating for a balanced approach that acknowledges cultural specificity while promoting dialogue about shared values and ethical principles.</choice>
121
+ <choice id="c">By ignoring the issue and focusing on other aspects of cultural diversity.</choice>
122
+ <choice id="d">By promoting the suppression of cultural traditions and the promotion of individual freedoms.</choice>
123
+ <answer value="b"/>
124
+ </multiple-choice>
125
+ <multiple-choice>
126
+ <question>What is a benefit of cultural relativism in navigating the complexities of globalization and multiculturalism?</question>
127
+ <choice id="a">It can lead to a loss of cultural diversity and the erosion of human rights.</choice>
128
+ <choice id="b">It can promote empathy and cross-cultural understanding.</choice>
129
+ <choice id="c">It can result in the suppression of cultural traditions and the violation of individual freedoms.</choice>
130
+ <choice id="d">It can lead to a lack of empathy and understanding between cultures.</choice>
131
+ <answer value="b"/>
132
+ </multiple-choice>
133
+ </quiz>
134
+ ```
135
  </details>