Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Amazon KDD Cup 2024 Starter Kit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AIcrowd
Challenges
Amazon KDD Cup 2024
Amazon KDD Cup 2024 Starter Kit
Commits
31b0c5bd
There was an error fetching the commit references. Please try again later.
Commit
31b0c5bd
authored
1 year ago
by
yilun_jin
Browse files
Options
Downloads
Patches
Plain Diff
Update models/user_config.py
parent
609359d8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
models/user_config.py
+5
-1
5 additions, 1 deletion
models/user_config.py
with
5 additions
and
1 deletion
models/user_config.py
+
5
−
1
View file @
31b0c5bd
# 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment