awernerfelt commited on
Commit
a73d244
·
verified ·
1 Parent(s): f4527d8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -1
README.md CHANGED
@@ -6,8 +6,22 @@ tags: []
6
  # Model Card for Model ID
7
 
8
  <!-- Provide a quick summary of what the model is/does. -->
9
- This is the baseline model for the news source classification project. To perform inference, you call model.predict('test.csv').
10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
 
12
  ## Model Details
13
 
 
6
  # Model Card for Model ID
7
 
8
  <!-- Provide a quick summary of what the model is/does. -->
9
+ This is the baseline model for the news source classification project.
10
 
11
+ Code to load the model:
12
+ from huggingface_hub import hf_hub_download
13
+ import joblib
14
+
15
+ repo_id='awngsz/baseline_model'
16
+ filename='CIS5190_Proj2_AWNGSZ.joblib'
17
+
18
+ file_path=hf_hub_download(repo_id=repo_id, filename=filename)
19
+ model=joblib.load(file_path)
20
+
21
+ print(model)
22
+
23
+ Code to perform inference:
24
+ model.predict('test.csv')
25
 
26
  ## Model Details
27