Skip to content

Commit

Permalink
change input text
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed May 28, 2024
1 parent 62c1f47 commit b458e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/onnxruntime/test_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -2279,7 +2279,7 @@ def test_inference_old_onnx_model(self, use_cache):
tokenizer = get_preprocessor(model_id)
model = AutoModelForCausalLM.from_pretrained("gpt2")
tokenizer = get_preprocessor(model_id)
text = "This is a sample output"
text = "The capital of France is"
tokens = tokenizer(text, return_tensors="pt")
onnx_model = ORTModelForCausalLM.from_pretrained(model_id, use_cache=use_cache, use_io_binding=use_cache)

Expand Down

0 comments on commit b458e28

Please sign in to comment.