Swamitucats commited on
Commit
2c4bae8
1 Parent(s): d519ca5

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +225 -0
README.md ADDED
@@ -0,0 +1,225 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - sa
4
+ - en
5
+ license: mit
6
+ tags:
7
+ - translation
8
+ - sanskrit
9
+ - english
10
+ model_name: M2M100_Sanskrit_English
11
+ finetuned_from: facebook/m2m100_418M
12
+ ---
13
+
14
+ # Model Card for Swamitucats/M2M100_Sanskrit_English
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+ This model is fine-tuned from M2M100 for Sanskrit to English translation.
28
+ It was trained on the Itihasa dataset, which contains translations from Sanskrit epics.
29
+
30
+ Example usage:
31
+ ```python
32
+ from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
33
+
34
+ model = AutoModelForSeq2SeqLM.from_pretrained("Swamitucats/M2M100_Sanskrit_English")
35
+ tokenizer = AutoTokenizer.from_pretrained("Swamitucats/M2M100_Sanskrit_English")
36
+
37
+ sanskrit_text = "Your Sanskrit text here"
38
+ inputs = tokenizer(sanskrit_text, return_tensors="pt")
39
+ outputs = model.generate(**inputs)
40
+ english_translation = tokenizer.decode(outputs[0], skip_special_tokens=True)
41
+ print(english_translation)
42
+ ```
43
+
44
+
45
+ - **Developed by:** [More Information Needed]
46
+ - **Shared by [optional]:** [More Information Needed]
47
+ - **Model type:** [More Information Needed]
48
+ - **Language(s) (NLP):** ['sa', 'en']
49
+ - **License:** mit
50
+ - **Finetuned from model [optional]:** facebook/m2m100_418M
51
+
52
+ ### Model Sources [optional]
53
+
54
+ <!-- Provide the basic links for the model. -->
55
+
56
+ - **Repository:** [More Information Needed]
57
+ - **Paper [optional]:** [More Information Needed]
58
+ - **Demo [optional]:** [More Information Needed]
59
+
60
+ ## Uses
61
+
62
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
63
+
64
+ ### Direct Use
65
+
66
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
67
+
68
+ [More Information Needed]
69
+
70
+ ### Downstream Use [optional]
71
+
72
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
73
+
74
+ [More Information Needed]
75
+
76
+ ### Out-of-Scope Use
77
+
78
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
79
+
80
+ [More Information Needed]
81
+
82
+ ## Bias, Risks, and Limitations
83
+
84
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
85
+
86
+ [More Information Needed]
87
+
88
+ ### Recommendations
89
+
90
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
91
+
92
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
93
+
94
+ ## How to Get Started with the Model
95
+
96
+ Use the code below to get started with the model.
97
+
98
+ [More Information Needed]
99
+
100
+ ## Training Details
101
+
102
+ ### Training Data
103
+
104
+ <!-- This should link to a Data Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
105
+
106
+ [More Information Needed]
107
+
108
+ ### Training Procedure
109
+
110
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
111
+
112
+ #### Preprocessing [optional]
113
+
114
+ [More Information Needed]
115
+
116
+
117
+ #### Training Hyperparameters
118
+
119
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
120
+
121
+ #### Speeds, Sizes, Times [optional]
122
+
123
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ## Evaluation
128
+
129
+ <!-- This section describes the evaluation protocols and provides the results. -->
130
+
131
+ ### Testing Data, Factors & Metrics
132
+
133
+ #### Testing Data
134
+
135
+ <!-- This should link to a Data Card if possible. -->
136
+
137
+ [More Information Needed]
138
+
139
+ #### Factors
140
+
141
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
142
+
143
+ [More Information Needed]
144
+
145
+ #### Metrics
146
+
147
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
148
+
149
+ [More Information Needed]
150
+
151
+ ### Results
152
+
153
+ [More Information Needed]
154
+
155
+ #### Summary
156
+
157
+
158
+
159
+ ## Model Examination [optional]
160
+
161
+ <!-- Relevant interpretability work for the model goes here -->
162
+
163
+ [More Information Needed]
164
+
165
+ ## Environmental Impact
166
+
167
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
168
+
169
+ 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).
170
+
171
+ - **Hardware Type:** [More Information Needed]
172
+ - **Hours used:** [More Information Needed]
173
+ - **Cloud Provider:** [More Information Needed]
174
+ - **Compute Region:** [More Information Needed]
175
+ - **Carbon Emitted:** [More Information Needed]
176
+
177
+ ## Technical Specifications [optional]
178
+
179
+ ### Model Architecture and Objective
180
+
181
+ [More Information Needed]
182
+
183
+ ### Compute Infrastructure
184
+
185
+ [More Information Needed]
186
+
187
+ #### Hardware
188
+
189
+ [More Information Needed]
190
+
191
+ #### Software
192
+
193
+ [More Information Needed]
194
+
195
+ ## Citation [optional]
196
+
197
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
198
+
199
+ **BibTeX:**
200
+
201
+ [More Information Needed]
202
+
203
+ **APA:**
204
+
205
+ [More Information Needed]
206
+
207
+ ## Glossary [optional]
208
+
209
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
210
+
211
+ [More Information Needed]
212
+
213
+ ## More Information [optional]
214
+
215
+ [More Information Needed]
216
+
217
+ ## Model Card Authors [optional]
218
+
219
+ [More Information Needed]
220
+
221
+ ## Model Card Contact
222
+
223
+ [More Information Needed]
224
+
225
+