diff options
| author | Jonas Knobloch <jonas.knobloch@t-online.de> | 2025-11-13 23:04:57 +0100 |
|---|---|---|
| committer | Jonas Knobloch <jonas.knobloch@t-online.de> | 2025-11-17 22:41:09 +0100 |
| commit | 7073b124c5eb31169442ef18d1627b7ed7401280 (patch) | |
| tree | f472b8a937fb5e2e3f235723cd5bafe422b3b647 /gpt2/scripts | |
| parent | 019a25a6082a8cde372304e34dcd0ae3d5e875ed (diff) | |
Scaffold byte-pair correction
Diffstat (limited to 'gpt2/scripts')
| -rw-r--r-- | gpt2/scripts/conv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpt2/scripts/conv.py b/gpt2/scripts/conv.py index cf0cbb8..e3773e2 100644 --- a/gpt2/scripts/conv.py +++ b/gpt2/scripts/conv.py @@ -12,4 +12,4 @@ from optimum.onnxruntime import ORTModelForCausalLM model_id = "gpt2" model = ORTModelForCausalLM.from_pretrained(model_id, export=True, use_cache=True) -model.save_pretrained("onnx-gpt2")
\ No newline at end of file +model.save_pretrained("../models/base")
\ No newline at end of file |
