Skip to content

Commit d600a71

Browse files
committed
Initial project structure
1 parent 942726a commit d600a71

32 files changed

Lines changed: 183 additions & 4 deletions

.DS_Store

6 KB
Binary file not shown.

.github/workflows/tests.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Python Tests
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: [3.8, 3.9]
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install -e .
26+
pip install -r requirements-dev.txt
27+
- name: Lint with flake8
28+
run: |
29+
flake8 sentisynth tests
30+
- name: Test with pytest
31+
run: |
32+
pytest

.gitignore

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
# Virtual environment
24+
venv/
25+
env/
26+
ENV/
27+
28+
# Jupyter Notebook
29+
.ipynb_checkpoints
30+
31+
# Distribution / packaging
32+
.Python
33+
env/
34+
build/
35+
develop-eggs/
36+
dist/
37+
downloads/
38+
eggs/
39+
.eggs/
40+
lib/
41+
lib64/
42+
parts/
43+
sdist/
44+
var/
45+
*.egg-info/
46+
.installed.cfg
47+
*.egg
48+
49+
# Data and models
50+
data/raw/*
51+
data/processed/*
52+
data/models/*
53+
data/results/*
54+
!data/raw/.gitkeep
55+
!data/processed/.gitkeep
56+
!data/models/.gitkeep
57+
!data/results/.gitkeep
58+
59+
# IDEs and editors
60+
.idea/
61+
.vscode/
62+
*.swp
63+
*.swo
64+
65+
# Logs
66+
logs/
67+
*.log

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Param Kapur
3+
Copyright (c) 2025 Your Name
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

README.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,34 @@
1-
# SentiSynth
2-
Using language models to generate additional training examples that improve sentiment classifier performance in low-resource scenarios.
1+
# SentiSynth: Synthetic Data Generation for Sentiment Analysis
2+
3+
SentiSynth explores how synthetic data can improve sentiment analysis models when labeled data is scarce.
4+
5+
## Installation
6+
7+
```bash
8+
# Clone the repository
9+
git clone https://github.com/yourusername/sentisynth.git
10+
cd sentisynth
11+
12+
# Create a virtual environment
13+
python -m venv venv
14+
source venv/bin/activate # On Windows: venv\Scripts\activate
15+
16+
# Install dependencies
17+
pip install -e .
18+
pip install -r requirements-dev.txt
19+
```
20+
21+
## Usage
22+
23+
More details coming soon!
24+
25+
## Project Structure
26+
27+
- `sentisynth/`: Main package
28+
- `data/`: Data loading and processing
29+
- `models/`: Model implementations
30+
- `generation/`: Synthetic data generation
31+
- `evaluation/`: Evaluation metrics and analysis
32+
- `tests/`: Unit tests
33+
- `notebooks/`: Jupyter notebooks for exploration
34+
- `scripts/`: Utility scripts

data/models/.gitkeep

Whitespace-only changes.

data/processed/.gitkeep

Whitespace-only changes.

data/raw/.gitkeep

Whitespace-only changes.

data/results/.gitkeep

Whitespace-only changes.

notebooks/01_data_exploration.ipynb

Whitespace-only changes.

0 commit comments

Comments
 (0)