Skip to content
Snippets Groups Projects
Commit 31b0c5bd authored by yilun_jin's avatar yilun_jin
Browse files

Update models/user_config.py

parent 609359d8
No related branches found
No related tags found
No related merge requests found
# Importing DummyModel from the models package.
# The DummyModel class is located in the dummy_model.py file inside the 'models' directory.
from models.dummy_model import DummyModel
from models.dummy_model import DummyModel, Vicuna2ZeroShot
# This line establishes an alias for the DummyModel class to be used within this script.
# Instead of directly using DummyModel everywhere in the code, we're assigning it to 'UserModel'.
# This approach allows for easier reference to your model class when evaluating your models,
UserModel = DummyModel
# When implementing your own model please follow this pattern:
#
# from models.your_model import YourModel
......@@ -17,3 +18,6 @@ UserModel = DummyModel
# Finally, assign YourModel to UserModel as shown below to use it throughout your script.
#
# UserModel = YourModel
# For example, you can try the Vicuna2ZeroShot baseline by uncommenting the following line.
# UserModel = Vicuna2ZeroShot
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment