aimodelshare 0.3.7__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.
- aimodelshare/README.md +26 -0
- aimodelshare/__init__.py +100 -0
- aimodelshare/aimsonnx.py +2381 -0
- aimodelshare/api.py +836 -0
- aimodelshare/auth.py +163 -0
- aimodelshare/aws.py +511 -0
- aimodelshare/aws_client.py +173 -0
- aimodelshare/base_image.py +154 -0
- aimodelshare/bucketpolicy.py +106 -0
- aimodelshare/color_mappings/color_mapping_keras.csv +121 -0
- aimodelshare/color_mappings/color_mapping_pytorch.csv +117 -0
- aimodelshare/containerisation.py +244 -0
- aimodelshare/containerization.py +712 -0
- aimodelshare/containerization_templates/Dockerfile.txt +8 -0
- aimodelshare/containerization_templates/Dockerfile_PySpark.txt +23 -0
- aimodelshare/containerization_templates/buildspec.txt +14 -0
- aimodelshare/containerization_templates/lambda_function.txt +40 -0
- aimodelshare/custom_approach/__init__.py +1 -0
- aimodelshare/custom_approach/lambda_function.py +17 -0
- aimodelshare/custom_eval_metrics.py +103 -0
- aimodelshare/data_sharing/__init__.py +0 -0
- aimodelshare/data_sharing/data_sharing_templates/Dockerfile.txt +3 -0
- aimodelshare/data_sharing/data_sharing_templates/__init__.py +1 -0
- aimodelshare/data_sharing/data_sharing_templates/buildspec.txt +15 -0
- aimodelshare/data_sharing/data_sharing_templates/codebuild_policies.txt +129 -0
- aimodelshare/data_sharing/data_sharing_templates/codebuild_trust_relationship.txt +12 -0
- aimodelshare/data_sharing/download_data.py +620 -0
- aimodelshare/data_sharing/share_data.py +373 -0
- aimodelshare/data_sharing/utils.py +8 -0
- aimodelshare/deploy_custom_lambda.py +246 -0
- aimodelshare/documentation/Makefile +20 -0
- aimodelshare/documentation/karma_sphinx_theme/__init__.py +28 -0
- aimodelshare/documentation/karma_sphinx_theme/_version.py +2 -0
- aimodelshare/documentation/karma_sphinx_theme/breadcrumbs.html +70 -0
- aimodelshare/documentation/karma_sphinx_theme/layout.html +172 -0
- aimodelshare/documentation/karma_sphinx_theme/search.html +50 -0
- aimodelshare/documentation/karma_sphinx_theme/searchbox.html +14 -0
- aimodelshare/documentation/karma_sphinx_theme/static/css/custom.css +2 -0
- aimodelshare/documentation/karma_sphinx_theme/static/css/custom.css.map +1 -0
- aimodelshare/documentation/karma_sphinx_theme/static/css/theme.css +2751 -0
- aimodelshare/documentation/karma_sphinx_theme/static/css/theme.css.map +1 -0
- aimodelshare/documentation/karma_sphinx_theme/static/css/theme.min.css +2 -0
- aimodelshare/documentation/karma_sphinx_theme/static/css/theme.min.css.map +1 -0
- aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.eot +0 -0
- aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.svg +32 -0
- aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.ttf +0 -0
- aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.woff +0 -0
- aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.woff2 +0 -0
- aimodelshare/documentation/karma_sphinx_theme/static/js/theme.js +68 -0
- aimodelshare/documentation/karma_sphinx_theme/theme.conf +9 -0
- aimodelshare/documentation/make.bat +35 -0
- aimodelshare/documentation/requirements.txt +2 -0
- aimodelshare/documentation/source/about.rst +18 -0
- aimodelshare/documentation/source/advanced_features.rst +137 -0
- aimodelshare/documentation/source/competition.rst +218 -0
- aimodelshare/documentation/source/conf.py +58 -0
- aimodelshare/documentation/source/create_credentials.rst +86 -0
- aimodelshare/documentation/source/example_notebooks.rst +132 -0
- aimodelshare/documentation/source/functions.rst +151 -0
- aimodelshare/documentation/source/gettingstarted.rst +390 -0
- aimodelshare/documentation/source/images/creds1.png +0 -0
- aimodelshare/documentation/source/images/creds2.png +0 -0
- aimodelshare/documentation/source/images/creds3.png +0 -0
- aimodelshare/documentation/source/images/creds4.png +0 -0
- aimodelshare/documentation/source/images/creds5.png +0 -0
- aimodelshare/documentation/source/images/creds_file_example.png +0 -0
- aimodelshare/documentation/source/images/predict_tab.png +0 -0
- aimodelshare/documentation/source/index.rst +110 -0
- aimodelshare/documentation/source/modelplayground.rst +132 -0
- aimodelshare/exceptions.py +11 -0
- aimodelshare/generatemodelapi.py +1270 -0
- aimodelshare/iam/codebuild_policy.txt +129 -0
- aimodelshare/iam/codebuild_trust_relationship.txt +12 -0
- aimodelshare/iam/lambda_policy.txt +15 -0
- aimodelshare/iam/lambda_trust_relationship.txt +12 -0
- aimodelshare/json_templates/__init__.py +1 -0
- aimodelshare/json_templates/api_json.txt +155 -0
- aimodelshare/json_templates/auth/policy.txt +1 -0
- aimodelshare/json_templates/auth/role.txt +1 -0
- aimodelshare/json_templates/eval/policy.txt +1 -0
- aimodelshare/json_templates/eval/role.txt +1 -0
- aimodelshare/json_templates/function/policy.txt +1 -0
- aimodelshare/json_templates/function/role.txt +1 -0
- aimodelshare/json_templates/integration_response.txt +5 -0
- aimodelshare/json_templates/lambda_policy_1.txt +15 -0
- aimodelshare/json_templates/lambda_policy_2.txt +8 -0
- aimodelshare/json_templates/lambda_role_1.txt +12 -0
- aimodelshare/json_templates/lambda_role_2.txt +16 -0
- aimodelshare/leaderboard.py +174 -0
- aimodelshare/main/1.txt +132 -0
- aimodelshare/main/1B.txt +112 -0
- aimodelshare/main/2.txt +153 -0
- aimodelshare/main/3.txt +134 -0
- aimodelshare/main/4.txt +128 -0
- aimodelshare/main/5.txt +109 -0
- aimodelshare/main/6.txt +105 -0
- aimodelshare/main/7.txt +144 -0
- aimodelshare/main/8.txt +142 -0
- aimodelshare/main/__init__.py +1 -0
- aimodelshare/main/authorization.txt +275 -0
- aimodelshare/main/eval_classification.txt +79 -0
- aimodelshare/main/eval_lambda.txt +1709 -0
- aimodelshare/main/eval_regression.txt +80 -0
- aimodelshare/main/lambda_function.txt +8 -0
- aimodelshare/main/nst.txt +149 -0
- aimodelshare/model.py +1543 -0
- aimodelshare/modeluser.py +215 -0
- aimodelshare/moral_compass/README.md +408 -0
- aimodelshare/moral_compass/__init__.py +65 -0
- aimodelshare/moral_compass/_version.py +3 -0
- aimodelshare/moral_compass/api_client.py +601 -0
- aimodelshare/moral_compass/apps/__init__.py +69 -0
- aimodelshare/moral_compass/apps/ai_consequences.py +540 -0
- aimodelshare/moral_compass/apps/bias_detective.py +714 -0
- aimodelshare/moral_compass/apps/ethical_revelation.py +898 -0
- aimodelshare/moral_compass/apps/fairness_fixer.py +889 -0
- aimodelshare/moral_compass/apps/judge.py +888 -0
- aimodelshare/moral_compass/apps/justice_equity_upgrade.py +853 -0
- aimodelshare/moral_compass/apps/mc_integration_helpers.py +820 -0
- aimodelshare/moral_compass/apps/model_building_game.py +1104 -0
- aimodelshare/moral_compass/apps/model_building_game_beginner.py +687 -0
- aimodelshare/moral_compass/apps/moral_compass_challenge.py +858 -0
- aimodelshare/moral_compass/apps/session_auth.py +254 -0
- aimodelshare/moral_compass/apps/shared_activity_styles.css +349 -0
- aimodelshare/moral_compass/apps/tutorial.py +481 -0
- aimodelshare/moral_compass/apps/what_is_ai.py +853 -0
- aimodelshare/moral_compass/challenge.py +365 -0
- aimodelshare/moral_compass/config.py +187 -0
- aimodelshare/placeholders/model.onnx +0 -0
- aimodelshare/placeholders/preprocessor.zip +0 -0
- aimodelshare/playground.py +1968 -0
- aimodelshare/postprocessormodules.py +157 -0
- aimodelshare/preprocessormodules.py +373 -0
- aimodelshare/pyspark/1.txt +195 -0
- aimodelshare/pyspark/1B.txt +181 -0
- aimodelshare/pyspark/2.txt +220 -0
- aimodelshare/pyspark/3.txt +204 -0
- aimodelshare/pyspark/4.txt +187 -0
- aimodelshare/pyspark/5.txt +178 -0
- aimodelshare/pyspark/6.txt +174 -0
- aimodelshare/pyspark/7.txt +211 -0
- aimodelshare/pyspark/8.txt +206 -0
- aimodelshare/pyspark/__init__.py +1 -0
- aimodelshare/pyspark/authorization.txt +258 -0
- aimodelshare/pyspark/eval_classification.txt +79 -0
- aimodelshare/pyspark/eval_lambda.txt +1441 -0
- aimodelshare/pyspark/eval_regression.txt +80 -0
- aimodelshare/pyspark/lambda_function.txt +8 -0
- aimodelshare/pyspark/nst.txt +213 -0
- aimodelshare/python/my_preprocessor.py +58 -0
- aimodelshare/readme.md +26 -0
- aimodelshare/reproducibility.py +181 -0
- aimodelshare/sam/Dockerfile.txt +8 -0
- aimodelshare/sam/Dockerfile_PySpark.txt +24 -0
- aimodelshare/sam/__init__.py +1 -0
- aimodelshare/sam/buildspec.txt +11 -0
- aimodelshare/sam/codebuild_policies.txt +129 -0
- aimodelshare/sam/codebuild_trust_relationship.txt +12 -0
- aimodelshare/sam/codepipeline_policies.txt +173 -0
- aimodelshare/sam/codepipeline_trust_relationship.txt +12 -0
- aimodelshare/sam/spark-class.txt +2 -0
- aimodelshare/sam/template.txt +54 -0
- aimodelshare/tools.py +103 -0
- aimodelshare/utils/__init__.py +78 -0
- aimodelshare/utils/optional_deps.py +38 -0
- aimodelshare/utils.py +57 -0
- aimodelshare-0.3.7.dist-info/METADATA +298 -0
- aimodelshare-0.3.7.dist-info/RECORD +171 -0
- aimodelshare-0.3.7.dist-info/WHEEL +5 -0
- aimodelshare-0.3.7.dist-info/licenses/LICENSE +5 -0
- aimodelshare-0.3.7.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: aimodelshare
|
|
3
|
+
Version: 0.3.7
|
|
4
|
+
Summary: Deploy locally saved machine learning models to a live REST API and integrated dashboard.
|
|
5
|
+
Author-email: Michael Parrott <mikedparrott@modelshare.ai>
|
|
6
|
+
License:
|
|
7
|
+
Proprietary License
|
|
8
|
+
|
|
9
|
+
Copyright (c) 2025 Model Share Labs,Inc. (And all affiliated organizations and individuals)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Keywords: machine-learning,deployment,api,onnx,tensorflow,pytorch
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: License :: Other/Proprietary License
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Requires-Python: >=3.10
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
Requires-Dist: numpy>=1.23.0
|
|
20
|
+
Requires-Dist: pandas>=1.5.0
|
|
21
|
+
Requires-Dist: requests
|
|
22
|
+
Requires-Dist: urllib3
|
|
23
|
+
Requires-Dist: boto3
|
|
24
|
+
Requires-Dist: onnx
|
|
25
|
+
Requires-Dist: onnxmltools
|
|
26
|
+
Requires-Dist: onnxruntime
|
|
27
|
+
Requires-Dist: skl2onnx
|
|
28
|
+
Requires-Dist: tf2onnx
|
|
29
|
+
Requires-Dist: scikit-learn>=1.2.0
|
|
30
|
+
Requires-Dist: scikeras
|
|
31
|
+
Requires-Dist: shortuuid
|
|
32
|
+
Requires-Dist: Pympler
|
|
33
|
+
Requires-Dist: wget
|
|
34
|
+
Requires-Dist: PyJWT[crypto]<3,>=2.8
|
|
35
|
+
Requires-Dist: pydot
|
|
36
|
+
Requires-Dist: regex
|
|
37
|
+
Requires-Dist: psutil
|
|
38
|
+
Requires-Dist: dill
|
|
39
|
+
Requires-Dist: IPython
|
|
40
|
+
Provides-Extra: visual
|
|
41
|
+
Requires-Dist: graphviz; extra == "visual"
|
|
42
|
+
Provides-Extra: tensorflow
|
|
43
|
+
Requires-Dist: tensorflow==2.19.0; extra == "tensorflow"
|
|
44
|
+
Requires-Dist: keras2onnx; extra == "tensorflow"
|
|
45
|
+
Provides-Extra: pytorch
|
|
46
|
+
Requires-Dist: torch; extra == "pytorch"
|
|
47
|
+
Provides-Extra: ui
|
|
48
|
+
Requires-Dist: gradio>=4.0.0; extra == "ui"
|
|
49
|
+
Provides-Extra: full
|
|
50
|
+
Requires-Dist: tensorflow==2.19.0; extra == "full"
|
|
51
|
+
Requires-Dist: keras2onnx; extra == "full"
|
|
52
|
+
Requires-Dist: torch; extra == "full"
|
|
53
|
+
Requires-Dist: graphviz; extra == "full"
|
|
54
|
+
Requires-Dist: gradio>=4.0.0; extra == "full"
|
|
55
|
+
Provides-Extra: test
|
|
56
|
+
Requires-Dist: pytest; extra == "test"
|
|
57
|
+
Requires-Dist: pytest-cov; extra == "test"
|
|
58
|
+
Dynamic: license-file
|
|
59
|
+
|
|
60
|
+
<p align="center"><img width="40%" src="docs/aimodshare_banner.jpg" /></p>
|
|
61
|
+
|
|
62
|
+
### The mission of the AI Model Share Platform is to provide a trusted non profit repository for machine learning model prediction APIs (python library + integrated website at modelshare.org). A beta version of the platform is currently being used by Columbia University students, faculty, and staff to test and improve platform functionality.
|
|
63
|
+
|
|
64
|
+
### In a matter of seconds, data scientists can launch a model into this infrastructure and end-users the world over will be able to engage their machine learning models.
|
|
65
|
+
|
|
66
|
+
* ***Launch machine learning models into scalable production ready prediction REST APIs using a single Python function.***
|
|
67
|
+
|
|
68
|
+
* ***Details about each model, how to use the model's API, and the model's author(s) are deployed simultaneously into a searchable website at modelshare.org.***
|
|
69
|
+
|
|
70
|
+
* ***Deployed models receive an individual Model Playground listing information about all deployed models. Each of these pages includes a fully functional prediction dashboard that allows end-users to input text, tabular, or image data and receive live predictions.***
|
|
71
|
+
|
|
72
|
+
* ***Moreover, users can build on model playgrounds by 1) creating ML model competitions, 2) uploading Jupyter notebooks to share code, 3) sharing model architectures and 4) sharing data... with all shared artifacts automatically creating a data science user portfolio.***
|
|
73
|
+
|
|
74
|
+
# Use aimodelshare Python library to deploy your model, create a new ML competition, and more.
|
|
75
|
+
* [Tutorials for deploying models](https://www.modelshare.org/search/deploy?search=ALL&problemdomain=ALL&gettingstartedguide=TRUE&pythonlibrariesused=ALL&tags=ALL&pageNum=1).
|
|
76
|
+
|
|
77
|
+
# Find model playground web-dashboards to generate predictions now.
|
|
78
|
+
* [View deployed models and generate predictions at modelshare.org](https://www.modelshare.org)
|
|
79
|
+
|
|
80
|
+
# Installation
|
|
81
|
+
|
|
82
|
+
## Install using PyPi
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
pip install aimodelshare
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Install on Anaconda
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
#### Conda/Mamba Install ( For Mac and Linux Users Only , Windows Users should use pip method ) :
|
|
92
|
+
|
|
93
|
+
Make sure you have conda version >=4.9
|
|
94
|
+
|
|
95
|
+
You can check your conda version with:
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
conda --version
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
To update conda use:
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
conda update conda
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Installing `aimodelshare` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with:
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
conda config --add channels conda-forge
|
|
111
|
+
conda config --set channel_priority strict
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Once the `conda-forge` channel has been enabled, `aimodelshare` can be installed with `conda`:
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
conda install aimodelshare
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
or with `mamba`:
|
|
121
|
+
|
|
122
|
+
```
|
|
123
|
+
mamba install aimodelshare
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
# Moral Compass: Dynamic Metric Support for AI Ethics Challenges
|
|
127
|
+
|
|
128
|
+
The Moral Compass system now supports tracking multiple performance metrics for fairness-focused AI challenges. Track accuracy, demographic parity, equal opportunity, and other fairness metrics simultaneously.
|
|
129
|
+
|
|
130
|
+
## Quick Start with Multi-Metric Tracking
|
|
131
|
+
|
|
132
|
+
```python
|
|
133
|
+
from aimodelshare.moral_compass import ChallengeManager
|
|
134
|
+
|
|
135
|
+
# Create a challenge manager
|
|
136
|
+
manager = ChallengeManager(
|
|
137
|
+
table_id="fairness-challenge-2024",
|
|
138
|
+
username="your_username"
|
|
139
|
+
)
|
|
140
|
+
|
|
141
|
+
# Track multiple metrics
|
|
142
|
+
manager.set_metric("accuracy", 0.85, primary=True)
|
|
143
|
+
manager.set_metric("demographic_parity", 0.92)
|
|
144
|
+
manager.set_metric("equal_opportunity", 0.88)
|
|
145
|
+
|
|
146
|
+
# Track progress
|
|
147
|
+
manager.set_progress(tasks_completed=3, total_tasks=5)
|
|
148
|
+
|
|
149
|
+
# Sync to leaderboard
|
|
150
|
+
result = manager.sync()
|
|
151
|
+
print(f"Moral compass score: {result['moralCompassScore']:.4f}")
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## Moral Compass Score Formula
|
|
155
|
+
|
|
156
|
+
```
|
|
157
|
+
moralCompassScore = primaryMetricValue × ((tasksCompleted + questionsCorrect) / (totalTasks + totalQuestions))
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
This combines:
|
|
161
|
+
- **Performance**: Your primary metric value (e.g., fairness score)
|
|
162
|
+
- **Progress**: Your completion rate across tasks and questions
|
|
163
|
+
|
|
164
|
+
## Features
|
|
165
|
+
|
|
166
|
+
- **Multiple Metrics**: Track accuracy, fairness, robustness, and custom metrics
|
|
167
|
+
- **Primary Metric Selection**: Choose which metric drives leaderboard ranking
|
|
168
|
+
- **Progress Tracking**: Monitor task and question completion
|
|
169
|
+
- **Automatic Scoring**: Server-side computation of moral compass scores
|
|
170
|
+
- **Leaderboard Sorting**: Automatic ranking by moral compass score
|
|
171
|
+
- **Backward Compatible**: Existing users without metrics continue to work
|
|
172
|
+
|
|
173
|
+
## Example: Justice & Equity Challenge
|
|
174
|
+
|
|
175
|
+
See [Justice & Equity Challenge Example](docs/justice_equity_challenge_example.md) for detailed examples including:
|
|
176
|
+
- Multi-metric fairness tracking
|
|
177
|
+
- Progressive challenge completion
|
|
178
|
+
- Leaderboard queries
|
|
179
|
+
- Custom fairness criteria
|
|
180
|
+
|
|
181
|
+
## API Methods
|
|
182
|
+
|
|
183
|
+
### ChallengeManager
|
|
184
|
+
|
|
185
|
+
```python
|
|
186
|
+
from aimodelshare.moral_compass import ChallengeManager
|
|
187
|
+
|
|
188
|
+
manager = ChallengeManager(table_id="my-table", username="user1")
|
|
189
|
+
|
|
190
|
+
# Set metrics
|
|
191
|
+
manager.set_metric("accuracy", 0.90, primary=True)
|
|
192
|
+
manager.set_metric("fairness", 0.95)
|
|
193
|
+
|
|
194
|
+
# Set progress
|
|
195
|
+
manager.set_progress(tasks_completed=4, total_tasks=5)
|
|
196
|
+
|
|
197
|
+
# Preview score locally
|
|
198
|
+
score = manager.get_local_score()
|
|
199
|
+
|
|
200
|
+
# Sync to server
|
|
201
|
+
result = manager.sync()
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### API Client
|
|
205
|
+
|
|
206
|
+
```python
|
|
207
|
+
from aimodelshare.moral_compass import MoralcompassApiClient
|
|
208
|
+
|
|
209
|
+
client = MoralcompassApiClient()
|
|
210
|
+
|
|
211
|
+
# Update moral compass with metrics
|
|
212
|
+
result = client.update_moral_compass(
|
|
213
|
+
table_id="my-table",
|
|
214
|
+
username="user1",
|
|
215
|
+
metrics={"accuracy": 0.90, "fairness": 0.95},
|
|
216
|
+
primary_metric="fairness",
|
|
217
|
+
tasks_completed=4,
|
|
218
|
+
total_tasks=5
|
|
219
|
+
)
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
## Documentation
|
|
223
|
+
|
|
224
|
+
- [Full API Documentation](aimodelshare/moral_compass/README.md)
|
|
225
|
+
- [Justice & Equity Challenge Examples](docs/justice_equity_challenge_example.md)
|
|
226
|
+
- [Integration Tests](tests/test_moral_compass_client_minimal.py)
|
|
227
|
+
|
|
228
|
+
## Moral Compass API URL Configuration
|
|
229
|
+
|
|
230
|
+
The Moral Compass API client requires a base URL to connect to the REST API. The URL is resolved in the following order:
|
|
231
|
+
|
|
232
|
+
### For CI/CD Environments
|
|
233
|
+
|
|
234
|
+
In GitHub Actions workflows, the `MORAL_COMPASS_API_BASE_URL` environment variable is automatically exported from Terraform outputs:
|
|
235
|
+
|
|
236
|
+
```yaml
|
|
237
|
+
- name: Initialize Terraform and get API URL
|
|
238
|
+
working-directory: infra
|
|
239
|
+
run: |
|
|
240
|
+
terraform init
|
|
241
|
+
terraform workspace select dev || terraform workspace new dev
|
|
242
|
+
API_URL=$(terraform output -raw api_base_url)
|
|
243
|
+
echo "MORAL_COMPASS_API_BASE_URL=$API_URL" >> $GITHUB_ENV
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
### For Local Development
|
|
247
|
+
|
|
248
|
+
When developing locally, the API client attempts to resolve the URL in this order:
|
|
249
|
+
|
|
250
|
+
1. **Environment variable** - Set `MORAL_COMPASS_API_BASE_URL` or `AIMODELSHARE_API_BASE_URL`:
|
|
251
|
+
```bash
|
|
252
|
+
export MORAL_COMPASS_API_BASE_URL="https://api.example.com/v1"
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
2. **Cached Terraform outputs** - The client looks for `infra/terraform_outputs.json`
|
|
256
|
+
|
|
257
|
+
3. **Terraform command** - As a fallback, executes `terraform output -raw api_base_url` in the `infra/` directory
|
|
258
|
+
|
|
259
|
+
### Graceful Test Skipping
|
|
260
|
+
|
|
261
|
+
Integration tests that require the Moral Compass API will skip gracefully if the URL cannot be resolved, rather than failing. This allows the test suite to run in environments where the infrastructure is not available (e.g., forks without access to AWS resources).
|
|
262
|
+
|
|
263
|
+
# Resource Cleanup
|
|
264
|
+
|
|
265
|
+
During testing, aimodelshare creates AWS resources including API Gateway REST APIs (playgrounds) and IAM users. To manage and clean up these resources:
|
|
266
|
+
|
|
267
|
+
## Cleanup Script
|
|
268
|
+
|
|
269
|
+
Use the interactive cleanup script to identify and delete test resources:
|
|
270
|
+
|
|
271
|
+
```bash
|
|
272
|
+
# Preview resources without deleting (safe)
|
|
273
|
+
python scripts/cleanup_test_resources.py --dry-run
|
|
274
|
+
|
|
275
|
+
# Interactive cleanup
|
|
276
|
+
python scripts/cleanup_test_resources.py
|
|
277
|
+
|
|
278
|
+
# Cleanup in a specific region
|
|
279
|
+
python scripts/cleanup_test_resources.py --region us-west-2
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
The script will:
|
|
283
|
+
- List all API Gateway REST APIs (playgrounds) in the region
|
|
284
|
+
- List IAM users created by the test framework (prefix: `temporaryaccessAImodelshare`)
|
|
285
|
+
- Show associated resources (policies, access keys)
|
|
286
|
+
- Allow you to select which resources to delete
|
|
287
|
+
- Safely delete selected resources with proper cleanup order
|
|
288
|
+
|
|
289
|
+
## GitHub Action
|
|
290
|
+
|
|
291
|
+
You can also trigger the cleanup workflow from the GitHub Actions tab:
|
|
292
|
+
|
|
293
|
+
1. Go to **Actions** → **Cleanup Test Resources**
|
|
294
|
+
2. Click **Run workflow**
|
|
295
|
+
3. Select **dry-run** mode to preview resources
|
|
296
|
+
4. Review the output and run locally to delete resources
|
|
297
|
+
|
|
298
|
+
For complete documentation, see [CLEANUP_RESOURCES.md](CLEANUP_RESOURCES.md).
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
aimodelshare/README.md,sha256=_OMdUIeIYZnpFlKdafM1KNWaANO2nWdx0QpLE_ZC-Qs,2014
|
|
2
|
+
aimodelshare/__init__.py,sha256=F7jDyJTON6LeCZId2B6WpC7KNjhFqGlKTtd43TeaMVM,3351
|
|
3
|
+
aimodelshare/aimsonnx.py,sha256=VWcRWyUZLdxgwh88aceRr_6tWc7hMR8A3K4U1UY8oho,78269
|
|
4
|
+
aimodelshare/api.py,sha256=3AuTS88M-6zXye3eCjjaAnHpdvLjHHdYMyPZJm9O0Cc,35107
|
|
5
|
+
aimodelshare/auth.py,sha256=7FatqYMDF3x2u9GRuNm-2lvMMLKO1AHtWRxzu36ZVqE,4774
|
|
6
|
+
aimodelshare/aws.py,sha256=7Edz89AM2HjN778APkmJOzLyTLR-AJX16LQPXyyIVXs,18046
|
|
7
|
+
aimodelshare/aws_client.py,sha256=Ce19iwf69BwpuyyJlVN8z1da3c5jf93svsTgx1OWhaA,6784
|
|
8
|
+
aimodelshare/base_image.py,sha256=itaQmX_q5GmgQrL3VNCBJpDGhl4PGA-nLTCbuyNDCCc,4825
|
|
9
|
+
aimodelshare/bucketpolicy.py,sha256=KLyl-BLBiFdTYzCK7tJV8NBJHBKWRlF3_msSTGwgaQQ,3055
|
|
10
|
+
aimodelshare/containerisation.py,sha256=SaiO92wcdCwi8_C31AXNvaCdmZLnOB-7KTyP68-TQpM,8758
|
|
11
|
+
aimodelshare/containerization.py,sha256=Sa9GWxmz1qoDZ3lUQjFa1ctQUSs666I7-Yf0YU3We1U,29609
|
|
12
|
+
aimodelshare/custom_eval_metrics.py,sha256=NghFslmLDyvIkZ27yZhFIItLbzHnNb0bJ2ZO7cqkucw,3170
|
|
13
|
+
aimodelshare/deploy_custom_lambda.py,sha256=HFxxIYI2JrZwPrjqKgFkj6KaCeRBOn6tf9e2fqBUl2U,11045
|
|
14
|
+
aimodelshare/exceptions.py,sha256=gfrwQ7LHNyjgUNHM4X_LNZ7JhKwZv9qWN3DhBaB-f-k,318
|
|
15
|
+
aimodelshare/generatemodelapi.py,sha256=lfJQs93gu_WYrUPmbXrb0Whe3cABLtvA5cXpqq2gs8A,59701
|
|
16
|
+
aimodelshare/leaderboard.py,sha256=wncBVYoL2990ODCxtF8WeNp92Ad4opMpXx7m0wqX2uY,5359
|
|
17
|
+
aimodelshare/model.py,sha256=OP4l9xlhzhjnXVOjZgeKmsp-ig4ulODv0ezIJxCSCBw,60957
|
|
18
|
+
aimodelshare/modeluser.py,sha256=uZJjwaT7zHBEcfttl6JYxvDdabKl36YdgvSjRa-gF8E,7512
|
|
19
|
+
aimodelshare/playground.py,sha256=gn5ty6zD2pxAVMInUVggWYVClkC9MZkkSjYhURXTtx8,89514
|
|
20
|
+
aimodelshare/postprocessormodules.py,sha256=L87fM2mywlInOrgaMETi-7zdHBGbIMRcrXKttQthyQ4,4992
|
|
21
|
+
aimodelshare/preprocessormodules.py,sha256=48HIur55nytD0FdhW1u1wWSAiaIW4uof0cJP1Yoq0T4,13183
|
|
22
|
+
aimodelshare/readme.md,sha256=_OMdUIeIYZnpFlKdafM1KNWaANO2nWdx0QpLE_ZC-Qs,2014
|
|
23
|
+
aimodelshare/reproducibility.py,sha256=5uN_2deZeFWyupR5uXnhu2RUQefXTSt9W0bsLJ86VPc,6227
|
|
24
|
+
aimodelshare/tools.py,sha256=e9nRv_1H06nIum6BW2gyI0EF3GGkQ7-gPrppEPiq5C0,3109
|
|
25
|
+
aimodelshare/utils.py,sha256=8vZ6hx-CGliVxXe_ed_viV_ZPGQVi4SSMRFfD71N1vs,1336
|
|
26
|
+
aimodelshare/color_mappings/color_mapping_keras.csv,sha256=dOJjZ9TGE7EbCPg6rW_r4Ysv45bskH77fXakfDmGKuM,2728
|
|
27
|
+
aimodelshare/color_mappings/color_mapping_pytorch.csv,sha256=rl5gGY5xCnB1F-gWj0j9cAFnok-p1TfW0GPC0x-X8Nk,1960
|
|
28
|
+
aimodelshare/containerization_templates/Dockerfile.txt,sha256=FgI1xQaH20yyxY4Jb4af_yd5nzfucUMSZVel07A3F4o,181
|
|
29
|
+
aimodelshare/containerization_templates/Dockerfile_PySpark.txt,sha256=b_zyhdYxYn0U4gVclaZMZDfvaYqThnSw4Ql3y1rcwOw,687
|
|
30
|
+
aimodelshare/containerization_templates/buildspec.txt,sha256=8xH_mohqLkE1g3XxyDRG8XklCQVSDL-414j6mpSAUsg,532
|
|
31
|
+
aimodelshare/containerization_templates/lambda_function.txt,sha256=nEFoPDXemNcQZs87DD98G9bG6O3iItelJv6Q9_mvOBU,939
|
|
32
|
+
aimodelshare/custom_approach/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
33
|
+
aimodelshare/custom_approach/lambda_function.py,sha256=d1HZlgviHZq4mNBKx4q-RCunDK8P8i9DKZcfv6Nmgzc,479
|
|
34
|
+
aimodelshare/data_sharing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
|
+
aimodelshare/data_sharing/download_data.py,sha256=xJ6ylVO_oAiS72ue5iy2eOFol5Bnc7ZI8-OW0TC9sIw,25317
|
|
36
|
+
aimodelshare/data_sharing/share_data.py,sha256=dMOP0-PTSpviOeHi3Nvj-uiq5PlIfk_SN5nN92j4PnI,13964
|
|
37
|
+
aimodelshare/data_sharing/utils.py,sha256=865lN8-oGFi_U_zRaNnGB8Bd0sC8dN_iI5krZOSt_Ts,236
|
|
38
|
+
aimodelshare/data_sharing/data_sharing_templates/Dockerfile.txt,sha256=27wmp7b0rXqJQsumhPxCvGHmUcDiiVgrC6i7DmY7KQA,77
|
|
39
|
+
aimodelshare/data_sharing/data_sharing_templates/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
40
|
+
aimodelshare/data_sharing/data_sharing_templates/buildspec.txt,sha256=ayXCqAdg3D71KeqTAC0foWwJc1IvcBbmIToRVpbXOLw,556
|
|
41
|
+
aimodelshare/data_sharing/data_sharing_templates/codebuild_policies.txt,sha256=c220CjAI2icXWTWmENYq4kQlESVZWC3Le0Thg4LQAsU,3855
|
|
42
|
+
aimodelshare/data_sharing/data_sharing_templates/codebuild_trust_relationship.txt,sha256=b7aeR_wsN92r9HTEKD35ciPXdlMh-HBkJJ2EA8m3UpE,242
|
|
43
|
+
aimodelshare/documentation/Makefile,sha256=4zv3TVkTACm6JBaKgTES3ZI9cETXgM6ULbZkXZP1as8,638
|
|
44
|
+
aimodelshare/documentation/make.bat,sha256=9UgKGb4SdP006622fJiFxeFT1BeycYAs6hDbV1xwPy8,804
|
|
45
|
+
aimodelshare/documentation/requirements.txt,sha256=PsZFHanD7npyUxau1OgfNUl_eQELXeb1QsWPSuKllec,27
|
|
46
|
+
aimodelshare/documentation/karma_sphinx_theme/__init__.py,sha256=ThVs3BihKg1zF5B_fMLIghCtHBufTsExUqxqLGZh7J8,797
|
|
47
|
+
aimodelshare/documentation/karma_sphinx_theme/_version.py,sha256=gTMjhN_LP513Y6PCUxlEMcDaqy2-TBGD1Yoj_4ZbwuA,80
|
|
48
|
+
aimodelshare/documentation/karma_sphinx_theme/breadcrumbs.html,sha256=rU-XDG8kUodl1h8VkChhU6b1qBOS1gQUAPTOSoLF6bM,3099
|
|
49
|
+
aimodelshare/documentation/karma_sphinx_theme/layout.html,sha256=wg6ArXHCDl4XVUIxT_8aB3y7OH9hwa4yz3qDLwESSqE,6192
|
|
50
|
+
aimodelshare/documentation/karma_sphinx_theme/search.html,sha256=MC6XnipbpE3E-Nn5CMg-3oGm7NM6tT4x-z-kHockrlY,1529
|
|
51
|
+
aimodelshare/documentation/karma_sphinx_theme/searchbox.html,sha256=wz3zuCPKYez6Pht6B8C4UbcX3QAsM4oR1tXX3RUbx-o,513
|
|
52
|
+
aimodelshare/documentation/karma_sphinx_theme/theme.conf,sha256=nwP_mdgMvktGRP0zmqkGYmdNmmKkbS2HsOYoNDDHPUE,146
|
|
53
|
+
aimodelshare/documentation/karma_sphinx_theme/static/css/custom.css,sha256=lfnhvIHzI6O4cjkm5b3HQVlyizI2Bs1Pxojoj71cf80,39
|
|
54
|
+
aimodelshare/documentation/karma_sphinx_theme/static/css/custom.css.map,sha256=tWQsNTBLIUd50WCtFu9MrbQRJvVJK7dXBs_BwyHJdmo,71
|
|
55
|
+
aimodelshare/documentation/karma_sphinx_theme/static/css/theme.css,sha256=bqMwmnwKDpSkPm2_4X71Fii60oNmaiNRTu0Gg3ZYOFg,43005
|
|
56
|
+
aimodelshare/documentation/karma_sphinx_theme/static/css/theme.css.map,sha256=_Grjj_w-jWVPNX-tlqT2lz4WNCzkQJ-7MgHC_YpOpKc,133076
|
|
57
|
+
aimodelshare/documentation/karma_sphinx_theme/static/css/theme.min.css,sha256=5gArRbpZW8TgJ3Uwo9a08d1t7ipGAtqFS4iYPGGm0kc,35271
|
|
58
|
+
aimodelshare/documentation/karma_sphinx_theme/static/css/theme.min.css.map,sha256=T1RvLsFKOQ1CUkpijIZEpGyPgucbDYBRGC1EDeWXfTU,161215
|
|
59
|
+
aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.eot,sha256=Bmvs2R701Eij00jGYbv6LRjrIoUqXW0keb0TdPqZ1xU,8468
|
|
60
|
+
aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.svg,sha256=b5lFTaa-HNVRwpWMvg4QHyoBhL0_ULRG4oeL2CMkrf4,5922
|
|
61
|
+
aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.ttf,sha256=fYccLTbzAbm_zcrJBgpZoZtOA37yCv9GU3cQMj5AgKM,8300
|
|
62
|
+
aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.woff,sha256=eqF6RQ1SZhKy9TcOoLVIWb9jhMytnxKohQ-aYTH2wwQ,5168
|
|
63
|
+
aimodelshare/documentation/karma_sphinx_theme/static/font/fontello.woff2,sha256=LlKCOZIIN2Zslu-xg3muLSeT3R3Szvw9YmfwnkQMado,4344
|
|
64
|
+
aimodelshare/documentation/karma_sphinx_theme/static/js/theme.js,sha256=wSrJCeB0uI_s_2qfwkJL6Oz-0IAqORJkT-nFm40Xyss,1948
|
|
65
|
+
aimodelshare/documentation/source/about.rst,sha256=rGohB_TiPc_BKxhXk8tqxPUTDWIa0ybpVC4xoOq4pKM,1366
|
|
66
|
+
aimodelshare/documentation/source/advanced_features.rst,sha256=Oyltn2NdsAbC9np2qQjWmhTMjRI4DNOaON75cnVgqog,5598
|
|
67
|
+
aimodelshare/documentation/source/competition.rst,sha256=SB1SciB1NR3QmKH1AdpEH2hqkmkrH3Ae7BDr71GGir0,8528
|
|
68
|
+
aimodelshare/documentation/source/conf.py,sha256=HndEnqITwl-rMTOV3vwXjW4y7ghCUMgXWaw33yL6JrQ,2028
|
|
69
|
+
aimodelshare/documentation/source/create_credentials.rst,sha256=5vFCDVmDEPZpMwi60nZLfOiuRdVi0v5unGD2hAuJ7Ag,3768
|
|
70
|
+
aimodelshare/documentation/source/example_notebooks.rst,sha256=dt2QDBwQqb2ocK78iUfeBhG2R0KlyrJuhRXqO7tYqHs,8854
|
|
71
|
+
aimodelshare/documentation/source/functions.rst,sha256=g7fMFuieRPLDrgRG0HlsgJxoo5ZiwHVxVCU_aaYQ5Ys,4727
|
|
72
|
+
aimodelshare/documentation/source/gettingstarted.rst,sha256=za4FNw--vDkWlOLybQypCEXz4_Mg2ABVgcG1ei7Sshk,14863
|
|
73
|
+
aimodelshare/documentation/source/index.rst,sha256=A6V-8vtQE4ndX5KF4-V3sYg4_8k4ab2nElKmJ5RKg00,2452
|
|
74
|
+
aimodelshare/documentation/source/modelplayground.rst,sha256=I5p5cGiSGWIHhDv-u8-tgwXYbHV2ZwVmnbzCZWu-J4M,6712
|
|
75
|
+
aimodelshare/documentation/source/images/creds1.png,sha256=vWlfNmkJrcdWD8Eezf7gZ54RDy5_WKq3fVqg97PjgEs,15684
|
|
76
|
+
aimodelshare/documentation/source/images/creds2.png,sha256=BYlMTXMAbNHQo5_-DfvjX4SDKQe1AKzl_EEDhHfl_Yk,80398
|
|
77
|
+
aimodelshare/documentation/source/images/creds3.png,sha256=30KC9TJ5ve6U7WCKTZ-Q1IA2dTXvKs5lfPV-mWzX1Cg,201488
|
|
78
|
+
aimodelshare/documentation/source/images/creds4.png,sha256=TgbBBzym2nMH-dAdW30DCZ4Hg6WlZUH2xp7pAuNuy90,208089
|
|
79
|
+
aimodelshare/documentation/source/images/creds5.png,sha256=2sqSJ1EzfKwPkcbSY06H5PZE0P8rNT6gH_sF1LB-jEc,123164
|
|
80
|
+
aimodelshare/documentation/source/images/creds_file_example.png,sha256=BdhHgLlW4Ne4N-8jG-WgH8yAvYLdYoQmkRfZ2kvso3A,45191
|
|
81
|
+
aimodelshare/documentation/source/images/predict_tab.png,sha256=F8FRy-_yltduYTthAR3rTmGKLsCLM157wYzx46r7Phg,95857
|
|
82
|
+
aimodelshare/iam/codebuild_policy.txt,sha256=c220CjAI2icXWTWmENYq4kQlESVZWC3Le0Thg4LQAsU,3855
|
|
83
|
+
aimodelshare/iam/codebuild_trust_relationship.txt,sha256=b7aeR_wsN92r9HTEKD35ciPXdlMh-HBkJJ2EA8m3UpE,242
|
|
84
|
+
aimodelshare/iam/lambda_policy.txt,sha256=wmUHlOi2qfxj805u09hZ6MxxmA74DOhA1yIV526k4sU,278
|
|
85
|
+
aimodelshare/iam/lambda_trust_relationship.txt,sha256=vbL393OWbYgjOXAD-7kmb3_2Ut3im7mGrDwMckJ2EUA,239
|
|
86
|
+
aimodelshare/json_templates/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
87
|
+
aimodelshare/json_templates/api_json.txt,sha256=PO9as3FAA-1HPj7XosVdctpGRO57bGgt4ozmVTTsclk,2014
|
|
88
|
+
aimodelshare/json_templates/integration_response.txt,sha256=c0k9Vq-tXJYUwYaapmkWUyepT5OQ-8TH54mKsICUIZY,316
|
|
89
|
+
aimodelshare/json_templates/lambda_policy_1.txt,sha256=wmUHlOi2qfxj805u09hZ6MxxmA74DOhA1yIV526k4sU,278
|
|
90
|
+
aimodelshare/json_templates/lambda_policy_2.txt,sha256=H-en4M8I7qkTo_AsQQTgDug9lxr5Omeu2rGycpdkF9Y,147
|
|
91
|
+
aimodelshare/json_templates/lambda_role_1.txt,sha256=OFHSTAknf1LWu_0JBRuJoc6fvXt1SyZUuZs0RmkhR_k,239
|
|
92
|
+
aimodelshare/json_templates/lambda_role_2.txt,sha256=Tt2rHUCyGErjsYA2Ix5WIq4b7tZk2lFXiuNA2g-BSys,350
|
|
93
|
+
aimodelshare/json_templates/auth/policy.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
94
|
+
aimodelshare/json_templates/auth/role.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
95
|
+
aimodelshare/json_templates/eval/policy.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
96
|
+
aimodelshare/json_templates/eval/role.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
97
|
+
aimodelshare/json_templates/function/policy.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
98
|
+
aimodelshare/json_templates/function/role.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
99
|
+
aimodelshare/main/1.txt,sha256=PCRy8OyOfnYPM-1h8R_WNlZvpZNMiuajX8TjzVCTKqU,4146
|
|
100
|
+
aimodelshare/main/1B.txt,sha256=YMfZVQTpJ3qBNNUEugGk52JEqEo6jhAPajVQ0GMK-z4,3616
|
|
101
|
+
aimodelshare/main/2.txt,sha256=wX3rtiUXDX5tRY6HDH_59rHS-1hIXVTrWQ7KuH46F_8,4609
|
|
102
|
+
aimodelshare/main/3.txt,sha256=IvNnt69PVTy1WXOg17nZmubeXzC_zvr_BZv40PTShHE,4110
|
|
103
|
+
aimodelshare/main/4.txt,sha256=Zr3XlFI07E0EeLPEviW1N4V8IIFl90g2ggTtqgR0DTE,4260
|
|
104
|
+
aimodelshare/main/5.txt,sha256=J93SZ1DAKwzXHrRH1SjUnPdUS4W4_N-1yziDwCrm9TU,3522
|
|
105
|
+
aimodelshare/main/6.txt,sha256=DqSveJ3d5FhQ4HZQ7hzEcVLURO5dK1uBtgWIfEPaxj4,3518
|
|
106
|
+
aimodelshare/main/7.txt,sha256=a8D5As2ZffV5kkwR0wUJ8V_YidYkyesWEtES12o57Qo,4377
|
|
107
|
+
aimodelshare/main/8.txt,sha256=MfcEQe9Gv6RSmWL3kd7oYkRkdDdkN4bPxEG43QVs7ms,4513
|
|
108
|
+
aimodelshare/main/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
109
|
+
aimodelshare/main/authorization.txt,sha256=lBWFZ1pyNuYFSEEWQbfEAZFDspcVE1guzlfpES7HNxk,10942
|
|
110
|
+
aimodelshare/main/eval_classification.txt,sha256=gCBU71rbXRlkBwefVN3WhwVJX9fXh6bwOCa7ofLMdnA,3081
|
|
111
|
+
aimodelshare/main/eval_lambda.txt,sha256=r3GqJodO5QG6jeK4xWUzLrXM9K7XLXeUJouhz6efQbA,62831
|
|
112
|
+
aimodelshare/main/eval_regression.txt,sha256=iQeE9mbOkg-BDF9TnoQmglo86jBJitJQCvaf1eELzrs,3111
|
|
113
|
+
aimodelshare/main/lambda_function.txt,sha256=-XkuD2YUOWNryNT7rBPjlts588UAeE949TUqeVGCRlQ,150
|
|
114
|
+
aimodelshare/main/nst.txt,sha256=8kTsR18kDEcaQbv6091XDq1tRiqqFxdqfCteslR_udk,4941
|
|
115
|
+
aimodelshare/moral_compass/README.md,sha256=2wTCI0s43Tm9WXRIJjtj6h-FFHsdHhzx-Aimy_UupBY,11888
|
|
116
|
+
aimodelshare/moral_compass/__init__.py,sha256=A1IMfgTspfRQ_pJ0YztLA1Bwv6l7OYl3phss47VYc5Q,2113
|
|
117
|
+
aimodelshare/moral_compass/_version.py,sha256=GhviEK9nfN1o9XunS8V4jXqgMmcB-Vpp2VCYWplLzqE,80
|
|
118
|
+
aimodelshare/moral_compass/api_client.py,sha256=3WVWBuuEJ9x0R6raUu6TKZPv2swgVxCDwKXKg8Esq24,22393
|
|
119
|
+
aimodelshare/moral_compass/challenge.py,sha256=p--uqP30tPQnVcOPs4LEJFaXlqTRL9Zb7SVkEvggl2U,12971
|
|
120
|
+
aimodelshare/moral_compass/config.py,sha256=8HsoTreAAdXaWOdg30B1IJXwIGMBNEz7hqgNZpAFUhI,6119
|
|
121
|
+
aimodelshare/moral_compass/apps/__init__.py,sha256=VpG24plcdTi3XaCCjqZMmhkgNlEGweUeQurkI2LTqYY,3405
|
|
122
|
+
aimodelshare/moral_compass/apps/ai_consequences.py,sha256=VlbvfjIW7IXre5SGxwGwi9TC6pe6--hhRA7-KcEf3LY,33804
|
|
123
|
+
aimodelshare/moral_compass/apps/bias_detective.py,sha256=46D2GT38yaoMYUZKQoex7B6Lj6Mw40gyaQDGlSEU13M,27956
|
|
124
|
+
aimodelshare/moral_compass/apps/ethical_revelation.py,sha256=Sbiu1k7p8tNyVXJrNDHBbI9mEZuIPsEcpOZK7S_oFok,55844
|
|
125
|
+
aimodelshare/moral_compass/apps/fairness_fixer.py,sha256=NhHsO__6uaheuvvlpMJUZh0AAHMCMD32OltLSEJqVmk,37832
|
|
126
|
+
aimodelshare/moral_compass/apps/judge.py,sha256=1BF8eHzHPodMJPQssrk9M2Ep1aFm6ZOM9EYErngXDaU,35478
|
|
127
|
+
aimodelshare/moral_compass/apps/justice_equity_upgrade.py,sha256=oNnVBfe92IZkLKIfAmql7p_upWPlmOmJf3mDLRvJncI,33804
|
|
128
|
+
aimodelshare/moral_compass/apps/mc_integration_helpers.py,sha256=kIgQbT28ryD1qTev6UruBT9TE9XPaSJElpuegG0G-Oc,27541
|
|
129
|
+
aimodelshare/moral_compass/apps/model_building_game.py,sha256=wCz5KSM4Pk7nw84wwM8EH0SjckRNZTCEJ7bpZo4umRg,74785
|
|
130
|
+
aimodelshare/moral_compass/apps/model_building_game_beginner.py,sha256=kJ-Vx9t4irlPjvXqJnN8HMgfV7nojxhuEppch8_NrqM,27415
|
|
131
|
+
aimodelshare/moral_compass/apps/moral_compass_challenge.py,sha256=l1DnP_k60Qw1I5uqJUYfKIKbNZ0JrxsLsDi_dHbwYFk,45954
|
|
132
|
+
aimodelshare/moral_compass/apps/session_auth.py,sha256=FVPpkuA_q3PG69uVADs0Kcsq_ymtZy90sG50zaARAdI,7975
|
|
133
|
+
aimodelshare/moral_compass/apps/shared_activity_styles.css,sha256=iSP4Mew38-qTe6rVBpEX2CuiqDr2YGqE92DiO71yM48,8137
|
|
134
|
+
aimodelshare/moral_compass/apps/tutorial.py,sha256=th02KQcDOdn-D3xVmp7B89G56Lz-cYjASZ-L67ydr_c,16229
|
|
135
|
+
aimodelshare/moral_compass/apps/what_is_ai.py,sha256=pOSJiAZOXWbZkoQwMxOMMQwSHJzrb7U_a3byok8wk6A,51245
|
|
136
|
+
aimodelshare/placeholders/model.onnx,sha256=i04ndsRw5VBTOpIH-LHqTjAPHcJZNzyWSSz1zSmukBw,3464
|
|
137
|
+
aimodelshare/placeholders/preprocessor.zip,sha256=463dahdrgzYzFY338r_be7xptPm_Z1kNgu52SMsFVAU,2930
|
|
138
|
+
aimodelshare/pyspark/1.txt,sha256=FQYyw5s8bnrDFIl6kzqXZ6qGuh-N68SN4mRL561vjto,6529
|
|
139
|
+
aimodelshare/pyspark/1B.txt,sha256=XJ9Cqm0R5SNu0ovrIkiqCcywPgY6yyInmLQis9U9DLI,6078
|
|
140
|
+
aimodelshare/pyspark/2.txt,sha256=fcJrxIur1tdd6xXDMrD73SzF6siuAZMgRrCa0-9cr70,7055
|
|
141
|
+
aimodelshare/pyspark/3.txt,sha256=3y8Gh0gFtsR-A7T8ciybDoJbxEFkNts9XFYYFK3Bq1Q,6596
|
|
142
|
+
aimodelshare/pyspark/4.txt,sha256=xXqjOZV8zuoy3GwyzNh-87gFJ07mimWLHAguxM5uDxk,6377
|
|
143
|
+
aimodelshare/pyspark/5.txt,sha256=q8jGbHILEJ58WkgoQDNhVpm2PhpaBRNiimxvs8KzNgo,5988
|
|
144
|
+
aimodelshare/pyspark/6.txt,sha256=j8t-akOZeEL6DX6xChvMU25V5_1z7OwXYlb50XtO2m0,5980
|
|
145
|
+
aimodelshare/pyspark/7.txt,sha256=88ZJq-b31Zczv6dl0wbbSuEraBq5TJe2SFaxIu16-L0,6819
|
|
146
|
+
aimodelshare/pyspark/8.txt,sha256=es6rcjUvBNUuSQOw1DZT6fDn3C0oHMGuQgXaC-cB5FA,6906
|
|
147
|
+
aimodelshare/pyspark/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
148
|
+
aimodelshare/pyspark/authorization.txt,sha256=fBKP16TvJ3wEoex2qNz9OuTAaTIKGfVE1QdhFdEtEPM,10589
|
|
149
|
+
aimodelshare/pyspark/eval_classification.txt,sha256=gCBU71rbXRlkBwefVN3WhwVJX9fXh6bwOCa7ofLMdnA,3081
|
|
150
|
+
aimodelshare/pyspark/eval_lambda.txt,sha256=zAkjP6tvTBLsPF3xBK8nwvV1UNVD7iWytK_owVnQg5Q,51474
|
|
151
|
+
aimodelshare/pyspark/eval_regression.txt,sha256=iQeE9mbOkg-BDF9TnoQmglo86jBJitJQCvaf1eELzrs,3111
|
|
152
|
+
aimodelshare/pyspark/lambda_function.txt,sha256=-XkuD2YUOWNryNT7rBPjlts588UAeE949TUqeVGCRlQ,150
|
|
153
|
+
aimodelshare/pyspark/nst.txt,sha256=ZJ8xM80xisQf2hGMUWliKcbeE7HH214Kzd_Ie1wu-q0,7110
|
|
154
|
+
aimodelshare/python/my_preprocessor.py,sha256=EErJspccB73aTqlyGtPvjojR6TdvUmzj5kng5P-U0eA,1949
|
|
155
|
+
aimodelshare/sam/Dockerfile.txt,sha256=NtlBu2hvj6ZaquN0oQaEbEQ0b3N10boXrlpXWm1qI-A,182
|
|
156
|
+
aimodelshare/sam/Dockerfile_PySpark.txt,sha256=v4NllOGpyj9VVwUyy8fFnK74QBTJTnCfRxcuBBPaY_M,708
|
|
157
|
+
aimodelshare/sam/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
158
|
+
aimodelshare/sam/buildspec.txt,sha256=wemz_PZ4Saf8M9otCnhljxa30AwWtNkGCSZ_nclhFbg,625
|
|
159
|
+
aimodelshare/sam/codebuild_policies.txt,sha256=c220CjAI2icXWTWmENYq4kQlESVZWC3Le0Thg4LQAsU,3855
|
|
160
|
+
aimodelshare/sam/codebuild_trust_relationship.txt,sha256=b7aeR_wsN92r9HTEKD35ciPXdlMh-HBkJJ2EA8m3UpE,242
|
|
161
|
+
aimodelshare/sam/codepipeline_policies.txt,sha256=267HMXMnbP7qRASkmFZYSx-2HmKf5oMvJRvNnxC4EyY,5181
|
|
162
|
+
aimodelshare/sam/codepipeline_trust_relationship.txt,sha256=yfPYvZlN3fnaIHs7I3ENMMveigIE89mufV9pvR8EQH8,245
|
|
163
|
+
aimodelshare/sam/spark-class.txt,sha256=chyJBxDzCzlUKXzVQYTzuJ2PXCTwg8_gd1yfnI-xbRw,217
|
|
164
|
+
aimodelshare/sam/template.txt,sha256=JKSvEOZNaaLalHSx7r9psJg_6LLCb0XLAYi1-jYPu3M,1195
|
|
165
|
+
aimodelshare/utils/__init__.py,sha256=6ieChHjYDsn_gSyeOiLeWW5hWkUfZUucEzSFyBN7xck,1973
|
|
166
|
+
aimodelshare/utils/optional_deps.py,sha256=t0ZcPlaAKEQqBpD-GDbFGg9a-qp2fsqonTVM0dLWNV4,1257
|
|
167
|
+
aimodelshare-0.3.7.dist-info/licenses/LICENSE,sha256=XdPthYienQee9LH1duXNGtsj6GUTXPvtf_1MpC8WhL4,115
|
|
168
|
+
aimodelshare-0.3.7.dist-info/METADATA,sha256=2gBv1s5MeuR-qAG31o5Qbdxj_xQnjxD-oH2aevqV3I4,10076
|
|
169
|
+
aimodelshare-0.3.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
170
|
+
aimodelshare-0.3.7.dist-info/top_level.txt,sha256=d-0DAtZDZsvfauQzUjXHJRKVYfaqMWZXz3WGmmIzE5w,13
|
|
171
|
+
aimodelshare-0.3.7.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
aimodelshare
|