plaguss commited on
Commit
b3ea96a
·
1 Parent(s): 330354d

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +163 -0
README.md ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: Transformers
3
+ tags:
4
+ - text-classification
5
+ - transformers
6
+ - argilla
7
+ ---
8
+
9
+ <!-- This model card has been generated automatically according to the information the `ArgillaTrainer` had access to. You
10
+ should probably proofread and complete it, then remove this comment. -->
11
+
12
+ # Model Card for *Model ID*
13
+
14
+ This model has been created with [Argilla](https://docs.argilla.io), trained with *Transformers*.
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model training
21
+
22
+ Training the model using the `ArgillaTrainer`:
23
+
24
+ ```python
25
+ # Load the dataset:
26
+ dataset = FeedbackDataset.from_argilla("...")
27
+
28
+ # Create the training task:
29
+ task = TrainingTask.for_text_classification(text=dataset.field_by_name("text"), label=dataset.question_by_name("question-3"))
30
+
31
+ # Create the ArgillaTrainer:
32
+ trainer = ArgillaTrainer(
33
+ dataset=dataset,
34
+ task=task,
35
+ framework="transformers",
36
+ model="bert-base-cased",
37
+ )
38
+
39
+ trainer.update_config({
40
+ "logging_steps": 1,
41
+ "num_train_epochs": 1
42
+ })
43
+
44
+ trainer.train(output_dir="None")
45
+ ```
46
+
47
+ You can test the type of predictions of this model like so:
48
+
49
+ ```python
50
+ trainer.predict("This is awesome!")
51
+ ```
52
+
53
+ ## Model Details
54
+
55
+ ### Model Description
56
+
57
+ <!-- Provide a longer summary of what this model is. -->
58
+
59
+
60
+
61
+ - **Developed by:** [More Information Needed]
62
+ - **Shared by [optional]:** [More Information Needed]
63
+ - **Model type:** [More Information Needed]
64
+ - **Language(s) (NLP):** [More Information Needed]
65
+ - **License:** [More Information Needed]
66
+ - **Finetuned from model [optional]:** [More Information Needed]
67
+
68
+ <!--
69
+ ## Uses
70
+
71
+ *Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model.*
72
+ -->
73
+
74
+ <!--
75
+ ### Direct Use
76
+
77
+ *This section is for the model use without fine-tuning or plugging into a larger ecosystem/app.*
78
+ -->
79
+
80
+ <!--
81
+ ### Downstream Use [optional]
82
+
83
+ *This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app*
84
+ -->
85
+
86
+ <!--
87
+ ### Out-of-Scope Use
88
+
89
+ *This section addresses misuse, malicious use, and uses that the model will not work well for.*
90
+ -->
91
+
92
+ <!--
93
+ ## Bias, Risks, and Limitations
94
+
95
+ *This section is meant to convey both technical and sociotechnical limitations.*
96
+ -->
97
+
98
+ <!--
99
+ ### Recommendations
100
+
101
+ *This section is meant to convey recommendations with respect to the bias, risk, and technical limitations.*
102
+ -->
103
+
104
+ <!--
105
+ ## Training Details
106
+
107
+ ### Training Metrics
108
+
109
+ *Metrics related to the model training.*
110
+ -->
111
+
112
+ <!--
113
+ ### Training Hyperparameters
114
+
115
+ - **Training regime:** (fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision)
116
+ -->
117
+
118
+ <!--
119
+ ## Environmental Impact
120
+
121
+ *Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly*
122
+
123
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
124
+
125
+ - **Hardware Type:** [More Information Needed]
126
+ - **Hours used:** [More Information Needed]
127
+ - **Cloud Provider:** [More Information Needed]
128
+ - **Compute Region:** [More Information Needed]
129
+ - **Carbon Emitted:** [More Information Needed]
130
+ -->
131
+
132
+ ## Technical Specifications [optional]
133
+
134
+ ### Framework Versions
135
+
136
+ - Python: 3.10.7
137
+ - Argilla: 1.17.0-dev
138
+
139
+ <!--
140
+ ## Citation [optional]
141
+
142
+ *If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section.*
143
+
144
+ ### BibTeX
145
+ -->
146
+
147
+ <!--
148
+ ## Glossary [optional]
149
+
150
+ *If relevant, include terms and calculations in this section that can help readers understand the model or model card.*
151
+ -->
152
+
153
+ <!--
154
+ ## Model Card Authors [optional]
155
+
156
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
157
+ -->
158
+
159
+ <!--
160
+ ## Model Card Contact
161
+
162
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
163
+ -->