Spaces:
Sleeping
Sleeping
Dylan
commited on
Commit
·
0c35e90
1
Parent(s):
c4c30b8
updated transformers
Browse files- .gitignore +75 -0
- README.md +7 -0
- requirements.txt +1 -1
.gitignore
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Python
|
2 |
+
__pycache__/
|
3 |
+
*.py[cod]
|
4 |
+
*$py.class
|
5 |
+
*.so
|
6 |
+
.Python
|
7 |
+
build/
|
8 |
+
develop-eggs/
|
9 |
+
dist/
|
10 |
+
downloads/
|
11 |
+
eggs/
|
12 |
+
.eggs/
|
13 |
+
lib/
|
14 |
+
lib64/
|
15 |
+
parts/
|
16 |
+
sdist/
|
17 |
+
var/
|
18 |
+
wheels/
|
19 |
+
*.egg-info/
|
20 |
+
.installed.cfg
|
21 |
+
*.egg
|
22 |
+
|
23 |
+
# Poetry
|
24 |
+
poetry.lock
|
25 |
+
.venv/
|
26 |
+
venv/
|
27 |
+
|
28 |
+
# Virtual Environment
|
29 |
+
.env
|
30 |
+
.venv
|
31 |
+
env/
|
32 |
+
ENV/
|
33 |
+
|
34 |
+
# IDE
|
35 |
+
.idea/
|
36 |
+
.vscode/
|
37 |
+
*.swp
|
38 |
+
*.swo
|
39 |
+
.DS_Store
|
40 |
+
|
41 |
+
# Jupyter Notebook
|
42 |
+
.ipynb_checkpoints
|
43 |
+
*.ipynb
|
44 |
+
|
45 |
+
# ML/AI specific
|
46 |
+
*.pt
|
47 |
+
*.pth
|
48 |
+
*.onnx
|
49 |
+
*.h5
|
50 |
+
models/
|
51 |
+
checkpoints/
|
52 |
+
runs/
|
53 |
+
wandb/
|
54 |
+
logs/
|
55 |
+
.cache/
|
56 |
+
|
57 |
+
# Testing
|
58 |
+
.coverage
|
59 |
+
htmlcov/
|
60 |
+
.pytest_cache/
|
61 |
+
.tox/
|
62 |
+
|
63 |
+
# Distribution
|
64 |
+
.Python
|
65 |
+
dist/
|
66 |
+
build/
|
67 |
+
*.manifest
|
68 |
+
*.spec
|
69 |
+
|
70 |
+
# Misc
|
71 |
+
.DS_Store
|
72 |
+
.env.local
|
73 |
+
.env.development.local
|
74 |
+
.env.test.local
|
75 |
+
.env.production.local
|
README.md
CHANGED
@@ -75,6 +75,13 @@ poetry install
|
|
75 |
poetry show
|
76 |
```
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
## Key Dependencies
|
79 |
|
80 |
- accelerate==1.2.1: Framework for efficient model deployment
|
|
|
75 |
poetry show
|
76 |
```
|
77 |
|
78 |
+
## Install Huggingface hub for CLI commands
|
79 |
+
```bash
|
80 |
+
pip install huggingface_hub
|
81 |
+
|
82 |
+
huggingface-cli login
|
83 |
+
```
|
84 |
+
|
85 |
## Key Dependencies
|
86 |
|
87 |
- accelerate==1.2.1: Framework for efficient model deployment
|
requirements.txt
CHANGED
@@ -211,7 +211,7 @@ tqdm==4.67.1
|
|
211 |
# via
|
212 |
# huggingface-hub
|
213 |
# transformers
|
214 |
-
transformers==4.
|
215 |
# via fun-image-caption (pyproject.toml)
|
216 |
typer==0.15.2
|
217 |
# via gradio
|
|
|
211 |
# via
|
212 |
# huggingface-hub
|
213 |
# transformers
|
214 |
+
transformers==4.50.0
|
215 |
# via fun-image-caption (pyproject.toml)
|
216 |
typer==0.15.2
|
217 |
# via gradio
|