shivansh-ka commited on
Commit
3e80ddd
0 Parent(s):

initial setup

Browse files
.github/workflows/hf_push.yml ADDED
File without changes
.github/workflows/mk.yml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Documentation
2
+ on:
3
+ push:
4
+ branches:
5
+ - master
6
+ - main
7
+ jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - uses: actions/setup-python@v2
13
+ with:
14
+ python-version: 3.x
15
+ - run: pip install mkdocs-material
16
+ - run: mkdocs gh-deploy --force
app.py ADDED
File without changes
docs/img/.gitkeep ADDED
File without changes
docs/index.md ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # dvc-project-template
2
+ DVC project template
3
+
4
+ ## STEPS -
5
+
6
+ ### STEP 01- Create a repository by using template repository
7
+
8
+ ### STEP 02- Clone the new repository
9
+
10
+ ### STEP 03- Create a conda environment after opening the repository in VSCODE
11
+
12
+ ```bash
13
+ conda create --prefix ./env python=3.7 -y
14
+ ```
15
+
16
+ ```bash
17
+ conda activate ./env
18
+ ```
19
+ OR
20
+ ```bash
21
+ source activate ./env
22
+ ```
23
+
24
+ ### STEP 04- install the requirements
25
+ ```bash
26
+ pip install -r requirements.txt
27
+ ```
28
+
29
+ ### STEP 05- initialize the dvc project
30
+ ```bash
31
+ dvc init
32
+ ```
33
+
34
+ ### STEP 06- commit and push the changes to the remote repository
docs/javascripts/mathjax.js ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ window.MathJax = {
2
+ tex: {
3
+ inlineMath: [["\\(", "\\)"]],
4
+ displayMath: [["\\[", "\\]"]],
5
+ processEscapes: true,
6
+ processEnvironments: true
7
+ },
8
+ options: {
9
+ ignoreHtmlClass: ".*|",
10
+ processHtmlClass: "arithmatex"
11
+ }
12
+ };
13
+
14
+ document$.subscribe(() => {
15
+ MathJax.typesetPromise()
16
+ })
17
+
mkdocs.yml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Project information
2
+ site_name: REPO_NAME_OR_SITE_NAME
3
+ # defeine TOC or order of website-
4
+ nav:
5
+ - Home: index.md
6
+
7
+ site_author: Shivansh Kaushal
8
+ site_description: >-
9
+ DESCRIPTION
10
+
11
+ # Repository
12
+ repo_name: shivanshka/REPO_NAME
13
+ repo_url: https://github.com/shivanshka/REPO_NAME
14
+
15
+ # Configuration
16
+ theme:
17
+ name: material
18
+ features:
19
+ - navigation.tabs
20
+ - navigation.sections
21
+ - toc.integrate
22
+ - navigation.top
23
+ language: en
24
+ palette:
25
+ - scheme: default
26
+ toggle:
27
+ icon: material/toggle-switch-off-outline
28
+ name: Switch to dark mode
29
+ primary: teal
30
+ accent: purple
31
+ - scheme: slate
32
+ toggle:
33
+ icon: material/toggle-switch
34
+ name: Switch to light mode
35
+ primary: teal
36
+ accent: lime
37
+ # logo: PyTorch_logo_icon.svg
38
+
39
+ extra:
40
+ social:
41
+ - icon: fontawesome/brands/github-alt
42
+ link: https://github.com/shivanshka
43
+ #- icon: fontawesome/brands/twitter
44
+ # link: https://twitter.com/c17hawke
45
+ - icon: fontawesome/brands/linkedin
46
+ link: https://linkedin.com/in/shivansh-ka
47
+ #- icon: fontawesome/brands/instagram
48
+ # link: https://www.instagram.com/c17hawke/
49
+
50
+ extra_javascript:
51
+ - javascripts/mathjax.js
52
+ - https://polyfill.io/v3/polyfill.min.js #?features=es6
53
+ - https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
54
+
55
+ markdown_extensions:
56
+ - pymdownx.highlight:
57
+ anchor_linenums: true
58
+ - pymdownx.inlinehilite
59
+ - pymdownx.snippets
60
+ - admonition
61
+ - pymdownx.arithmatex:
62
+ generic: true
63
+ - footnotes
64
+ - pymdownx.details
65
+ - pymdownx.superfences
66
+ - pymdownx.mark
67
+
68
+
69
+ plugins:
70
+ - search
71
+
72
+ copyright: |
73
+ &copy; 2022 <a href="https://github.com/shivanshka" target="_blank" rel="noopener">Shivansh Kaushal</a>
requirements.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ numpy
2
+ pandas
3
+ tensorflow
4
+ transformers[sentencepiece]
5
+ streamlit
6
+ matplotlib
7
+ seaborn
src/batch_predict.py ADDED
File without changes
src/single_predict.py ADDED
File without changes