shreyajn commited on
Commit
ef20522
·
verified ·
1 Parent(s): b1e13dd

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +14 -14
README.md CHANGED
@@ -185,13 +185,13 @@ provisioned in the cloud. Once the job is submitted, you can navigate to a
185
  provided job URL to view a variety of on-device performance metrics.
186
  ```python
187
  encoder_profile_job = hub.submit_profile_job(
188
- model=encoder_target_model,
189
- device=device,
190
- )
191
  decoder_profile_job = hub.submit_profile_job(
192
- model=decoder_target_model,
193
- device=device,
194
- )
195
 
196
  ```
197
 
@@ -202,17 +202,17 @@ on sample input data on the same cloud hosted device.
202
  ```python
203
  encoder_input_data = encoder_model.sample_inputs()
204
  encoder_inference_job = hub.submit_inference_job(
205
- model=encoder_target_model,
206
- device=device,
207
- inputs=encoder_input_data,
208
- )
209
  encoder_inference_job.download_output_data()
210
  decoder_input_data = decoder_model.sample_inputs()
211
  decoder_inference_job = hub.submit_inference_job(
212
- model=decoder_target_model,
213
- device=device,
214
- inputs=decoder_input_data,
215
- )
216
  decoder_inference_job.download_output_data()
217
 
218
  ```
 
185
  provided job URL to view a variety of on-device performance metrics.
186
  ```python
187
  encoder_profile_job = hub.submit_profile_job(
188
+ model=encoder_target_model,
189
+ device=device,
190
+ )
191
  decoder_profile_job = hub.submit_profile_job(
192
+ model=decoder_target_model,
193
+ device=device,
194
+ )
195
 
196
  ```
197
 
 
202
  ```python
203
  encoder_input_data = encoder_model.sample_inputs()
204
  encoder_inference_job = hub.submit_inference_job(
205
+ model=encoder_target_model,
206
+ device=device,
207
+ inputs=encoder_input_data,
208
+ )
209
  encoder_inference_job.download_output_data()
210
  decoder_input_data = decoder_model.sample_inputs()
211
  decoder_inference_job = hub.submit_inference_job(
212
+ model=decoder_target_model,
213
+ device=device,
214
+ inputs=decoder_input_data,
215
+ )
216
  decoder_inference_job.download_output_data()
217
 
218
  ```