Skip to content

Commit

Permalink
fix module 'numpy' has no attribute 'float'
Browse files Browse the repository at this point in the history
  • Loading branch information
Pab1x committed Aug 28, 2023
1 parent 3dabcaa commit 1856df8
Show file tree
Hide file tree
Showing 16 changed files with 5 additions and 3 deletions.
Binary file removed .DS_Store
Binary file not shown.
Binary file removed Data/.DS_Store
Binary file not shown.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ Click the links below to view our papers, checkpoints and datasets
```
python>=3.8
transformers==4.22.2
numpy
numpy==1.23.5
datasets==2.11.0
faiss-cpu
scikit-learn>=1.1.2
pandas
tensorboard
```

We provide the version file reproduce/environment.yml of all our used packages, if you have any problems configuring the environment, please refer to this document.
We provide the version file `reproduce/environment.yml` of all our used packages, if you have any problems configuring the environment, please refer to this document.

**2. Install openmatch. To download OpenMatch as a library and obtain openmatch-thunlp-0.0.1.**

Expand All @@ -34,6 +34,8 @@ cd OpenMatch
pip install .
```

We do not include all the requirements in the package. You may need to manually install `torch`


**3. Prepare the pretrained T5 weights**

Expand All @@ -43,7 +45,7 @@ TASTE is built on [T5-base](https://huggingface.co/t5-base/tree/main).

### Reproducibility

We provide all scripts, log files, and tensorboard required for dataset processing, training, evaluation, and testing under the reproduce folder. Please refer to these files and the readme in the reproduce folder to reproduce.
We provide all scripts, log files, and tensorboard required for dataset processing, training, evaluation, and testing under the reproduce folder. Please refer to these files and the readme in the `reproduce folder` to reproduce.



Expand Down
Binary file removed reproduce/.DS_Store
Binary file not shown.
Binary file removed reproduce/test/.DS_Store
Binary file not shown.
Binary file removed reproduce/test/toys/.DS_Store
Binary file not shown.
Binary file removed reproduce/test/yelp/.DS_Store
Binary file not shown.
Binary file removed reproduce/train/.DS_Store
Binary file not shown.
Binary file removed reproduce/train/beauty/.DS_Store
Binary file not shown.
Binary file removed reproduce/train/yelp/.DS_Store
Binary file not shown.
Binary file removed reproduce/valid/.DS_Store
Binary file not shown.
Binary file removed reproduce/valid/sports/.DS_Store
Binary file not shown.
Binary file removed reproduce/valid/toys/.DS_Store
Binary file not shown.
Binary file removed reproduce/valid/yelp/.DS_Store
Binary file not shown.
Binary file removed src/.DS_Store
Binary file not shown.
Binary file removed utils/.DS_Store
Binary file not shown.

0 comments on commit 1856df8

Please sign in to comment.