shreyajn commited on
Commit
14bfc29
·
verified ·
1 Parent(s): 04fd4d4

Upload README.md with huggingface_hub

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