mike.kearney commited on
Commit
40edf36
1 Parent(s): 6fd3e76

initial commit

Browse files
Files changed (8) hide show
  1. .gitignore +144 -0
  2. Makefile +24 -0
  3. README.md +5 -0
  4. dev.txt +10 -0
  5. pipeline.txt +1 -0
  6. src/__init__.py +0 -0
  7. src/func.py +4 -0
  8. training.txt +10 -0
.gitignore ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # VSCode
2
+ .vscode/
3
+
4
+ # macOS
5
+ .DS_Store
6
+
7
+ # Byte-compiled / optimized / DLL files
8
+ __pycache__/
9
+ *.py[cod]
10
+ *$py.class
11
+
12
+ # C extensions
13
+ *.so
14
+
15
+ # Distribution / packaging
16
+ .Python
17
+ build/
18
+ develop-eggs/
19
+ dist/
20
+ downloads/
21
+ eggs/
22
+ .eggs/
23
+ lib/
24
+ lib64/
25
+ parts/
26
+ sdist/
27
+ var/
28
+ wheels/
29
+ share/python-wheels/
30
+ *.egg-info/
31
+ .installed.cfg
32
+ *.egg
33
+ MANIFEST
34
+
35
+ # PyInstaller
36
+ # Usually these files are written by a python script from a template
37
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
38
+ *.manifest
39
+ *.spec
40
+
41
+ # Installer logs
42
+ pip-log.txt
43
+ pip-delete-this-directory.txt
44
+
45
+ # Unit test / coverage reports
46
+ htmlcov/
47
+ .tox/
48
+ .nox/
49
+ .coverage
50
+ .coverage.*
51
+ .cache
52
+ nosetests.xml
53
+ coverage.xml
54
+ *.cover
55
+ *.py,cover
56
+ .hypothesis/
57
+ .pytest_cache/
58
+ cover/
59
+
60
+ # Translations
61
+ *.mo
62
+ *.pot
63
+
64
+ # Django stuff:
65
+ *.log
66
+ local_settings.py
67
+ db.sqlite3
68
+ db.sqlite3-journal
69
+
70
+ # Flask stuff:
71
+ instance/
72
+ .webassets-cache
73
+
74
+ # Scrapy stuff:
75
+ .scrapy
76
+
77
+ # Sphinx documentation
78
+ docs/_build/
79
+
80
+ # PyBuilder
81
+ .pybuilder/
82
+ target/
83
+
84
+ # Jupyter Notebook
85
+ .ipynb_checkpoints
86
+
87
+ # IPython
88
+ profile_default/
89
+ ipython_config.py
90
+
91
+ # pyenv
92
+ # For a library or package, you might want to ignore these files since the code is
93
+ # intended to run in multiple environments; otherwise, check them in:
94
+ # .python-version
95
+
96
+ # pipenv
97
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
98
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
99
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
100
+ # install all needed dependencies.
101
+ #Pipfile.lock
102
+
103
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
104
+ __pypackages__/
105
+
106
+ # Celery stuff
107
+ celerybeat-schedule
108
+ celerybeat.pid
109
+
110
+ # SageMath parsed files
111
+ *.sage.py
112
+
113
+ # Environments
114
+ .env
115
+ .venv
116
+ env/
117
+ venv/
118
+ ENV/
119
+ env.bak/
120
+ venv.bak/
121
+
122
+ # Spyder project settings
123
+ .spyderproject
124
+ .spyproject
125
+
126
+ # Rope project settings
127
+ .ropeproject
128
+
129
+ # mkdocs documentation
130
+ /site
131
+
132
+ # mypy
133
+ .mypy_cache/
134
+ .dmypy.json
135
+ dmypy.json
136
+
137
+ # Pyre type checker
138
+ .pyre/
139
+
140
+ # pytype static type analyzer
141
+ .pytype/
142
+
143
+ # Cython debug symbols
144
+ cython_debug/
Makefile ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ BIN = .venv/bin
2
+ PIP = $(BIN)/pip
3
+ PYTEST = $(BIN)/pytest
4
+
5
+ PIPCONF = $(HOME)/.config/pip/pip.conf
6
+
7
+ .PHONY: develop
8
+ develop:
9
+ rm -rf .venv
10
+ python -m venv .venv
11
+ source "$HOME/.cargo/env"
12
+ $(PIP) install --upgrade pip
13
+ $(PIP) install wheel
14
+ $(PIP) install \
15
+ -r requirements/dev.txt \
16
+ -r requirements/training.txt \
17
+ -r requirements/pipeline.txt
18
+
19
+ .PHONY: .venv
20
+ .venv: develop
21
+
22
+ .PHONY: test
23
+ test:
24
+ $(PYTEST) -s --cov=src tests/
README.md ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ # **repo_test**
2
+ ---
3
+ ![[]](https://img.shields.io/badge/user-kearney-8a2288.svg) ![[]](https://img.shields.io/badge/model-test-06f.svg)
4
+
5
+ A test repo on HuggingFace
dev.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ black
2
+ boto3-stubs[s3,kms,dynamodb]
3
+ ipython
4
+ isort
5
+ flake8
6
+ mypy
7
+ numpy
8
+ pytest
9
+ pytest-cov
10
+ huggingface_hub
pipeline.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ sagemaker
src/__init__.py ADDED
File without changes
src/func.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+
2
+
3
+ def python_function():
4
+ print("This is a python function")
training.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ boto3
2
+ pydantic
3
+ sacremoses
4
+ sagemaker-training
5
+ sentencepiece
6
+ tokenizers
7
+ torch
8
+ torchtext
9
+ torchvision
10
+ transformers