zaibutcooler commited on
Commit
19307df
1 Parent(s): 638604f

continuing project

Browse files
.github/workflows/hugging-face.yaml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Uploading on Huggingface
2
+ on:
3
+ push:
4
+ branches: [main]
5
+ workflow_dispatch:
6
+
7
+ jobs:
8
+ sync-to-hub:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ with:
13
+ fetch-depth: 0
14
+ lfs: true
15
+ - name: Push to hub
16
+ env:
17
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
18
+ HF_USERNAME: zaibutcooler
19
+ SPACE_NAME: yume
20
+ run: git push https://${{ secrets.HF_USERNAME }}:[email protected]/spaces/$HF_USERNAME/$SPACE_NAME main
.github/workflows/unit-test.yaml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Unit Tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - "main"
7
+
8
+ jobs:
9
+ test:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v2
15
+
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v2
18
+ with:
19
+ python-version: 3.x
20
+
21
+ - name: Install dependencies
22
+ run: pip install -r requirements.txt
23
+
24
+ - name: Run tests
25
+ run: python -m unittest discover tests
CONTRIBUTING.md DELETED
@@ -1,56 +0,0 @@
1
- # Contributing to burmese_gpt
2
-
3
- Thank you for considering contributing to burmese_gpt! Please take a moment to review the following guidelines.
4
-
5
- ## Code of Conduct
6
-
7
- This project and everyone participating in it are governed by the [Code of Conduct](CODE_OF_CONDUCT.md). By participating, you agree to uphold this code. Please report unacceptable behavior to [your email or a dedicated email for issues].
8
-
9
- ## How to Contribute
10
-
11
- 1. Fork the repository.
12
-
13
- 2. Clone the forked repository to your local machine:
14
-
15
- ```bash
16
- git clone https://github.com/zaibutcooler/burmese_gpt.git
17
- ```
18
-
19
- 3. Create a new branch for your feature or bug fix:
20
-
21
- ```bash
22
- git checkout -b feature-name
23
- ```
24
-
25
- 4. Make your changes and commit them with a descriptive commit message:
26
-
27
- ```bash
28
- git add .
29
- git commit -m "Add your descriptive message here"
30
- ```
31
-
32
- 5. Push the changes to your fork:
33
-
34
- ```bash
35
- git push origin feature-name
36
- ```
37
-
38
- 6. Create a pull request (PR) from your fork to the main repository.
39
-
40
- 7. Ensure your PR title and description are clear and concise.
41
-
42
- ## Reporting Issues
43
-
44
- If you find any issues or have suggestions, please open an issue on the [Issue Tracker](https://github.com/zaibutcooler/burmese_gpt/issues).
45
-
46
- ## Style Guide
47
-
48
- - Follow the existing coding style.
49
- - Use meaningful variable and function names.
50
- - Write clear and concise documentation.
51
-
52
- ## License
53
-
54
- By contributing, you agree that your contributions will be licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
55
-
56
- Thank you for contributing to burmese_gpt!
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
space.py CHANGED
@@ -1,7 +1,7 @@
1
  import streamlit as st
2
 
3
  def main():
4
- st.title("Simply say Uwu xD")
5
 
6
  video_source = st.sidebar.radio("Select feature:", ("Audio Generator", "Text Predictor",))
7
 
 
1
  import streamlit as st
2
 
3
  def main():
4
+ st.title("Burmese GPT")
5
 
6
  video_source = st.sidebar.radio("Select feature:", ("Audio Generator", "Text Predictor",))
7
 
tests/test_dataloader.py CHANGED
@@ -1,7 +1,9 @@
1
  from ..burmesegpt import Data
2
 
 
3
  def check_loader():
4
  pass
5
 
 
6
  def check_output_dim():
7
  pass
 
1
  from ..burmesegpt import Data
2
 
3
+
4
  def check_loader():
5
  pass
6
 
7
+
8
  def check_output_dim():
9
  pass
tests/test_tokenizer.py CHANGED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import unittest
2
+ import torch
3
+
4
+
5
+ class TestTokenizer(unittest.TestCase):
6
+ def test_downloading(self):
7
+ url = ""
8
+ pass
9
+
10
+ def test_loading(self):
11
+ pass
12
+
13
+
14
+ if __name__ == "__main__":
15
+ unittest.main()