anttip commited on
Commit
fb70dcc
1 Parent(s): 9253efb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -2625,8 +2625,7 @@ model = EncoderCT2fromHfHub(
2625
  compute_type="int8_float16"
2626
  )
2627
  outputs = model.generate(
2628
- text=["I like soccer", "I like tennis", "The eiffel tower is in Paris"],
2629
- max_length=64,
2630
  ) # perform downstream tasks on outputs
2631
  outputs["pooler_output"]
2632
  outputs["last_hidden_state"]
 
2625
  compute_type="int8_float16"
2626
  )
2627
  outputs = model.generate(
2628
+ text=["I like soccer", "I like tennis", "The eiffel tower is in Paris"]
 
2629
  ) # perform downstream tasks on outputs
2630
  outputs["pooler_output"]
2631
  outputs["last_hidden_state"]