Caseyishere commited on
Commit
9bdca3c
·
verified ·
1 Parent(s): 0da6c97

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -2
README.md CHANGED
@@ -12,7 +12,7 @@ pipeline_tag: text-classification
12
  # Model Card for Model ID
13
 
14
  <!-- Provide a quick summary of what the model is/does. -->
15
-
16
 
17
 
18
  ## Model Details
@@ -34,7 +34,11 @@ This is the model card of a 🤗 transformers model that has been pushed on the
34
  ### Model Sources [optional]
35
 
36
  <!-- Provide the basic links for the model. -->
37
-
 
 
 
 
38
  - **Repository:** [More Information Needed]
39
  - **Paper [optional]:** [More Information Needed]
40
  - **Demo [optional]:** [More Information Needed]
@@ -46,6 +50,9 @@ This is the model card of a 🤗 transformers model that has been pushed on the
46
  ### Direct Use
47
 
48
  <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
 
 
 
49
 
50
  [More Information Needed]
51
 
@@ -77,6 +84,8 @@ Users (both direct and downstream) should be made aware of the risks, biases and
77
 
78
  Use the code below to get started with the model.
79
 
 
 
80
  [More Information Needed]
81
 
82
  ## Training Details
 
12
  # Model Card for Model ID
13
 
14
  <!-- Provide a quick summary of what the model is/does. -->
15
+ Transform the text into emotions
16
 
17
 
18
  ## Model Details
 
34
  ### Model Sources [optional]
35
 
36
  <!-- Provide the basic links for the model. -->
37
+ base_model:
38
+ - SamLowe/roberta-base-go_emotions
39
+ datasets:
40
+ - mteb/tweet_sentiment_extraction
41
+ -
42
  - **Repository:** [More Information Needed]
43
  - **Paper [optional]:** [More Information Needed]
44
  - **Demo [optional]:** [More Information Needed]
 
50
  ### Direct Use
51
 
52
  <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
53
+ from transformers import AutoModelForSequenceClassification
54
+ from transformers import AutoTokenizer
55
+ import torch
56
 
57
  [More Information Needed]
58
 
 
84
 
85
  Use the code below to get started with the model.
86
 
87
+ model2 = AutoModelForSequenceClassification.from_pretrained("Caseyishere/StoryCraft", num_labels=5)
88
+
89
  [More Information Needed]
90
 
91
  ## Training Details