khulnasoft commited on
Commit
67c68b5
1 Parent(s): 395e92a

Update get_token_ids.py

Browse files
Files changed (1) hide show
  1. get_token_ids.py +3 -1
get_token_ids.py CHANGED
@@ -89,4 +89,6 @@ def get_token_ids_for_task_parsing(model_name):
89
  Returns:
90
  - list: A list of unique token IDs for task parsing.
91
  """
92
- text = '''{"task": "text-classification", "token-classification", "text2text-generation", "summarization", "translation", "question-answering", "conversational", "text-generation", "sentence-similarity", "tabular-classification", "object-detection", "image-classification", "image-to-image", "image-to-text", "text-to-image", "visual-question-answering", "document-question-answering", "image-segmentation", "text-to-speech", "text-to-video", "automatic-speech-recognition", "audio-to-audio", "audio-classification", "canny-control", "hed-control", "mlsd-control", "normal-control", "openpose-control", "canny-text-to-image", "depth-text-to-image", "hed-text-to-image", "mlsd-text-to-image", "normal-text-to-image", "openpose-text
 
 
 
89
  Returns:
90
  - list: A list of unique token IDs for task parsing.
91
  """
92
+ text = '''{"task": "text-classification", "token-classification", "text2text-generation", "summarization", "translation", "question-answering", "conversational", "text-generation", "sentence-similarity", "tabular-classification", "object-detection", "image-classification", "image-to-image", "image-to-text", "text-to-image", "visual-question-answering", "document-question-answering", "image-segmentation", "text-to-speech", "text-to-video", "automatic-speech-recognition", "audio-to-audio", "audio-classification", "canny-control", "hed-control", "mlsd-control", "normal-control", "openpose-control", "canny-text-to-image", "depth-text-to-image", "hed-text-to-image", "mlsd-text-to-image", "normal-text-to-image", "openpose-text-to-image"}'''
93
+
94
+ # Continue with your function logic here...