Update README.md
Browse files
README.md
CHANGED
@@ -8,4 +8,187 @@ tags:
|
|
8 |
- keras
|
9 |
- ocr
|
10 |
- ai captcha solving
|
11 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
- keras
|
9 |
- ocr
|
10 |
- ai captcha solving
|
11 |
+
---
|
12 |
+
# Model Card for Model ID
|
13 |
+
|
14 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
15 |
+
|
16 |
+
This modelcard aims to be a base template for new models. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md?plain=1).
|
17 |
+
|
18 |
+
## Model Details
|
19 |
+
|
20 |
+
### Model Description
|
21 |
+
|
22 |
+
<!-- Provide a longer summary of what this model is. -->
|
23 |
+
|
24 |
+
|
25 |
+
|
26 |
+
- **Developed by:** [Ashish Chaudhary aka lolcod]
|
27 |
+
- **Funded by [optional]:** [More Information Needed]
|
28 |
+
- **Shared by [optional]:** [More Information Needed]
|
29 |
+
- **Model type:** [More Information Needed]
|
30 |
+
- **Language(s) (NLP):** [More Information Needed]
|
31 |
+
- **License:** [More Information Needed]
|
32 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
33 |
+
|
34 |
+
### Model Sources [optional]
|
35 |
+
|
36 |
+
<!-- Provide the basic links for the model. -->
|
37 |
+
|
38 |
+
- **Repository:** [https://github.com/lol-cod/solvingcaptchakeras]
|
39 |
+
- **Paper [optional]:** [More Information Needed]
|
40 |
+
- **Demo [optional]:** [More Information Needed]
|
41 |
+
|
42 |
+
Direct Use
|
43 |
+
The model is designed for solving 4-lettered captchas with an 80% accuracy rate. It can be directly employed for captcha-solving tasks without the need for fine-tuning or integration into a larger ecosystem or application.
|
44 |
+
|
45 |
+
Downstream Use [optional]
|
46 |
+
[More Information Needed]
|
47 |
+
|
48 |
+
Out-of-Scope Use
|
49 |
+
The model is not intended for tasks beyond solving 4-lettered captchas. It may not perform well on captchas with a different format or on tasks unrelated to captcha-solving.
|
50 |
+
|
51 |
+
Bias, Risks, and Limitations
|
52 |
+
The model's performance may vary based on the complexity and variability of captchas. It may not generalize well to captchas with different characteristics or lengths. Additionally, there is a risk of misclassification, leading to incorrect solutions. The model might be sensitive to changes in background, font styles, or other captcha variations.
|
53 |
+
|
54 |
+
Recommendations
|
55 |
+
Users, both direct and downstream, should be aware of the model's limitations and potential biases. It is recommended to assess the performance on a diverse set of captchas to understand the model's capabilities and shortcomings.
|
56 |
+
|
57 |
+
How to Get Started with the Model
|
58 |
+
To use the model, you can leverage the following code:
|
59 |
+
|
60 |
+
python
|
61 |
+
Copy code
|
62 |
+
# Sample code for using the captcha-solving model
|
63 |
+
import keras
|
64 |
+
from keras.models import load_model
|
65 |
+
from captcha_solver import solve_captcha
|
66 |
+
|
67 |
+
# Load the pre-trained model
|
68 |
+
model = load_model('captcha_model.h5')
|
69 |
+
|
70 |
+
# Provide the captcha image as input
|
71 |
+
captcha_image = 'path/to/your/captcha.png'
|
72 |
+
solution = solve_captcha(model, captcha_image)
|
73 |
+
|
74 |
+
# Print the solution
|
75 |
+
print('Captcha Solution:', solution)
|
76 |
+
[More Information Needed]
|
77 |
+
|
78 |
+
Training Details
|
79 |
+
Training Data
|
80 |
+
The model was trained on a dataset of 4-lettered captchas. For more detailed information about the training data, refer to the accompanying Dataset Card.
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
Training Procedure
|
85 |
+
Preprocessing [optional]
|
86 |
+
[More Information Needed]
|
87 |
+
|
88 |
+
Training Hyperparameters
|
89 |
+
Training regime: [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
Speeds, Sizes, Times [optional]
|
93 |
+
[More Information Needed]
|
94 |
+
|
95 |
+
Evaluation
|
96 |
+
[More Information Needed]
|
97 |
+
|
98 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
99 |
+
|
100 |
+
### Testing Data, Factors & Metrics
|
101 |
+
|
102 |
+
#### Testing Data
|
103 |
+
|
104 |
+
<!-- This should link to a Dataset Card if possible. -->
|
105 |
+
|
106 |
+
[More Information Needed]
|
107 |
+
|
108 |
+
#### Factors
|
109 |
+
|
110 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
111 |
+
|
112 |
+
[More Information Needed]
|
113 |
+
|
114 |
+
#### Metrics
|
115 |
+
|
116 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
117 |
+
|
118 |
+
[More Information Needed]
|
119 |
+
|
120 |
+
### Results
|
121 |
+
|
122 |
+
[More Information Needed]
|
123 |
+
|
124 |
+
#### Summary
|
125 |
+
|
126 |
+
|
127 |
+
|
128 |
+
## Model Examination [optional]
|
129 |
+
|
130 |
+
<!-- Relevant interpretability work for the model goes here -->
|
131 |
+
|
132 |
+
[More Information Needed]
|
133 |
+
|
134 |
+
## Environmental Impact
|
135 |
+
|
136 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
137 |
+
|
138 |
+
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).
|
139 |
+
|
140 |
+
- **Hardware Type:** [More Information Needed]
|
141 |
+
- **Hours used:** [More Information Needed]
|
142 |
+
- **Cloud Provider:** [More Information Needed]
|
143 |
+
- **Compute Region:** [More Information Needed]
|
144 |
+
- **Carbon Emitted:** [More Information Needed]
|
145 |
+
|
146 |
+
## Technical Specifications [optional]
|
147 |
+
|
148 |
+
### Model Architecture and Objective
|
149 |
+
|
150 |
+
[More Information Needed]
|
151 |
+
|
152 |
+
### Compute Infrastructure
|
153 |
+
|
154 |
+
[More Information Needed]
|
155 |
+
|
156 |
+
#### Hardware
|
157 |
+
|
158 |
+
[More Information Needed]
|
159 |
+
|
160 |
+
#### Software
|
161 |
+
|
162 |
+
[More Information Needed]
|
163 |
+
|
164 |
+
## Citation [optional]
|
165 |
+
|
166 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
167 |
+
|
168 |
+
**BibTeX:**
|
169 |
+
|
170 |
+
[More Information Needed]
|
171 |
+
|
172 |
+
**APA:**
|
173 |
+
|
174 |
+
[More Information Needed]
|
175 |
+
|
176 |
+
## Glossary [optional]
|
177 |
+
|
178 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
179 |
+
|
180 |
+
[More Information Needed]
|
181 |
+
|
182 |
+
## More Information [optional]
|
183 |
+
|
184 |
+
[More Information Needed]
|
185 |
+
|
186 |
+
## Model Card Authors [optional]
|
187 |
+
|
188 |
+
[More Information Needed]
|
189 |
+
|
190 |
+
## Model Card Contact
|
191 |
+
|
192 |
+
[More Information Needed]
|
193 |
+
|
194 |
+
|