You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below you can find a version table of currently available Hugging Face DLCs. The table doesn't include the full `image_uri` here are two examples on how to construct those if needed.
-`dlc-aws-account-id`: The AWS account ID of the account that owns the ECR repository. You can find them in the [here](https://github.com/aws/sagemaker-python-sdk/blob/e0b9d38e1e3b48647a02af23c4be54980e53dc61/src/sagemaker/image_uri_config/huggingface.json#L21)
16
+
-`region`: The AWS region where you want to use it.
17
+
-`framework`: The framework you want to use, either `pytorch` or `tensorflow`.
18
+
-`(training | inference)`: The training or inference mode.
19
+
-`framework-version`: The version of the framework you want to use.
20
+
-`transformers-version`: The version of the transformers library you want to use.
21
+
-`device`: The device you want to use, either `cpu` or `gpu`.
22
+
-`python-version`: The version of the python of the DLC.
23
+
-`device-tag`: The device tag you want to use. The device tag can include os version and cuda version
@@ -106,11 +158,11 @@ a deck (one of them the OWNER). Both times, we never heard from them. Not a ca
106
158
107
159
```json
108
160
{
109
-
"inputs": "Hugging Face, the winner of VentureBeat’s Innovation in Natural Language Process/Understanding Award for 2021, is looking to level the playing field. The team, launched by Clément Delangue and Julien Chaumond in 2016, was recognized for its work in democratizing NLP, the global market value for which is expected to hit $35.1 billion by 2026. This week, Google’s former head of Ethical AI Margaret Mitchell joined the team.",
110
-
"paramters": {
111
-
"repetition_penalty": 4.0,
112
-
"length_penalty": 1.5
113
-
}
161
+
"inputs": "Hugging Face, the winner of VentureBeat’s Innovation in Natural Language Process/Understanding Award for 2021, is looking to level the playing field. The team, launched by Clément Delangue and Julien Chaumond in 2016, was recognized for its work in democratizing NLP, the global market value for which is expected to hit $35.1 billion by 2026. This week, Google’s former head of Ethical AI Margaret Mitchell joined the team.",
162
+
"paramters": {
163
+
"repetition_penalty": 4.0,
164
+
"length_penalty": 1.5
165
+
}
114
166
}
115
167
```
116
168
@@ -125,6 +177,7 @@ The Inference Toolkit implements various additional environment variables to sim
125
177
```bash
126
178
HF_TASK="question-answering"
127
179
```
180
+
128
181
**`HF_MODEL_ID`**
129
182
130
183
`HF_MODEL_ID` defines the model ID which is automatically loaded from [hf.co/models](https://huggingface.co/models) when creating a SageMaker endpoint. All of the 🤗 Hub's 10,000+ models are available through this environment variable.
0 commit comments