rohittamidapati11 commited on
Commit
4615da1
1 Parent(s): 327944c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -8
README.md CHANGED
@@ -2,17 +2,19 @@
2
  language: en
3
  license: other
4
  tags:
5
- - sentiment-analysis
6
- - fine-tuned
7
- - sentiment-classification
8
- - transformers
9
  model_name: Fine-Tuned Sentiment Model
10
  model_type: Roberta
11
  datasets:
12
- - custom-dataset
 
 
13
  metrics:
14
- - micro precision and recall
15
- - macro precision and recall
16
  ---
17
 
18
  # Fine-Tuned Sentiment Model
@@ -48,4 +50,4 @@ model = AutoModelForSequenceClassification.from_pretrained("your_username/fine_t
48
  inputs = tokenizer("The food was a bit bland, but the portion sizes were generous. I was looking forward to trying it, but it didn't quite live up to my expectations.", return_tensors='pt')
49
  outputs = model(**inputs)
50
  predicted_class = torch.argmax(outputs.logits, dim = 1).item()
51
- print("Predicted Sentiment:", predicted_class)
 
2
  language: en
3
  license: other
4
  tags:
5
+ - sentiment-analysis
6
+ - fine-tuned
7
+ - sentiment-classification
8
+ - transformers
9
  model_name: Fine-Tuned Sentiment Model
10
  model_type: Roberta
11
  datasets:
12
+ - custom-dataset
13
+ - rohittamidapati11/training_data
14
+ - rohittamidapati11/validation_data
15
  metrics:
16
+ - micro precision and recall
17
+ - macro precision and recall
18
  ---
19
 
20
  # Fine-Tuned Sentiment Model
 
50
  inputs = tokenizer("The food was a bit bland, but the portion sizes were generous. I was looking forward to trying it, but it didn't quite live up to my expectations.", return_tensors='pt')
51
  outputs = model(**inputs)
52
  predicted_class = torch.argmax(outputs.logits, dim = 1).item()
53
+ print("Predicted Sentiment:", predicted_class)