likhonsheikhdev commited on
Commit
ef77b4d
·
verified ·
1 Parent(s): fcdfbaf

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +62 -6
README.md CHANGED
@@ -1,12 +1,68 @@
1
  ---
2
- title: Shrikh
3
- emoji: 🐢
4
- colorFrom: green
5
- colorTo: green
6
  sdk: gradio
7
- sdk_version: 5.37.0
8
  app_file: app.py
9
  pinned: false
 
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: SafeTensors Model Converter
3
+ emoji: 🔒
4
+ colorFrom: blue
5
+ colorTo: purple
6
  sdk: gradio
7
+ sdk_version: 4.44.0
8
  app_file: app.py
9
  pinned: false
10
+ license: mit
11
  ---
12
 
13
+ # SafeTensors Model Converter
14
+
15
+ A no-code web application for converting machine learning models to the secure SafeTensors format.
16
+
17
+ ## Features
18
+
19
+ - **Zero-code conversion**: Simple drag-and-drop interface
20
+ - **Multi-framework support**: PyTorch and TensorFlow models
21
+ - **Secure format**: Eliminates pickle-based security risks
22
+ - **Fast and efficient**: Optimized conversion process
23
+
24
+ ## Supported Model Formats
25
+
26
+ ### PyTorch
27
+ - `.pt` files (PyTorch model files)
28
+ - `.pth` files (PyTorch checkpoint files)
29
+
30
+ ### TensorFlow
31
+ - `.h5` files (Keras HDF5 format)
32
+ - SavedModel directories (upload as .zip)
33
+
34
+ ## How to Use
35
+
36
+ 1. Select your model's framework (PyTorch or TensorFlow)
37
+ 2. Upload your model file
38
+ 3. Click "Convert to SafeTensors"
39
+ 4. Download your converted model
40
+
41
+ ## Why SafeTensors?
42
+
43
+ SafeTensors is a new simple format for storing tensors safely (as opposed to pickle) and that is still fast (zero-copy).
44
+
45
+ ### Benefits:
46
+ - **Security**: No arbitrary code execution during loading
47
+ - **Speed**: Faster loading with zero-copy deserialization
48
+ - **Memory efficiency**: Reduced memory usage
49
+ - **Cross-platform**: Works across different ML frameworks
50
+
51
+ ## Local Development
52
+
53
+ \`\`\`bash
54
+ pip install -r requirements.txt
55
+ python app.py
56
+ \`\`\`
57
+
58
+ ## Deployment
59
+
60
+ This app is designed to run on Hugging Face Spaces. Simply:
61
+
62
+ 1. Create a new Space on Hugging Face
63
+ 2. Upload these files to your Space
64
+ 3. Your app will automatically deploy!
65
+
66
+ ## License
67
+
68
+ MIT License - feel free to use and modify as needed.