Views
No views yet
1from transformers import pipeline
2
3pipe = pipeline("text2text-generation", model="tanvikapoor07/offline-ai-command-model")
4
5result = pipe("Convert 5 km to meters")
6print(result)
7
8## Model Card Contact
9
10[More Information Needed
11
12## Training Details
13
14### Training Data
15
16<!-- This should link to a Dataset 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. -->
17
18The model was trained on a custom-generated dataset consisting of 200+ examples.
19The dataset includes:
20Unit conversion queries
21Translation tasks
22Summarization queries
23Explanation and definition prompts
24Mathematical calculations
25Chat intent classification
26The dataset was programmatically generated to ensure diversity and scalability.
27
28### Training Procedure
29
30<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
31
32#### Preprocessing [optional]
33
34Preprocessing
35Input queries were prefixed with a task identifier ("convert command:")
36Text was tokenized using T5 tokenizer
37Padding and truncation applied to maintain uniform input size
38
39
40#### Training Hyperparameters
41
42- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
43
44#### Speeds, Sizes, Times [optional]
45
46<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
47
48Training regime: fp32
49Epochs: 20
50Batch size: 4
51Learning rate: 5e-4
52
53## Evaluation
54
55<!-- This section describes the evaluation protocols and provides the results. -->
56
57### Testing Data, Factors & Metrics
58
59#### Testing Data
60
61<!-- This should link to a Dataset Card if possible. -->
62
63[More Information Needed]
64
65#### Factors
66
67<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
68
69[More Information Needed]
70
71#### Metrics
72
73<!-- These are the evaluation metrics being used, ideally with a description of why. -->
74
75[More Information Needed]
76
77### Results
78
79[More Information Needed]
80
81#### Summary
82
83
84
85## Model Examination [optional]
86
87<!-- Relevant interpretability work for the model goes here -->
88
89[More Information Needed]
90
91## Environmental Impact
92
93<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
94
95Carbon 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).
96
97- **Hardware Type:** [More Information Needed]
98- **Hours used:** [More Information Needed]
99- **Cloud Provider:** [More Information Needed]
100- **Compute Region:** [More Information Needed]
101- **Carbon Emitted:** [More Information Needed]
102
103## Technical Specifications [optional]
104
105### Model Architecture and Objective
106
107[More Information Needed]
108
109### Compute Infrastructure
110
111[More Information Needed]
112
113#### Hardware
114
115[More Information Needed]
116
117#### Software
118
119[More Information Needed]
120
121## Citation [optional]
122
123<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
124
125**BibTeX:**
126
127[More Information Needed]
128
129**APA:**
130
131[More Information Needed]
132
133## Glossary [optional]
134
135<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
136
137[More Information Needed]
138
139## More Information [optional]
140
141[More Information Needed]
142
143## Model Card Authors [optional]
144
145[More Information Needed]
146
147## Model Card Contact
148
149[More Information Needed]