htahir1 commited on
Commit
82de6b3
1 Parent(s): 61d2d4f

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. app.py +2 -1
  2. config.json +2 -2
  3. pytorch_model.bin +2 -2
app.py CHANGED
@@ -125,7 +125,8 @@ def sentiment_analysis(
125
  else:
126
  client = Client()
127
  latest_run = client.get_pipeline(
128
- "sentinment_analysis_deploy_pipeline"
 
129
  ).runs[0]
130
  endpoint_name = (
131
  latest_run.steps["deploy_hf_to_sagemaker"]
 
125
  else:
126
  client = Client()
127
  latest_run = client.get_pipeline(
128
+ "sentinment_analysis_deploy_pipeline",
129
+ version=1
130
  ).runs[0]
131
  endpoint_name = (
132
  latest_run.steps["deploy_hf_to_sagemaker"]
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "/tmp/tmpy2y4i3qi/sentinment_analysis_model/model",
3
  "architectures": [
4
  "RobertaForSequenceClassification"
5
  ],
@@ -21,7 +21,7 @@
21
  "position_embedding_type": "absolute",
22
  "problem_type": "single_label_classification",
23
  "torch_dtype": "float32",
24
- "transformers_version": "4.35.0",
25
  "type_vocab_size": 1,
26
  "use_cache": true,
27
  "vocab_size": 50265
 
1
  {
2
+ "_name_or_path": "/tmp/tmp_pmhuqtd/sentinment_analysis_model/model",
3
  "architectures": [
4
  "RobertaForSequenceClassification"
5
  ],
 
21
  "position_embedding_type": "absolute",
22
  "problem_type": "single_label_classification",
23
  "torch_dtype": "float32",
24
+ "transformers_version": "4.34.1",
25
  "type_vocab_size": 1,
26
  "use_cache": true,
27
  "vocab_size": 50265
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ed915719b7eef131898cd0bda38c5dd350caf05ad4729b9cfdf0845529a92527
3
- size 498659698
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d9eb4b77e8a05f9c1715c713766312a54947c88f4aca32c844b5cde9d345a3a
3
+ size 498655278