Skip to content

boots-coder/nlp-lesson-design

Repository files navigation

NLP Course Project README

Project Overview

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.

Project Structure

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

Requirements

  • Python 3.11
  • macOS
  • PyTorch (latest version from the official website)

Installation

To set up the project environment, follow these steps:

  1. Clone the repository:

    git clone https://github.com/yourusername/nlp-course-project.git
    cd nlp-course-project
  2. Create a virtual environment:

    python3.11 -m venv venv
    source venv/bin/activate
  3. Install PyTorch: Follow the instructions on the PyTorch website to install the latest version of PyTorch for macOS.

Contributing

If you would like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature-branch).
  5. Create a new Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published