Spaces:
Sleeping
Sleeping
Zai
commited on
Commit
·
07eca6f
0
Parent(s):
starting project
Browse files- CONTRIBUTING.md +56 -0
- README.md +1 -0
- burmese-gpt/data_prep.py +1 -0
- burmese-gpt/encoder.py +3 -0
- burmese-gpt/models.py +9 -0
- burmese-gpt/utils.py +0 -0
- requirements.txt +0 -0
CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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!
|
README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# Burmese GPT
|
burmese-gpt/data_prep.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# to preps data
|
burmese-gpt/encoder.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class Encoder:
|
| 2 |
+
def __init__(self):
|
| 3 |
+
pass
|
burmese-gpt/models.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
from torch import nn
|
| 3 |
+
|
| 4 |
+
class GPT(nn.Module):
|
| 5 |
+
def __init__(self):
|
| 6 |
+
super().__init__()
|
| 7 |
+
|
| 8 |
+
def forward(self):
|
| 9 |
+
pass
|
burmese-gpt/utils.py
ADDED
|
File without changes
|
requirements.txt
ADDED
|
File without changes
|