nicopbeard Claude Sonnet 4.6 commited on
Commit
3e68fce
Β·
0 Parent(s):

Initial project scaffold

Browse files

Sets up directory structure for 6-person team split: data, src, evaluation,
analysis, report, notebooks. Each person owns one top-level directory.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

.gitignore ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *.pyo
5
+ *.pyd
6
+ .Python
7
+ *.egg-info/
8
+ dist/
9
+ build/
10
+ *.egg
11
+
12
+ # Environments
13
+ .env
14
+ .venv
15
+ venv/
16
+ env/
17
+
18
+ # Jupyter
19
+ .ipynb_checkpoints/
20
+ *.ipynb_checkpoints
21
+
22
+ # Data β€” raw files are not committed; only processed artifacts are
23
+ data/raw/
24
+ data/cache/
25
+ *.csv
26
+ *.jsonl
27
+ *.parquet
28
+ *.pkl
29
+
30
+ # Secrets (Reddit API credentials etc.)
31
+ .env
32
+ *.env
33
+
34
+ # IDEs
35
+ .vscode/
36
+ .idea/
37
+ *.swp
38
+
39
+ # OS
40
+ .DS_Store
41
+ Thumbs.db
42
+
43
+ # Model checkpoints (large binaries)
44
+ checkpoints/
45
+ *.pt
46
+ *.bin
47
+ *.safetensors
README.md ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Argument Mining for Online Debates
2
+
3
+ NLP group project β€” Option 1: Application Development.
4
+
5
+ Given a Reddit thread where people disagree, the system extracts argument structure (claims, counter-claims, premises) and surfaces what the debate is actually about.
6
+
7
+ ## Project structure
8
+
9
+ ```
10
+ nlp-project/
11
+ β”œβ”€β”€ data/ # Data loading and preprocessing (Person 1)
12
+ β”œβ”€β”€ src/ # Models and inference pipeline (Person 2)
13
+ β”œβ”€β”€ evaluation/ # Custom eval harness and metrics (Person 3)
14
+ β”œβ”€β”€ analysis/ # Failure mode analysis (Person 4)
15
+ β”œβ”€β”€ report/ # Literature review and written report (Person 5)
16
+ └── notebooks/ # Exploration and demos (Person 6)
17
+ ```
18
+
19
+ ## Setup
20
+
21
+ ```bash
22
+ python -m venv venv
23
+ source venv/bin/activate
24
+ pip install -r requirements.txt
25
+ ```
26
+
27
+ Copy `.env.example` to `.env` and fill in your Reddit API credentials before using the Reddit scraper.
28
+
29
+ ## Data sources
30
+
31
+ - **Change My View (CMV)** β€” r/changemyview threads with delta annotations as persuasion signals
32
+ - **IBM Debater** β€” `ibm/argument_quality_ranking_30k` via HuggingFace datasets
33
+ - **Live Reddit** β€” PRAW scraper for fresh threads
34
+
35
+ See `data/README.md` for details on obtaining and placing raw files.
36
+
37
+ ## Use of AI tools
38
+
39
+ This project used LLMs (Claude) for boilerplate code generation and literature search. All methodology decisions, test set design, label definitions, and conclusions are the team's own.
analysis/__init__.py ADDED
File without changes
evaluation/__init__.py ADDED
File without changes
requirements.txt ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ datasets>=2.14.0
2
+ transformers>=4.35.0
3
+ torch>=2.0.0
4
+ pandas>=2.0.0
5
+ numpy>=1.24.0
6
+ praw>=7.7.0
7
+ scikit-learn>=1.3.0
8
+ tqdm>=4.66.0
9
+ python-dotenv>=1.0.0
src/__init__.py ADDED
File without changes