Pujan Neupane commited on
Commit
40c51f0
·
1 Parent(s): 72e1539

chore(gitignore): add rules for ignoring model artifacts and cache

Browse files
Files changed (3) hide show
  1. .gitignore +57 -2
  2. HuggingFace/main.py +0 -0
  3. HuggingFace/readme.md +4 -0
.gitignore CHANGED
@@ -1,2 +1,57 @@
1
- ./venv/
2
- ./__pycache__/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ---- Python Environment ----
2
+ venv/
3
+ .venv/
4
+ env/
5
+ ENV/
6
+ *.pyc
7
+ *.pyo
8
+ *.pyd
9
+ __pycache__/
10
+ **/__pycache__/
11
+
12
+ # ---- VS Code / IDEs ----
13
+ .vscode/
14
+ .idea/
15
+ *.swp
16
+
17
+ # ---- Jupyter / IPython ----
18
+ .ipynb_checkpoints/
19
+ *.ipynb
20
+
21
+ # ---- Model & Data Artifacts ----
22
+ *.pth
23
+ *.pt
24
+ *.h5
25
+ *.ckpt
26
+ *.onnx
27
+ *.joblib
28
+ *.pkl
29
+
30
+ # ---- Hugging Face Cache ----
31
+ ~/.cache/huggingface/
32
+ huggingface_cache/
33
+
34
+ # ---- Logs and Dumps ----
35
+ *.log
36
+ *.out
37
+ *.err
38
+
39
+ # ---- Build Artifacts ----
40
+ build/
41
+ dist/
42
+ *.egg-info/
43
+
44
+ # ---- System Files ----
45
+ .DS_Store
46
+ Thumbs.db
47
+
48
+ # ---- Environment Configs ----
49
+ .env
50
+ .env.*
51
+
52
+ # ---- Project-specific ----
53
+ Ai-Text-Detector/
54
+ HuggingFace/model/
55
+ # ---- Node Projects (if applicable) ----
56
+ node_modules/
57
+
HuggingFace/main.py ADDED
File without changes
HuggingFace/readme.md ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ ### Hugging face cli
2
+
3
+ in this main.py file we have commands to upload the model to the hugging face as well as download it into the local system
4
+ it is an cli based tool for this