Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation and Setup #39

Open
DelaramRajaei opened this issue Oct 16, 2023 · 6 comments
Open

Installation and Setup #39

DelaramRajaei opened this issue Oct 16, 2023 · 6 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@DelaramRajaei
Copy link
Member

This issue is where I will record any problems or issues I come across during the installation process of RePair project.

@DelaramRajaei DelaramRajaei added the good first issue Good for newcomers label Oct 16, 2023
@DelaramRajaei DelaramRajaei self-assigned this Oct 16, 2023
@DelaramRajaei
Copy link
Member Author

I reviewed the installation manual and started by creating a new environment from the environment.yml file. An error occurred because of faiss-cpu, leading to ignoring all other libraries listed in the pip section.

faiss-gpu didn't install using pip installation. To address the installation problem, I resolved it by running the following code:

conda install -c conda-forge faiss-gpu

Accordingly, this is the command for the CPU:

conda install -c conda-forge faiss-cpu

For all the others libraries I used pip. For example: installing t5 using pip:

pip install t5

I'm currently encountering a few bugs and working on resolving them.

@DelaramRajaei
Copy link
Member Author

I've managed to install the RePair project successfully. I obtained all the required files for the T5 model and ran the project using t5model: small.local.

While working with the main.py file, I encountered issues with reading the original file path, which required some minor code adjustments. Additionally, to address library conflicts, I made substitutions for certain commands, such as replacing progress_apply() with apply().

This is the log file generated after successfully running the program.
log_first_run.txt

@hosseinfani
Copy link
Member

Hi @DelaramRajaei , thanks for the update. can we keep progress_apply() as it shows the progress when we have big runs.

@DelaramRajaei DelaramRajaei reopened this Nov 7, 2023
@DelaramRajaei
Copy link
Member Author

@hosseinfani
I'm going to figure out how to keep the progress_apply().

Right now, I've added the expanders and Query class, and I'm fixing any related issues and problems. I'm still facing bugs. After a successful run, I'll sort it out.

@yogeswarl
Copy link
Member

Hey @DelaramRajaei, Let me know if you need any help. I have worked with the pipeline extensively,I can help you with a workaround.

@DelaramRajaei
Copy link
Member Author

Hey @yogeswarl. Thank you for your offer. I'll reach out if I have any questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants