Congrats on implementing your model! Now it's time to test it out.
Congrats on implementing your model! Now it's time to test it out.
To make your model usable via the command line interface to `lm-eval` using `main.py`, you'll need to tell `lm-eval` what your model's name is.
To make your model usable via the command line interface to `lm-eval` using `main.py`, you'll need to tell `lm-eval` what your model's name is.
This is done via a *decorator*, `lm_eval.api.registry.register_model`. Using `register_model()`, one can both tell the package what the model's name(s) to be used are when invoking it with `python main.py --model <name>` and alert `lm-eval` to the model's existence.
...
...
@@ -87,4 +87,4 @@ Using this decorator results in the class being added to an accounting of the us
## Conclusion
After reading this guide, you should be able to add new model APIs or implementations to the Eval Harness library!
\ No newline at end of file
After reading this guide, you should be able to add new model APIs or implementations to the Eval Harness library!