ajinathgh commited on
Commit
8fb039c
·
verified ·
1 Parent(s): 5cd059b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -10
README.md CHANGED
@@ -9,7 +9,7 @@ base_model:
9
  pipeline_tag: text-classification
10
  tags:
11
  - legal
12
- - pytorch
13
  - text-classification
14
  - sentiment-analysis
15
  ---
@@ -39,13 +39,5 @@ inputs = tokenizer("Example text to classify", return_tensors="pt")
39
 
40
  # Get predictions
41
  outputs = model(**inputs)
42
- predicted_class = outputs.argmax(-1).item()
43
-
44
-
45
- language: en
46
- tags:
47
- - pytorch
48
- - text-classification
49
- - sentiment-analysis
50
-
51
  ```
 
9
  pipeline_tag: text-classification
10
  tags:
11
  - legal
12
+ - PyTorch
13
  - text-classification
14
  - sentiment-analysis
15
  ---
 
39
 
40
  # Get predictions
41
  outputs = model(**inputs)
42
+ predicted_class = outputs.argmax(-1).item()
 
 
 
 
 
 
 
 
43
  ```