vinD27 commited on
Commit
128b107
·
verified ·
1 Parent(s): 3d54d62

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -13
README.md CHANGED
@@ -1,13 +1,25 @@
1
- ---
2
- language:
3
- - en
4
- - id
5
- metrics:
6
- - accuracy
7
- - precision
8
- - recall
9
- - roc_auc
10
- base_model:
11
- - microsoft/deberta-v3-base
12
- pipeline_tag: text-classification
13
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Stock Sentiment Analysis
2
+
3
+ This model is a fine-tuned version of `microsoft/deberta-v3-base` for **stock sentiment analysis**.
4
+
5
+ ## Model Details
6
+ - **Language**: English
7
+ - **Task**: Text Classification (Sentiment Analysis)
8
+ - **Classes**: Positive, Neutral, Negative
9
+
10
+ ## Training
11
+ - Dataset: [Your Dataset Name or Description]
12
+ - Evaluation Metric: F1 Score
13
+ - Training Args: See `training_args.bin` for details.
14
+
15
+ ## Usage
16
+ ```python
17
+ from transformers import AutoTokenizer, AutoModelForSequenceClassification
18
+
19
+ tokenizer = AutoTokenizer.from_pretrained("vinD27/stock_sentiment_analysis")
20
+ model = AutoModelForSequenceClassification.from_pretrained("vinD27/stock_sentiment_analysis")
21
+
22
+ text = "The stock market is performing well today."
23
+ inputs = tokenizer(text, return_tensors="pt")
24
+ outputs = model(**inputs)
25
+ print(outputs.logits)