This project is part of an NLP course designed to develop a comprehensive understanding of natural language processing techniques and their applications. The project involves implementing various NLP models and techniques using Python, with a focus on PyTorch.
The project directory is organized as follows:
.
├── data
│ └── SemEval-Triplet-data
├── project_structure.txt
├── readme.md
├── test1-sentiment
│ ├── bert- feature3.py
│ ├── bert-feature.py
│ ├── bert-feature2.py
│ ├── bert-vec.py
│ ├── gloVe- feature.py
│ ├── gloVe-feature2.py
│ ├── gloVe-vec.py
│ └── test-system.py
├── test2-Syntax
│ ├── __pycache__
│ ├── test-GAT.py
│ ├── test-ltp.py
│ └── test-spacy.ipynb
├── test3
│ ├── bert-spacy.py
│ ├── bert-test.py
│ ├── demo.py
│ ├── demo_dataset.csv
│ ├── gloVE-test.py
│ ├── gloVe-spacy.py
│ └── test.py
└── test4
├── bert- TripletExtraction.py
├── bert-model.py
├── dependency_tree_1.svg
├── dependency_tree_2.svg
├── results
├── spacy-gloVe-bert-demo.ipynb
├── spacy-practice.py
├── test-bertloss.py
├── test-readdata.py
├── test-textblob-spacy.py
├── test.py
└── textblob-practice.py
9 directories, 31 files
- Python 3.11
- macOS
- PyTorch (latest version from the official website)
To set up the project environment, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/nlp-course-project.git cd nlp-course-project
-
Create a virtual environment:
python3.11 -m venv venv source venv/bin/activate
-
Install PyTorch: Follow the instructions on the PyTorch website to install the latest version of PyTorch for macOS.
If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
We would like to thank the instructors and teaching assistants of the NLP course for their guidance and support throughout this project.
For more details and documentation, please refer to the project webpage.
If you have any questions or need further assistance, please contact the project maintainer at [email protected].
Happy coding!