edsl 0.1.33__py3-none-any.whl → 0.1.33.dev2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- edsl/Base.py +3 -9
- edsl/__init__.py +0 -1
- edsl/__version__.py +1 -1
- edsl/agents/Agent.py +6 -6
- edsl/agents/Invigilator.py +3 -6
- edsl/agents/InvigilatorBase.py +27 -8
- edsl/agents/{PromptConstructor.py → PromptConstructionMixin.py} +29 -101
- edsl/config.py +34 -26
- edsl/coop/coop.py +2 -11
- edsl/data_transfer_models.py +73 -26
- edsl/enums.py +0 -2
- edsl/inference_services/GoogleService.py +1 -1
- edsl/inference_services/InferenceServiceABC.py +13 -44
- edsl/inference_services/OpenAIService.py +4 -7
- edsl/inference_services/TestService.py +15 -24
- edsl/inference_services/registry.py +0 -2
- edsl/jobs/Jobs.py +8 -18
- edsl/jobs/buckets/BucketCollection.py +15 -24
- edsl/jobs/buckets/TokenBucket.py +10 -64
- edsl/jobs/interviews/Interview.py +47 -115
- edsl/jobs/interviews/InterviewExceptionEntry.py +0 -2
- edsl/jobs/interviews/{InterviewExceptionCollection.py → interview_exception_tracking.py} +0 -16
- edsl/jobs/interviews/retry_management.py +39 -0
- edsl/jobs/runners/JobsRunnerAsyncio.py +170 -95
- edsl/jobs/runners/JobsRunnerStatusMixin.py +333 -0
- edsl/jobs/tasks/TaskHistory.py +0 -17
- edsl/language_models/LanguageModel.py +31 -26
- edsl/language_models/registry.py +9 -13
- edsl/questions/QuestionBase.py +14 -63
- edsl/questions/QuestionBudget.py +41 -93
- edsl/questions/QuestionFreeText.py +0 -6
- edsl/questions/QuestionMultipleChoice.py +23 -8
- edsl/questions/QuestionNumerical.py +4 -5
- edsl/questions/ResponseValidatorABC.py +5 -6
- edsl/questions/derived/QuestionLinearScale.py +1 -4
- edsl/questions/derived/QuestionTopK.py +1 -4
- edsl/questions/derived/QuestionYesNo.py +2 -8
- edsl/results/DatasetExportMixin.py +1 -5
- edsl/results/Result.py +1 -1
- edsl/results/Results.py +1 -4
- edsl/scenarios/FileStore.py +10 -71
- edsl/scenarios/Scenario.py +21 -86
- edsl/scenarios/ScenarioImageMixin.py +2 -2
- edsl/scenarios/ScenarioList.py +0 -13
- edsl/scenarios/ScenarioListPdfMixin.py +4 -150
- edsl/study/Study.py +0 -32
- edsl/surveys/Rule.py +1 -10
- edsl/surveys/RuleCollection.py +3 -19
- edsl/surveys/Survey.py +0 -7
- edsl/templates/error_reporting/interview_details.html +1 -6
- edsl/utilities/utilities.py +1 -9
- {edsl-0.1.33.dist-info → edsl-0.1.33.dev2.dist-info}/METADATA +1 -2
- {edsl-0.1.33.dist-info → edsl-0.1.33.dev2.dist-info}/RECORD +55 -61
- edsl/inference_services/TogetherAIService.py +0 -170
- edsl/jobs/runners/JobsRunnerStatus.py +0 -331
- edsl/questions/Quick.py +0 -41
- edsl/questions/templates/budget/__init__.py +0 -0
- edsl/questions/templates/budget/answering_instructions.jinja +0 -7
- edsl/questions/templates/budget/question_presentation.jinja +0 -7
- edsl/questions/templates/extract/__init__.py +0 -0
- edsl/questions/templates/rank/__init__.py +0 -0
- {edsl-0.1.33.dist-info → edsl-0.1.33.dev2.dist-info}/LICENSE +0 -0
- {edsl-0.1.33.dist-info → edsl-0.1.33.dev2.dist-info}/WHEEL +0 -0
@@ -1,13 +1,13 @@
|
|
1
|
-
edsl/Base.py,sha256=
|
1
|
+
edsl/Base.py,sha256=ttNxUotSd9LSEJl2w6LdMtT78d0nMQvYDJ0q4JkqBfg,8945
|
2
2
|
edsl/BaseDiff.py,sha256=RoVEh52UJs22yMa7k7jv8se01G62jJNWnBzaZngo-Ug,8260
|
3
3
|
edsl/TemplateLoader.py,sha256=sDBlSMt7EfOduM7w3h6v03gvh_Rzn9hVrlS-iLSQdZA,849
|
4
|
-
edsl/__init__.py,sha256=
|
5
|
-
edsl/__version__.py,sha256=
|
6
|
-
edsl/agents/Agent.py,sha256=
|
4
|
+
edsl/__init__.py,sha256=ekExbypJgORR-Dy05mby7GWunhjAwe7HzYsXdeslep4,1730
|
5
|
+
edsl/__version__.py,sha256=X6lFB08-Y7atQgG3fk8iymIvdiZo3YA8OnNvAv2d2Zc,28
|
6
|
+
edsl/agents/Agent.py,sha256=lDbG1QSdHPwXdnC4dGWeDbKXauGl_b6rAhEVUrNnrrE,28477
|
7
7
|
edsl/agents/AgentList.py,sha256=qo8VK3Ov0YOSbsBcHmlwLZBH81CcDfy5IEcx9AVH78M,10963
|
8
|
-
edsl/agents/Invigilator.py,sha256=
|
9
|
-
edsl/agents/InvigilatorBase.py,sha256
|
10
|
-
edsl/agents/
|
8
|
+
edsl/agents/Invigilator.py,sha256=gJC33jMYcqwt_DV47ZQ1QQUjV-szPuf-qeG4Z3Wfeyk,8079
|
9
|
+
edsl/agents/InvigilatorBase.py,sha256=-Z9tKMpV9-jGtVljdOXnr0SzYAi0DBbCaNj8GL3_L0M,11278
|
10
|
+
edsl/agents/PromptConstructionMixin.py,sha256=8vDiguHox16z1WsUbbUYY2Bm3hLNvNwt-ErAlnHRALE,15815
|
11
11
|
edsl/agents/__init__.py,sha256=B1dWfV4QWOo8cc2KeuetdFGeNhZ8XHc0Q8YhQW9k7BE,136
|
12
12
|
edsl/agents/descriptors.py,sha256=m8ND3-2-JbgNX1HGakBNLIeemwsgYa1mQxYO9GW33hw,2934
|
13
13
|
edsl/auto/AutoStudy.py,sha256=yNnhfJPO6oxbgVaYbRftJa8DluKhajfgLCh9o9E3YmU,3843
|
@@ -22,7 +22,7 @@ edsl/auto/StageQuestions.py,sha256=TyUSnfeFEbuQKG_KZT9rk43flRt0ZyzQDqYzBa_858c,2
|
|
22
22
|
edsl/auto/SurveyCreatorPipeline.py,sha256=s5S_RPFM3Ia8Dzdv52_576BxfsFq9GwXEVWxJId5Fuo,658
|
23
23
|
edsl/auto/utilities.py,sha256=DDngZCGlzjWeJUvPHhMEZ5ZoVm4KgGYtgyRA1mfUfmA,7606
|
24
24
|
edsl/base/Base.py,sha256=DShsfI6A2ojg42muPFpVtUgTX33pnqT5vtN0SRlr-9Q,8866
|
25
|
-
edsl/config.py,sha256=
|
25
|
+
edsl/config.py,sha256=Z8dDfmPqmnhlvdxa7UI0Uo2X8WyoXdkThChZ4922oH4,6123
|
26
26
|
edsl/conjure/AgentConstructionMixin.py,sha256=qLLYJH02HotVwBUYzaHs4QW0t5nsC3NX15qxQLzEwLI,5702
|
27
27
|
edsl/conjure/Conjure.py,sha256=JaCuAm3rmqjh11_X8PXgvPsVHGql3yTn9JEzVlzOUVU,2019
|
28
28
|
edsl/conjure/InputData.py,sha256=RdFgkzzayddSTd6vcwBB8LC796YBj94pciwrQx9nBtg,22003
|
@@ -45,7 +45,7 @@ edsl/conversation/mug_negotiation.py,sha256=mjvAqErD4AjN3G2za2c-X-3axOShW-zAJUei
|
|
45
45
|
edsl/conversation/next_speaker_utilities.py,sha256=bqr5JglCd6bdLc9IZ5zGOAsmN2F4ERiubSMYvZIG7qk,3629
|
46
46
|
edsl/coop/PriceFetcher.py,sha256=7q8r1FqE9ap1CMi6WiE_pZQhYxEqG9_tgPgGxLQYVX8,1894
|
47
47
|
edsl/coop/__init__.py,sha256=4iZCwJSzJVyjBYk8ggGxY2kZjq9dXVT1jhyPDNyew4I,115
|
48
|
-
edsl/coop/coop.py,sha256=
|
48
|
+
edsl/coop/coop.py,sha256=FGfGMs8jW9l6b-vVzbqucT2QyOs1erePRDxEDQfeHFU,28117
|
49
49
|
edsl/coop/utils.py,sha256=UZwljKYW_Yjw7RYcjOg3SW7fn1pyHQfJ1fM48TBNoss,3601
|
50
50
|
edsl/data/Cache.py,sha256=jDt0LoZjLpGnM8-CraQEcsQaVg--U3BiBR1zHj0nDn8,16536
|
51
51
|
edsl/data/CacheEntry.py,sha256=_5UiFaJQu_U-Z1_lEPt-h6Gaidp2Eunk02wOd3Ni3MQ,7252
|
@@ -53,8 +53,8 @@ edsl/data/CacheHandler.py,sha256=DxbfeT2nZGRu8yQkbWr2tyEnhNiClevMsd5KZMCq2f0,479
|
|
53
53
|
edsl/data/SQLiteDict.py,sha256=V5Nfnxctgh4Iblqcw1KmbnkjtfmWrrombROSQ3mvg6A,8979
|
54
54
|
edsl/data/__init__.py,sha256=KBNGGEuGHq--D-TlpAQmvv_If906dJc1Gsy028zOx78,170
|
55
55
|
edsl/data/orm.py,sha256=Jz6rvw5SrlxwysTL0QI9r68EflKxeEBmf6j6himHDS8,238
|
56
|
-
edsl/data_transfer_models.py,sha256=
|
57
|
-
edsl/enums.py,sha256=
|
56
|
+
edsl/data_transfer_models.py,sha256=xLkc5cix3pa5cqvQa-t1jfUVFMkSEZk5LjUOlQRDzRk,3119
|
57
|
+
edsl/enums.py,sha256=oicyopRfrZrbtIWsE5_fqdcAjDXj4wZEy2Q94d4RrXg,5160
|
58
58
|
edsl/exceptions/__init__.py,sha256=HVg-U-rJ0fRoG9Rws6gnK5S9B68SkPWDPsoD6KpMZ-A,1370
|
59
59
|
edsl/exceptions/agents.py,sha256=3SORFwFbMGrF6-vAL2GrKEVdPcXo7md_k2oYufnVXHA,673
|
60
60
|
edsl/exceptions/configuration.py,sha256=qH2sInNTndKlCLAaNgaXHyRFdKQHL7-dElB_j8wz9g4,351
|
@@ -71,55 +71,55 @@ edsl/inference_services/AnthropicService.py,sha256=OV6miOC8mzPmalNouTmzk7eqqzUUH
|
|
71
71
|
edsl/inference_services/AwsBedrock.py,sha256=Tf_g4vNDJXDWpYOmUxGrMRfoqN5bUJRf2NZCBucmb4U,3813
|
72
72
|
edsl/inference_services/AzureAI.py,sha256=1o257vsZLDTvJ5VnL65gE2qpFg4lzP835E3SySFTGcA,8776
|
73
73
|
edsl/inference_services/DeepInfraService.py,sha256=fWlH5sCNxf8eHPHxPPxJMEVWpCM9sDenkC8IZYqtXfA,515
|
74
|
-
edsl/inference_services/GoogleService.py,sha256=
|
74
|
+
edsl/inference_services/GoogleService.py,sha256=VOe1bF6eD9I2zr2jLqVfah75LAtpPFoMhGQhMBShwhM,2901
|
75
75
|
edsl/inference_services/GroqService.py,sha256=eDMq8d7YAlJ2689ywaoaPGvMgFfOiX1KYlF_vr97N6I,510
|
76
|
-
edsl/inference_services/InferenceServiceABC.py,sha256=
|
76
|
+
edsl/inference_services/InferenceServiceABC.py,sha256=VWxeBL8ICi8VGCDaKNV0PIfeZO8xcxpsire-qcvIIXA,2684
|
77
77
|
edsl/inference_services/InferenceServicesCollection.py,sha256=EDyxnoSjGXhWob_ost7U8WUYjn1jgL_noB0-VlXBnOo,2810
|
78
78
|
edsl/inference_services/MistralAIService.py,sha256=MIdvroQcfMJLx5wOXItLZpie-MXid4pvIYV9y4xLOWY,3771
|
79
79
|
edsl/inference_services/OllamaService.py,sha256=oro9CRl8IUE2Ro-zE69Cr4Zaf6Gdw29XW5CFU-46E0k,498
|
80
|
-
edsl/inference_services/OpenAIService.py,sha256=
|
81
|
-
edsl/inference_services/TestService.py,sha256=
|
82
|
-
edsl/inference_services/TogetherAIService.py,sha256=DIyYs2OoUi44xynwezT4EscOPL0ySl8_f3og5stOkQw,6291
|
80
|
+
edsl/inference_services/OpenAIService.py,sha256=WYzz1AjXJouHbogNBKO_IXzseLTcS_hKa11UcLZwjgE,7034
|
81
|
+
edsl/inference_services/TestService.py,sha256=Psz9tViuRbbx87BNlQRfh2QNjNZXetIIp2Hv0TBmFIw,2410
|
83
82
|
edsl/inference_services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
84
83
|
edsl/inference_services/models_available_cache.py,sha256=HtGNaYgrxY2oPy-QruKhjj6LUzhGNqBhLHFWMoMi1E4,3312
|
85
84
|
edsl/inference_services/rate_limits_cache.py,sha256=HYslviz7mxF9U4CUTPAkoyBsiXjSju-YCp4HHir6e34,1398
|
86
|
-
edsl/inference_services/registry.py,sha256=
|
85
|
+
edsl/inference_services/registry.py,sha256=XTtAcJkp6Xb1AIMQh2UM_pWwrdmuJmRum2MxNvFljbA,1042
|
87
86
|
edsl/inference_services/write_available.py,sha256=NNwhATlaMp8IYY635MSx-oYxt5X15acjAfaqYCo_I1Y,285
|
88
87
|
edsl/jobs/Answers.py,sha256=c4LpigQjdnMr7iJu8571C4FggGPVudfT7hbJgmgKW40,1821
|
89
88
|
edsl/jobs/FailedQuestion.py,sha256=3D5Vcmv1t2_dzBWbkUUIia3_jXHdzQDdyg-4TEIWU2Q,2701
|
90
|
-
edsl/jobs/Jobs.py,sha256=
|
89
|
+
edsl/jobs/Jobs.py,sha256=PDNL_QEaBQJMgaVJ8PpfdxW9bqNYjW618ELSJUosDp0,33537
|
91
90
|
edsl/jobs/__init__.py,sha256=aKuAyd_GoalGj-k7djOoVwEbFUE2XLPlikXaA1_8yAg,32
|
92
|
-
edsl/jobs/buckets/BucketCollection.py,sha256=
|
91
|
+
edsl/jobs/buckets/BucketCollection.py,sha256=LA8DBVwMdeTFCbSDI0S2cDzfi_Qo6kRizwrG64tE8S4,1844
|
93
92
|
edsl/jobs/buckets/ModelBuckets.py,sha256=hxw_tzc0V42CiB7mh5jIxlgwDVJ-zFZhlLtKrHEg8ho,2419
|
94
|
-
edsl/jobs/buckets/TokenBucket.py,sha256=
|
95
|
-
edsl/jobs/interviews/Interview.py,sha256=
|
96
|
-
edsl/jobs/interviews/
|
97
|
-
edsl/jobs/interviews/InterviewExceptionEntry.py,sha256=BGGjj0sb1wJJ0QmYklt1DyEYKD8mUGygllGfN2WXKbY,4903
|
93
|
+
edsl/jobs/buckets/TokenBucket.py,sha256=nUirycT1mo7Yys4e5VSEuA65QlicLTIrX7c68czhCCs,7488
|
94
|
+
edsl/jobs/interviews/Interview.py,sha256=GwUdNzVw4CizC4gwPvazC5DIdJao5qGUI6oM2RH0Dkg,21177
|
95
|
+
edsl/jobs/interviews/InterviewExceptionEntry.py,sha256=pmsL0q9I3hNLgD1z3Vv78wPR4lYZfA0bBnA-D17iDk4,4850
|
98
96
|
edsl/jobs/interviews/InterviewStatistic.py,sha256=hY5d2EkIJ96NilPpZAvZZzZoxLXM7ss3xx5MIcKtTPs,1856
|
99
97
|
edsl/jobs/interviews/InterviewStatisticsCollection.py,sha256=_ZZ0fnZBQiIywP9Q_wWjpWhlfcPe2cn32GKut10t5RI,788
|
100
98
|
edsl/jobs/interviews/InterviewStatusDictionary.py,sha256=MSyys4hOWe1d8gfsUvAPbcKrs8YiPnz8jpufBSJL7SU,2485
|
101
99
|
edsl/jobs/interviews/InterviewStatusLog.py,sha256=6u0F8gf5tha39VQL-IK_QPkCsQAYVOx_IesX7TDDX_A,3252
|
102
100
|
edsl/jobs/interviews/InterviewStatusMixin.py,sha256=VV0Pel-crUsLoGpTifeIIkXsLGj0bfuO--UtpRnH-dU,1251
|
103
101
|
edsl/jobs/interviews/ReportErrors.py,sha256=RSzDU2rWwtjfztj7sqaMab0quCiY-X2bG3AEOxhTim8,1745
|
102
|
+
edsl/jobs/interviews/interview_exception_tracking.py,sha256=cHGUCOYi2VUYPkOqLsQRTOOzv2i2XieOn5zfdcLGmZY,2715
|
104
103
|
edsl/jobs/interviews/interview_status_enum.py,sha256=KJ-1yLAHdX-p8TiFnM0M3v1tnBwkq4aMCuBX6-ytrI8,229
|
105
|
-
edsl/jobs/
|
106
|
-
edsl/jobs/runners/
|
104
|
+
edsl/jobs/interviews/retry_management.py,sha256=M2qVUeK_Unn0BVNARVU-xIw37qZ3VAkDWwN-WmlUGck,1452
|
105
|
+
edsl/jobs/runners/JobsRunnerAsyncio.py,sha256=sDAdM9mDj76cKYBtxHTlDvTDKzPVnEWm7EUIvkcwrJM,14846
|
107
106
|
edsl/jobs/runners/JobsRunnerStatusData.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
107
|
+
edsl/jobs/runners/JobsRunnerStatusMixin.py,sha256=TAkU-abV8XN9CfBmkpomzAER54JeN9b-FMYnoOTIpX0,13407
|
108
108
|
edsl/jobs/tasks/QuestionTaskCreator.py,sha256=8d-rduM4i2Zpd66_NeMkHvkQLhV7SQjLIks2A_nKRoM,10655
|
109
109
|
edsl/jobs/tasks/TaskCreators.py,sha256=XqAbNU33378Z4PQncokbfJwnKt3KHR9aqa5fKYRDpfg,2694
|
110
|
-
edsl/jobs/tasks/TaskHistory.py,sha256=
|
110
|
+
edsl/jobs/tasks/TaskHistory.py,sha256=hHwzm1mEt89yBlNlJa9AoY44phV1_2620ladRGJ5Ojs,13775
|
111
111
|
edsl/jobs/tasks/TaskStatusLog.py,sha256=bqH36a32F12fjX-M-4lNOhHaK2-WLFzKE-r0PxZPRjI,546
|
112
112
|
edsl/jobs/tasks/task_management.py,sha256=KMToZuXzMlnHRHUF_VHL0-lHMTGhklf2GHVuwEEHtzA,301
|
113
113
|
edsl/jobs/tasks/task_status_enum.py,sha256=DOyrz61YlIS8R1W7izJNphcLrJ7I_ReUlfdRmk23h0Q,5333
|
114
114
|
edsl/jobs/tokens/InterviewTokenUsage.py,sha256=u_6-IHpGFwZ6qMEXr24-jyLVUSSp4dSs_4iAZsBv7O4,1100
|
115
115
|
edsl/jobs/tokens/TokenUsage.py,sha256=odj2-wDNEbHl9noyFAQ0DSKV0D9cv3aDOpmXufKZ8O4,1323
|
116
|
-
edsl/language_models/LanguageModel.py,sha256=
|
116
|
+
edsl/language_models/LanguageModel.py,sha256=_Vwdaobkbh-318LoIXJCdEw0R4BDGHXlDBLPSGNRSKs,25156
|
117
117
|
edsl/language_models/ModelList.py,sha256=GhjRV7y1jRvP_Yjgwv6fxksTVb8sFPBiiRRfdqW-hgg,2852
|
118
118
|
edsl/language_models/RegisterLanguageModelsMeta.py,sha256=eMtBSAnlRnC4c-0_o2QkSNyzv-uAce4BEGMXq2PLj2E,7523
|
119
119
|
edsl/language_models/__init__.py,sha256=bvY7Gy6VkX1gSbNkRbGPS-M1kUnb0EohL0FSagaEaTs,109
|
120
120
|
edsl/language_models/fake_openai_call.py,sha256=dxbL5e4NLF-eTk9IduPyGwLiVCX_-eGCJDaLYPlQTqc,364
|
121
121
|
edsl/language_models/fake_openai_service.py,sha256=2AAsAinELbMZRqiepwBkWhWcLuMe5ORXUBNarrdl1ug,1714
|
122
|
-
edsl/language_models/registry.py,sha256=
|
122
|
+
edsl/language_models/registry.py,sha256=f-LJxCKviA5VXxtLGpC9axNWSe__jd1NFSh9pIJ7XxE,4143
|
123
123
|
edsl/language_models/repair.py,sha256=d0i2S3kJfX7JtuCYhlIyT0QP8hcZkRPLanC09lOW_xo,5353
|
124
124
|
edsl/language_models/unused/ReplicateBase.py,sha256=J1oqf7mEyyKhRwNUomnptVqAsVFYCbS3iTW0EXpKtXo,3331
|
125
125
|
edsl/language_models/utilities.py,sha256=iPnzYfN-Qxc-iYmwf-JPA0zr6ZGnRDHmudI_y4OSRdk,2187
|
@@ -142,29 +142,28 @@ edsl/prompts/library/question_rank.py,sha256=WDgXyph0EKWJrSgsW2eqcx3xdU-WA1LEvB2
|
|
142
142
|
edsl/prompts/prompt_config.py,sha256=O3Y5EvBsCeKs9m9IjXiRXOcHWlWvQV0yqsNb2oSR1ow,974
|
143
143
|
edsl/prompts/registry.py,sha256=XOsqGsvNOmIG83jqoszqI72yNZkkszKR4FrEhwSzj_Q,8093
|
144
144
|
edsl/questions/AnswerValidatorMixin.py,sha256=t_ABep50KP02GSc48Y8VAEjp35drVOngfrWXU5aVhgk,11505
|
145
|
-
edsl/questions/QuestionBase.py,sha256=
|
145
|
+
edsl/questions/QuestionBase.py,sha256=blftdx1j_t5WwkV6gMdKMpUfV6CDEwlJTrArsF2kgic,19476
|
146
146
|
edsl/questions/QuestionBaseGenMixin.py,sha256=v5oquCGPDKklLTlMStrnqeTU5PaFFl98tFkZJCQmLEo,5006
|
147
147
|
edsl/questions/QuestionBasePromptsMixin.py,sha256=Km1P6PpkVJ9O3dS8pJZHNJ6aQABhYGLwdef4Z2vSrqk,9516
|
148
|
-
edsl/questions/QuestionBudget.py,sha256=
|
148
|
+
edsl/questions/QuestionBudget.py,sha256=FNMDyW1tGCMvJsjTZSYqd3mar6pW7yw90Tr66hKHW_k,6264
|
149
149
|
edsl/questions/QuestionCheckBox.py,sha256=TJjmrjbRYmRX4ZNoGpkgLdasWcWavl9uvJDV6AZ5fz0,12835
|
150
150
|
edsl/questions/QuestionExtract.py,sha256=PlXwMeZgPAFBXIHSXpFMYTToag-HwA9C7u6-Z3bQMek,6103
|
151
|
-
edsl/questions/QuestionFreeText.py,sha256=
|
151
|
+
edsl/questions/QuestionFreeText.py,sha256=PYL2DMr6TjQGGRF5D94G8mJKoFJNc0dWRm7EUXVBScc,3180
|
152
152
|
edsl/questions/QuestionFunctional.py,sha256=yZQFLQAxfNsAIETffFoBr-Ltb2oFPeywu-nhm9qjYRc,5133
|
153
153
|
edsl/questions/QuestionList.py,sha256=vs2AE8OnbwVsly-sorb9dfIibdF1BpOaCRYyvwXYSzY,7209
|
154
|
-
edsl/questions/QuestionMultipleChoice.py,sha256=
|
155
|
-
edsl/questions/QuestionNumerical.py,sha256=
|
154
|
+
edsl/questions/QuestionMultipleChoice.py,sha256=ibmD6Qhoq-D6UQCbG6_6t5F6xF7RrRpOXHLa73-9J2s,10322
|
155
|
+
edsl/questions/QuestionNumerical.py,sha256=wudsDH-oWVrR2xxEhArn0fDdQORUt00CN5FOZlQoE8o,4957
|
156
156
|
edsl/questions/QuestionRank.py,sha256=kYHTYXU88X2Uv-zeCiI9w5aEFYTxvg2p7DoGaaER4ik,11596
|
157
|
-
edsl/questions/Quick.py,sha256=h6h4fEvIkLIFJX2JiqfOUEXzku9azWxEpI5o2A4RmVs,1731
|
158
157
|
edsl/questions/RegisterQuestionsMeta.py,sha256=2h_9iZt3cjr_7JRmveTqbmEBBCvjtefMDfhM7Pgd_zg,2598
|
159
|
-
edsl/questions/ResponseValidatorABC.py,sha256=
|
158
|
+
edsl/questions/ResponseValidatorABC.py,sha256=bdF0kQZw87CCCkl4ksmItycBORkD6shM9vhQxkrwhe8,6074
|
160
159
|
edsl/questions/SimpleAskMixin.py,sha256=YRLiHA6TPMKyLWvdAi7Mfnxcqtw7Kem6tH28YNb8n4U,2227
|
161
160
|
edsl/questions/__init__.py,sha256=PYChrB0dHhHAKsL3QUqYa3_ZBgxHmR9bs67pUE9h0Eg,1161
|
162
161
|
edsl/questions/compose_questions.py,sha256=ZcLkwNaofk-o0-skGXEDGZAj6DumOhVhyIUjqEnKrbg,3380
|
163
162
|
edsl/questions/decorators.py,sha256=ZijaRYUntAcg0JEztCiOEpcDvvVie___85Zx5ogBQXY,596
|
164
163
|
edsl/questions/derived/QuestionLikertFive.py,sha256=XCpmwlk2qyCxEkiG3UwPqVpS5-k4d4uWyMaxfJg5wkw,2585
|
165
|
-
edsl/questions/derived/QuestionLinearScale.py,sha256=
|
166
|
-
edsl/questions/derived/QuestionTopK.py,sha256=
|
167
|
-
edsl/questions/derived/QuestionYesNo.py,sha256=
|
164
|
+
edsl/questions/derived/QuestionLinearScale.py,sha256=Lnrhm6nrjC-Py5sihIwDoVT1VriC25Mu6Ik6Cnqo47w,3136
|
165
|
+
edsl/questions/derived/QuestionTopK.py,sha256=HG_Xe0e19_f1p6JBs91mdTq_L21xK0q6umaAxc65OYQ,3044
|
166
|
+
edsl/questions/derived/QuestionYesNo.py,sha256=W94aJbjIR0OLrqTOqlu06aQcEXnH68GTVl-Ccg8BMBc,2532
|
168
167
|
edsl/questions/derived/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
169
168
|
edsl/questions/descriptors.py,sha256=48Hin8AEZVRltIV37TjGtKI0xyoD0C0pjK51UVkJnxA,16365
|
170
169
|
edsl/questions/prompt_templates/question_budget.jinja,sha256=-ekZYCa_KRc-xLcpf3j-YmXV0WSyIK_laOp2x3li-tA,737
|
@@ -178,13 +177,9 @@ edsl/questions/prompt_templates/question_numerical.jinja,sha256=c20sp3HfFonfaRww
|
|
178
177
|
edsl/questions/question_registry.py,sha256=sDr909j6jEulK_uXPuvgvYVytPsrpZz_eqKvG0rsbMo,5365
|
179
178
|
edsl/questions/settings.py,sha256=er_z0ZW_dgmC5CHLWkaqBJiuWgAYzIund85M5YZFQAI,291
|
180
179
|
edsl/questions/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
181
|
-
edsl/questions/templates/budget/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
182
|
-
edsl/questions/templates/budget/answering_instructions.jinja,sha256=tF3bNv9_vIOjsWeZeRsMdgprpNrAKhUreQ53LUh1DP4,352
|
183
|
-
edsl/questions/templates/budget/question_presentation.jinja,sha256=wrZnM5ZbNhPZsvbtflfKrYpR3lH5ELDI7NM2l8pW8Ro,198
|
184
180
|
edsl/questions/templates/checkbox/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
185
181
|
edsl/questions/templates/checkbox/answering_instructions.jinja,sha256=UCPWWsnaAW3oB05IZDLQtofHXBesbqQxguXMfykUTQU,441
|
186
182
|
edsl/questions/templates/checkbox/question_presentation.jinja,sha256=2u8XIkFPWzOuhbeoIvYBm6zUWnTHF66cGJXIznxVobw,807
|
187
|
-
edsl/questions/templates/extract/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
188
183
|
edsl/questions/templates/extract/answering_instructions.jinja,sha256=sjHH4mBdoi6fdpHtRNWG0q3E4ZihvBpVUf08TNnwad4,253
|
189
184
|
edsl/questions/templates/extract/question_presentation.jinja,sha256=OLDuxUc6BjT4InCtAkK_e-D5qbsDmtxw1Spp9pWFYhU,17
|
190
185
|
edsl/questions/templates/free_text/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -206,7 +201,6 @@ edsl/questions/templates/multiple_choice/question_presentation.jinja,sha256=hoEV
|
|
206
201
|
edsl/questions/templates/numerical/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
207
202
|
edsl/questions/templates/numerical/answering_instructions.jinja,sha256=BfGAeKFJWEzzvB91x8DrpRUERSvDv6kXf3Y0szL27LY,373
|
208
203
|
edsl/questions/templates/numerical/question_presentation.jinja,sha256=8lMUWtEPHD4XOAyVEfCmWSwRFrdUa3lo8sxzogDyzWE,183
|
209
|
-
edsl/questions/templates/rank/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
210
204
|
edsl/questions/templates/rank/answering_instructions.jinja,sha256=-LWrhVJ0ZwQW_DXhARh5GweqlarWbhZzoqwr6tE-33s,433
|
211
205
|
edsl/questions/templates/rank/question_presentation.jinja,sha256=9Vbm88_nDl5Xnb09V4QEw6jTp-ryXBoJV6DCFDMyPI4,334
|
212
206
|
edsl/questions/templates/top_k/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -216,10 +210,10 @@ edsl/questions/templates/yes_no/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
|
|
216
210
|
edsl/questions/templates/yes_no/answering_instructions.jinja,sha256=aJVZ_SDdN4SkcHr4KtPU9YwCKZLL1_XtUVqEjiRyn0o,171
|
217
211
|
edsl/questions/templates/yes_no/question_presentation.jinja,sha256=hoEVj4GQD3EYnR2AStXkMFOJeqISNoEVzBd8-cx2yWg,273
|
218
212
|
edsl/results/Dataset.py,sha256=XeCWNcni1rde9iVzmC1WTIne2cip4-f2gQL5iaJfXNw,9202
|
219
|
-
edsl/results/DatasetExportMixin.py,sha256
|
213
|
+
edsl/results/DatasetExportMixin.py,sha256=SyBPWX73SXwyZkK9ijODNiVERFuUttIOM2XDhTMo8_g,25752
|
220
214
|
edsl/results/DatasetTree.py,sha256=nwEgnWBqRXUxagSCEgqwikmIo8ztUxaF-QH-m-8myyQ,4985
|
221
|
-
edsl/results/Result.py,sha256=
|
222
|
-
edsl/results/Results.py,sha256=
|
215
|
+
edsl/results/Result.py,sha256=FUCGxd_MXdTL7QysJMsuJH4vB-pvjW5hMQEPvKLbLog,15471
|
216
|
+
edsl/results/Results.py,sha256=X7UCT45YlNoy8UlbvKREpihWHweIfhEP27ST9GgBPDI,40726
|
223
217
|
edsl/results/ResultsDBMixin.py,sha256=Hc08aOiArBf9jbxI5uV4VL4wT6BLOkaaEgTMb3zyTUI,7922
|
224
218
|
edsl/results/ResultsExportMixin.py,sha256=XizBsPNxziyffirMA4kS7UHpYM1WIE4s1K-B7TqTfDw,1266
|
225
219
|
edsl/results/ResultsFetchMixin.py,sha256=VEa0TKDcXbnTinSKs9YaE4WjOSLmlp9Po1_9kklFvSo,848
|
@@ -228,26 +222,26 @@ edsl/results/ResultsToolsMixin.py,sha256=mseEFxJCf9sjXdIxpjITt_UZBwdXxw2o2VLg5jM
|
|
228
222
|
edsl/results/Selector.py,sha256=4AsFD71FKTFY1a0_AImsYWcYKx-RXPG6RgwsAvuNW3k,4403
|
229
223
|
edsl/results/__init__.py,sha256=2YcyiVtXi-3vIV0ZzOy1PqBLm2gaziufJVi4fdNrAt8,80
|
230
224
|
edsl/results/tree_explore.py,sha256=hQjiO4E71rIOPDgEHgK8T8ukxqoNdgX_tvyiDlG4_9U,4624
|
231
|
-
edsl/scenarios/FileStore.py,sha256=
|
232
|
-
edsl/scenarios/Scenario.py,sha256=
|
225
|
+
edsl/scenarios/FileStore.py,sha256=AevvU1qdLSmL4Q7cb1PhUiaJk1i5T0sgkTKBYf0KDN4,8722
|
226
|
+
edsl/scenarios/Scenario.py,sha256=lty-3I2nTELylQARawj1MaboNaQuHF3LiUAew_KUll8,15522
|
233
227
|
edsl/scenarios/ScenarioHtmlMixin.py,sha256=EmugmbPJYW5eZS30rM6pDMDQD9yrrvHjmgZWB1qBfq4,1882
|
234
|
-
edsl/scenarios/ScenarioImageMixin.py,sha256=
|
235
|
-
edsl/scenarios/ScenarioList.py,sha256=
|
228
|
+
edsl/scenarios/ScenarioImageMixin.py,sha256=VJ5FqyPrL5-ieORlWMpnjmOAFIau8QFZCIZyEBKgb6I,3530
|
229
|
+
edsl/scenarios/ScenarioList.py,sha256=lHYd0y2CBb6G2jqIwQsvsG_LExi1CVtZfozngcKiKA8,39949
|
236
230
|
edsl/scenarios/ScenarioListExportMixin.py,sha256=wfffY9xy_1QyIM-1xnisr64izSLjmyuotUYY5iDLodc,1681
|
237
|
-
edsl/scenarios/ScenarioListPdfMixin.py,sha256=
|
231
|
+
edsl/scenarios/ScenarioListPdfMixin.py,sha256=dt7GzC2UZZpQjjilS7_eBm0BmqU6bDWWbBP7ejkhgHM,3830
|
238
232
|
edsl/scenarios/__init__.py,sha256=KRwZCLf2R0qyJvv1NGbd8M51Bt6Ia6Iylg-Xq_2Fa6M,98
|
239
233
|
edsl/shared.py,sha256=lgLa-mCk2flIhxXarXLtfXZjXG_6XHhC2A3O8yRTjXc,20
|
240
234
|
edsl/study/ObjectEntry.py,sha256=e3xRPH8wCN8Pum5HZsQRYgnSoauSvjXunIEH79wu5A8,5788
|
241
235
|
edsl/study/ProofOfWork.py,sha256=FaqYtLgeiTEQXWKukPgPUTWMcIN5t1FR7h7Re8QEtgc,3433
|
242
236
|
edsl/study/SnapShot.py,sha256=BY9NP_HRTuOSvCncuE-q5OwMcTEtnBS8bFn_PhF7OcU,2678
|
243
|
-
edsl/study/Study.py,sha256=
|
237
|
+
edsl/study/Study.py,sha256=zLy2mMvsX_QgZ6D4dcgYJoEacyajkRnARYjIFvyCO1o,16939
|
244
238
|
edsl/study/__init__.py,sha256=YAvPLTPG3hK_eN9Ar3d1_d-E3laXpSya879A25-JAxU,170
|
245
239
|
edsl/surveys/DAG.py,sha256=ozQuHo9ZQ8Eet5nDXtp7rFpiSocvvfxIHtyTnztvodg,2380
|
246
240
|
edsl/surveys/Memory.py,sha256=-ikOtkkQldGB_BkPCW3o7AYwV5B_pIwlREw7aVCSHaQ,1113
|
247
241
|
edsl/surveys/MemoryPlan.py,sha256=BeLuqS5Q8G2jSluHYFCAxVmj7cNPK-rDQ3mUsuDjikQ,7979
|
248
|
-
edsl/surveys/Rule.py,sha256=
|
249
|
-
edsl/surveys/RuleCollection.py,sha256=
|
250
|
-
edsl/surveys/Survey.py,sha256=
|
242
|
+
edsl/surveys/Rule.py,sha256=FnTCEWlbHDH_wOmnN1fiuqwrJzEEhPG4jibLXhRq03M,11104
|
243
|
+
edsl/surveys/RuleCollection.py,sha256=PQY-oo1W8DyzIvHiwrGRlMQl-l9XG6Ide3Bs-gu-mOM,13379
|
244
|
+
edsl/surveys/Survey.py,sha256=suJJiQGMLPl0XQoMPrdtAI3ZdxgmC4ImOeUw69VB9mo,65066
|
251
245
|
edsl/surveys/SurveyCSS.py,sha256=NjJezs2sTlgFprN6IukjGKwNYmNdXnLjzV2w5K4z4RI,8415
|
252
246
|
edsl/surveys/SurveyExportMixin.py,sha256=Kvkd2ku2Kemsn2Nw-Yt8GTnGFcUqfEiKznmisAeO7ck,8339
|
253
247
|
edsl/surveys/SurveyFlowVisualizationMixin.py,sha256=dEG_f-L0ZAyWU5Ta584IX5GZurjVt1tbIISo5z61Jvg,4004
|
@@ -263,7 +257,7 @@ edsl/templates/error_reporting/base.html,sha256=IkV24ZaUCNX303ZqVTWkFsJOnu5BG_SU
|
|
263
257
|
edsl/templates/error_reporting/exceptions_by_model.html,sha256=7uAWGfhUMey-29Vh6YkN_Qx1lfhC92fsTMxJEVXWPDs,792
|
264
258
|
edsl/templates/error_reporting/exceptions_by_question_name.html,sha256=_q6hSwtO_WhjXLZNLZhRj-qbPzStqYSzT0iECKUAFlg,454
|
265
259
|
edsl/templates/error_reporting/exceptions_by_type.html,sha256=TVsNCAz_G53LSZ-YslM51TUsbwtw7wzCqPwVYO6TVEw,415
|
266
|
-
edsl/templates/error_reporting/interview_details.html,sha256=
|
260
|
+
edsl/templates/error_reporting/interview_details.html,sha256=khKhf6KybSo9yItZvuJHwxTSDKYY0rDdIHGaG1jreis,3910
|
267
261
|
edsl/templates/error_reporting/interviews.html,sha256=jaPrrtUGs8Rs26H3k1QLqNRpIGAZEWrJR4OF83gDCj8,393
|
268
262
|
edsl/templates/error_reporting/overview.html,sha256=1oTYQpi03OnguG-iudO8FZC7mwR6GryeslDbl0w9ksw,405
|
269
263
|
edsl/templates/error_reporting/performance_plot.html,sha256=NTXFj51VEwew59gLzbR83Lybh88WmFR-fhxm5rmz0Ms,53
|
@@ -288,8 +282,8 @@ edsl/utilities/gcp_bucket/cloud_storage.py,sha256=dStHsG181YP9ALW-bkyO-sgMWuLV5a
|
|
288
282
|
edsl/utilities/interface.py,sha256=AaKpWiwWBwP2swNXmnFlIf3ZFsjfsR5bjXQAW47tD-8,19656
|
289
283
|
edsl/utilities/repair_functions.py,sha256=tftmklAqam6LOQQu_-9U44N-llycffhW8LfO63vBmNw,929
|
290
284
|
edsl/utilities/restricted_python.py,sha256=5-_zUhrNbos7pLhDl9nr8d24auRlquR6w-vKkmNjPiA,2060
|
291
|
-
edsl/utilities/utilities.py,sha256=
|
292
|
-
edsl-0.1.33.dist-info/LICENSE,sha256=_qszBDs8KHShVYcYzdMz3HNMtH-fKN_p5zjoVAVumFc,1111
|
293
|
-
edsl-0.1.33.dist-info/METADATA,sha256=
|
294
|
-
edsl-0.1.33.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
295
|
-
edsl-0.1.33.dist-info/RECORD,,
|
285
|
+
edsl/utilities/utilities.py,sha256=2KwKc1J0lu6_CjIAKaufvfLOJ4j3XGKyClwJ6TjKLxM,11157
|
286
|
+
edsl-0.1.33.dev2.dist-info/LICENSE,sha256=_qszBDs8KHShVYcYzdMz3HNMtH-fKN_p5zjoVAVumFc,1111
|
287
|
+
edsl-0.1.33.dev2.dist-info/METADATA,sha256=3CVZ1Yh-iLWtSBONoGMzTIHvNJ35y8i1UlrWElnB5B0,4384
|
288
|
+
edsl-0.1.33.dev2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
289
|
+
edsl-0.1.33.dev2.dist-info/RECORD,,
|
@@ -1,170 +0,0 @@
|
|
1
|
-
import aiohttp
|
2
|
-
import json
|
3
|
-
import requests
|
4
|
-
from typing import Any, List
|
5
|
-
|
6
|
-
# from edsl.inference_services.InferenceServiceABC import InferenceServiceABC
|
7
|
-
from edsl.language_models import LanguageModel
|
8
|
-
|
9
|
-
from edsl.inference_services.OpenAIService import OpenAIService
|
10
|
-
import openai
|
11
|
-
|
12
|
-
|
13
|
-
class TogetherAIService(OpenAIService):
|
14
|
-
"""DeepInfra service class."""
|
15
|
-
|
16
|
-
_inference_service_ = "together"
|
17
|
-
_env_key_name_ = "TOGETHER_API_KEY"
|
18
|
-
_base_url_ = "https://api.together.xyz/v1"
|
19
|
-
_models_list_cache: List[str] = []
|
20
|
-
|
21
|
-
# These are non-serverless models. There was no api param to filter them
|
22
|
-
model_exclude_list = [
|
23
|
-
"EleutherAI/llemma_7b",
|
24
|
-
"HuggingFaceH4/zephyr-7b-beta",
|
25
|
-
"Nexusflow/NexusRaven-V2-13B",
|
26
|
-
"NousResearch/Hermes-2-Theta-Llama-3-70B",
|
27
|
-
"NousResearch/Nous-Capybara-7B-V1p9",
|
28
|
-
"NousResearch/Nous-Hermes-13b",
|
29
|
-
"NousResearch/Nous-Hermes-2-Mistral-7B-DPO",
|
30
|
-
"NousResearch/Nous-Hermes-2-Mixtral-8x7B-SFT",
|
31
|
-
"NousResearch/Nous-Hermes-Llama2-13b",
|
32
|
-
"NousResearch/Nous-Hermes-Llama2-70b",
|
33
|
-
"NousResearch/Nous-Hermes-llama-2-7b",
|
34
|
-
"NumbersStation/nsql-llama-2-7B",
|
35
|
-
"Open-Orca/Mistral-7B-OpenOrca",
|
36
|
-
"Phind/Phind-CodeLlama-34B-Python-v1",
|
37
|
-
"Phind/Phind-CodeLlama-34B-v2",
|
38
|
-
"Qwen/Qwen1.5-0.5B",
|
39
|
-
"Qwen/Qwen1.5-0.5B-Chat",
|
40
|
-
"Qwen/Qwen1.5-1.8B",
|
41
|
-
"Qwen/Qwen1.5-1.8B-Chat",
|
42
|
-
"Qwen/Qwen1.5-14B",
|
43
|
-
"Qwen/Qwen1.5-14B-Chat",
|
44
|
-
"Qwen/Qwen1.5-32B",
|
45
|
-
"Qwen/Qwen1.5-32B-Chat",
|
46
|
-
"Qwen/Qwen1.5-4B",
|
47
|
-
"Qwen/Qwen1.5-4B-Chat",
|
48
|
-
"Qwen/Qwen1.5-72B",
|
49
|
-
"Qwen/Qwen1.5-7B",
|
50
|
-
"Qwen/Qwen1.5-7B-Chat",
|
51
|
-
"Qwen/Qwen2-1.5B",
|
52
|
-
"Qwen/Qwen2-1.5B-Instruct",
|
53
|
-
"Qwen/Qwen2-72B",
|
54
|
-
"Qwen/Qwen2-7B",
|
55
|
-
"Qwen/Qwen2-7B-Instruct",
|
56
|
-
"SG161222/Realistic_Vision_V3.0_VAE",
|
57
|
-
"Snowflake/snowflake-arctic-instruct",
|
58
|
-
"Undi95/ReMM-SLERP-L2-13B",
|
59
|
-
"Undi95/Toppy-M-7B",
|
60
|
-
"WizardLM/WizardCoder-Python-34B-V1.0",
|
61
|
-
"WizardLM/WizardLM-13B-V1.2",
|
62
|
-
"WizardLM/WizardLM-70B-V1.0",
|
63
|
-
"allenai/OLMo-7B",
|
64
|
-
"allenai/OLMo-7B-Instruct",
|
65
|
-
"bert-base-uncased",
|
66
|
-
"codellama/CodeLlama-13b-Instruct-hf",
|
67
|
-
"codellama/CodeLlama-13b-Python-hf",
|
68
|
-
"codellama/CodeLlama-13b-hf",
|
69
|
-
"codellama/CodeLlama-34b-Python-hf",
|
70
|
-
"codellama/CodeLlama-34b-hf",
|
71
|
-
"codellama/CodeLlama-70b-Instruct-hf",
|
72
|
-
"codellama/CodeLlama-70b-Python-hf",
|
73
|
-
"codellama/CodeLlama-70b-hf",
|
74
|
-
"codellama/CodeLlama-7b-Instruct-hf",
|
75
|
-
"codellama/CodeLlama-7b-Python-hf",
|
76
|
-
"codellama/CodeLlama-7b-hf",
|
77
|
-
"cognitivecomputations/dolphin-2.5-mixtral-8x7b",
|
78
|
-
"deepseek-ai/deepseek-coder-33b-instruct",
|
79
|
-
"garage-bAInd/Platypus2-70B-instruct",
|
80
|
-
"google/gemma-2b",
|
81
|
-
"google/gemma-7b",
|
82
|
-
"google/gemma-7b-it",
|
83
|
-
"gradientai/Llama-3-70B-Instruct-Gradient-1048k",
|
84
|
-
"hazyresearch/M2-BERT-2k-Retrieval-Encoder-V1",
|
85
|
-
"huggyllama/llama-13b",
|
86
|
-
"huggyllama/llama-30b",
|
87
|
-
"huggyllama/llama-65b",
|
88
|
-
"huggyllama/llama-7b",
|
89
|
-
"lmsys/vicuna-13b-v1.3",
|
90
|
-
"lmsys/vicuna-13b-v1.5",
|
91
|
-
"lmsys/vicuna-13b-v1.5-16k",
|
92
|
-
"lmsys/vicuna-7b-v1.3",
|
93
|
-
"lmsys/vicuna-7b-v1.5",
|
94
|
-
"meta-llama/Llama-2-13b-hf",
|
95
|
-
"meta-llama/Llama-2-70b-chat-hf",
|
96
|
-
"meta-llama/Llama-2-7b-hf",
|
97
|
-
"meta-llama/Llama-3-70b-hf",
|
98
|
-
"meta-llama/Llama-3-8b-hf",
|
99
|
-
"meta-llama/Meta-Llama-3-70B",
|
100
|
-
"meta-llama/Meta-Llama-3-70B-Instruct",
|
101
|
-
"meta-llama/Meta-Llama-3-8B-Instruct",
|
102
|
-
"meta-llama/Meta-Llama-3.1-70B-Instruct-Reference",
|
103
|
-
"meta-llama/Meta-Llama-3.1-70B-Reference",
|
104
|
-
"meta-llama/Meta-Llama-3.1-8B-Reference",
|
105
|
-
"microsoft/phi-2",
|
106
|
-
"mistralai/Mixtral-8x22B",
|
107
|
-
"openchat/openchat-3.5-1210",
|
108
|
-
"prompthero/openjourney",
|
109
|
-
"runwayml/stable-diffusion-v1-5",
|
110
|
-
"sentence-transformers/msmarco-bert-base-dot-v5",
|
111
|
-
"snorkelai/Snorkel-Mistral-PairRM-DPO",
|
112
|
-
"stabilityai/stable-diffusion-2-1",
|
113
|
-
"teknium/OpenHermes-2-Mistral-7B",
|
114
|
-
"teknium/OpenHermes-2p5-Mistral-7B",
|
115
|
-
"togethercomputer/CodeLlama-13b-Instruct",
|
116
|
-
"togethercomputer/CodeLlama-13b-Python",
|
117
|
-
"togethercomputer/CodeLlama-34b",
|
118
|
-
"togethercomputer/CodeLlama-34b-Python",
|
119
|
-
"togethercomputer/CodeLlama-7b-Instruct",
|
120
|
-
"togethercomputer/CodeLlama-7b-Python",
|
121
|
-
"togethercomputer/Koala-13B",
|
122
|
-
"togethercomputer/Koala-7B",
|
123
|
-
"togethercomputer/LLaMA-2-7B-32K",
|
124
|
-
"togethercomputer/SOLAR-10.7B-Instruct-v1.0-int4",
|
125
|
-
"togethercomputer/StripedHyena-Hessian-7B",
|
126
|
-
"togethercomputer/alpaca-7b",
|
127
|
-
"togethercomputer/evo-1-131k-base",
|
128
|
-
"togethercomputer/evo-1-8k-base",
|
129
|
-
"togethercomputer/guanaco-13b",
|
130
|
-
"togethercomputer/guanaco-33b",
|
131
|
-
"togethercomputer/guanaco-65b",
|
132
|
-
"togethercomputer/guanaco-7b",
|
133
|
-
"togethercomputer/llama-2-13b",
|
134
|
-
"togethercomputer/llama-2-70b-chat",
|
135
|
-
"togethercomputer/llama-2-7b",
|
136
|
-
"wavymulder/Analog-Diffusion",
|
137
|
-
"zero-one-ai/Yi-34B",
|
138
|
-
"zero-one-ai/Yi-34B-Chat",
|
139
|
-
"zero-one-ai/Yi-6B",
|
140
|
-
]
|
141
|
-
|
142
|
-
_sync_client_ = openai.OpenAI
|
143
|
-
_async_client_ = openai.AsyncOpenAI
|
144
|
-
|
145
|
-
@classmethod
|
146
|
-
def get_model_list(cls):
|
147
|
-
# Togheter.ai has a different response in model list then openai
|
148
|
-
# and the OpenAI class returns an error when calling .models.list()
|
149
|
-
import requests
|
150
|
-
import os
|
151
|
-
|
152
|
-
url = "https://api.together.xyz/v1/models?filter=serverless"
|
153
|
-
token = os.getenv(cls._env_key_name_)
|
154
|
-
headers = {"accept": "application/json", "authorization": f"Bearer {token}"}
|
155
|
-
|
156
|
-
response = requests.get(url, headers=headers)
|
157
|
-
return response.json()
|
158
|
-
|
159
|
-
@classmethod
|
160
|
-
def available(cls) -> List[str]:
|
161
|
-
if not cls._models_list_cache:
|
162
|
-
try:
|
163
|
-
cls._models_list_cache = [
|
164
|
-
m["id"]
|
165
|
-
for m in cls.get_model_list()
|
166
|
-
if m["id"] not in cls.model_exclude_list
|
167
|
-
]
|
168
|
-
except Exception as e:
|
169
|
-
raise
|
170
|
-
return cls._models_list_cache
|