Maestro27 commited on
Commit
40dcaff
·
verified ·
1 Parent(s): aa1f778

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +10 -0
  2. main.py +7 -0
  3. model.joblib +3 -0
  4. vectorizer.joblib +3 -0
README.md ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - sentiment-analysis
5
+ - scikit-learn
6
+ ---
7
+
8
+ Binary sentiment model
9
+ 0 = negative
10
+ 1 = positive
main.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from huggingface_hub import login, upload_folder
2
+
3
+ # (optional) Login with your Hugging Face credentials
4
+ login()
5
+
6
+ # Push your model files
7
+ upload_folder(folder_path=".", repo_id="Maestro27/sentiment", repo_type="model")
model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:533419c7c7b9012bc88658cdc04f170ba23177a92bea5cb7aeb899ef8d4e18c1
3
+ size 40863
vectorizer.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10b87e7dd75985d816a4ca3583fc0f5509e978198e8c0e424d596370d637603f
3
+ size 183011