# Get old model without \`dvc exp apply\`

**URL:** <https://discuss.dvc.org/t/get-old-model-without-dvc-exp-apply/1803>\
**Category:** Questions\
**Created:** [October 13, 2023, 9:35am UTC](https://discuss.dvc.org/t/get-old-model-without-dvc-exp-apply/1803 "2023-10-13T09:35:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anupam](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@anupam](https://discuss.dvc.org/u/anupam)\
**Post date:** [October 13, 2023, 9:35am UTC](https://discuss.dvc.org/t/get-old-model-without-dvc-exp-apply/1803/1 "2023-10-13T09:35:41Z")

</div>

Use case:

I have an model which is tracked using `-o` flag of an stage. Now, I want to get the version of the model that was an output of an old experiment.

How to do this without `dvc exp apply`. Applying experiment will change the code and I don’t my code to change.

Note that I have not tracked the file using the syntax `dvc add <filename>`. Because, I observed that the command `dvc exp apply` also brings back the model version. But, now I only need the model without changing the code.

---

<div class="post-metadata">

**Author:** ![dberenbaum](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@dberenbaum](https://discuss.dvc.org/u/dberenbaum)\
**Post date:** [October 13, 2023, 11:54am UTC](https://discuss.dvc.org/t/get-old-model-without-dvc-exp-apply/1803/2 "2023-10-13T11:54:56Z")

</div>

Hi @anupam, you can use `dvc get -f --rev <expname> . <filename>`. You can find the docs for this command in [get](https://dvc.org/doc/command-reference/get).
