-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from AI4Bharat/multiple_annotators_change
added final changes
- Loading branch information
Showing
8 changed files
with
422 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
# Generated by Django 3.2.14 on 2024-10-29 09:02 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("tasks", "0050_alter_annotation_unique_together"), | ||
("dataset", "0054_auto_20241016_0456"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="conversation", | ||
name="datasetbase_ptr", | ||
), | ||
migrations.RemoveField( | ||
model_name="ocrdocument", | ||
name="datasetbase_ptr", | ||
), | ||
migrations.RemoveField( | ||
model_name="sentencetext", | ||
name="datasetbase_ptr", | ||
), | ||
migrations.RemoveField( | ||
model_name="speechconversation", | ||
name="datasetbase_ptr", | ||
), | ||
migrations.RemoveField( | ||
model_name="translationpair", | ||
name="datasetbase_ptr", | ||
), | ||
migrations.AlterField( | ||
model_name="datasetinstance", | ||
name="dataset_type", | ||
field=models.CharField( | ||
choices=[ | ||
("PromptBase", "PromptBase"), | ||
("PromptAnswer", "PromptAnswer"), | ||
("PromptAnswerEvaluation", "PromptAnswerEvaluation"), | ||
("Interaction", "Interaction"), | ||
("Instruction", "Instruction"), | ||
("MultiModelInteraction", "MultiModelInteraction"), | ||
], | ||
help_text="Dataset Type which is specific for each annotation task", | ||
max_length=100, | ||
verbose_name="dataset_type", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="promptanswer", | ||
name="language", | ||
field=models.CharField( | ||
choices=[ | ||
("English", "English"), | ||
("Assamese", "Assamese"), | ||
("Bengali", "Bengali"), | ||
("Bodo", "Bodo"), | ||
("Dogri", "Dogri"), | ||
("Filipino", "Filipino"), | ||
("Gujarati", "Gujarati"), | ||
("Hindi", "Hindi"), | ||
("Kannada", "Kannada"), | ||
("Kashmiri", "Kashmiri"), | ||
("Konkani", "Konkani"), | ||
("Maithili", "Maithili"), | ||
("Malayalam", "Malayalam"), | ||
("Manipuri", "Manipuri"), | ||
("Marathi", "Marathi"), | ||
("Nepali", "Nepali"), | ||
("Odia", "Odia"), | ||
("Punjabi", "Punjabi"), | ||
("Sanskrit", "Sanskrit"), | ||
("Santali", "Santali"), | ||
("Sindhi", "Sindhi"), | ||
("Sinhala", "Sinhala"), | ||
("Tamil", "Tamil"), | ||
("Telugu", "Telugu"), | ||
("Thai", "Thai"), | ||
("Urdu", "Urdu"), | ||
], | ||
max_length=15, | ||
verbose_name="language", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="promptbase", | ||
name="language", | ||
field=models.CharField( | ||
choices=[ | ||
("English", "English"), | ||
("Assamese", "Assamese"), | ||
("Bengali", "Bengali"), | ||
("Bodo", "Bodo"), | ||
("Dogri", "Dogri"), | ||
("Filipino", "Filipino"), | ||
("Gujarati", "Gujarati"), | ||
("Hindi", "Hindi"), | ||
("Kannada", "Kannada"), | ||
("Kashmiri", "Kashmiri"), | ||
("Konkani", "Konkani"), | ||
("Maithili", "Maithili"), | ||
("Malayalam", "Malayalam"), | ||
("Manipuri", "Manipuri"), | ||
("Marathi", "Marathi"), | ||
("Nepali", "Nepali"), | ||
("Odia", "Odia"), | ||
("Punjabi", "Punjabi"), | ||
("Sanskrit", "Sanskrit"), | ||
("Santali", "Santali"), | ||
("Sindhi", "Sindhi"), | ||
("Sinhala", "Sinhala"), | ||
("Tamil", "Tamil"), | ||
("Telugu", "Telugu"), | ||
("Thai", "Thai"), | ||
("Urdu", "Urdu"), | ||
], | ||
max_length=15, | ||
verbose_name="language", | ||
), | ||
), | ||
migrations.DeleteModel( | ||
name="BlockText", | ||
), | ||
migrations.DeleteModel( | ||
name="Conversation", | ||
), | ||
migrations.DeleteModel( | ||
name="OCRDocument", | ||
), | ||
migrations.DeleteModel( | ||
name="SentenceText", | ||
), | ||
migrations.DeleteModel( | ||
name="SpeechConversation", | ||
), | ||
migrations.DeleteModel( | ||
name="TranslationPair", | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# Generated by Django 3.2.14 on 2024-10-29 09:02 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("projects", "0059_alter_project_project_type"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="project", | ||
name="src_language", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[ | ||
("English", "English"), | ||
("Assamese", "Assamese"), | ||
("Bengali", "Bengali"), | ||
("Bodo", "Bodo"), | ||
("Dogri", "Dogri"), | ||
("Filipino", "Filipino"), | ||
("Gujarati", "Gujarati"), | ||
("Hindi", "Hindi"), | ||
("Kannada", "Kannada"), | ||
("Kashmiri", "Kashmiri"), | ||
("Konkani", "Konkani"), | ||
("Maithili", "Maithili"), | ||
("Malayalam", "Malayalam"), | ||
("Manipuri", "Manipuri"), | ||
("Marathi", "Marathi"), | ||
("Nepali", "Nepali"), | ||
("Odia", "Odia"), | ||
("Punjabi", "Punjabi"), | ||
("Sanskrit", "Sanskrit"), | ||
("Santali", "Santali"), | ||
("Sindhi", "Sindhi"), | ||
("Sinhala", "Sinhala"), | ||
("Tamil", "Tamil"), | ||
("Telugu", "Telugu"), | ||
("Thai", "Thai"), | ||
("Urdu", "Urdu"), | ||
], | ||
help_text="Source language of the project", | ||
max_length=50, | ||
null=True, | ||
verbose_name="Source Language", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="project", | ||
name="tgt_language", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[ | ||
("English", "English"), | ||
("Assamese", "Assamese"), | ||
("Bengali", "Bengali"), | ||
("Bodo", "Bodo"), | ||
("Dogri", "Dogri"), | ||
("Filipino", "Filipino"), | ||
("Gujarati", "Gujarati"), | ||
("Hindi", "Hindi"), | ||
("Kannada", "Kannada"), | ||
("Kashmiri", "Kashmiri"), | ||
("Konkani", "Konkani"), | ||
("Maithili", "Maithili"), | ||
("Malayalam", "Malayalam"), | ||
("Manipuri", "Manipuri"), | ||
("Marathi", "Marathi"), | ||
("Nepali", "Nepali"), | ||
("Odia", "Odia"), | ||
("Punjabi", "Punjabi"), | ||
("Sanskrit", "Sanskrit"), | ||
("Santali", "Santali"), | ||
("Sindhi", "Sindhi"), | ||
("Sinhala", "Sinhala"), | ||
("Tamil", "Tamil"), | ||
("Telugu", "Telugu"), | ||
("Thai", "Thai"), | ||
("Urdu", "Urdu"), | ||
], | ||
help_text="Target language of the project", | ||
max_length=50, | ||
null=True, | ||
verbose_name="Target Language", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.