maastrichtlawtech / bsard Goto Github PK
View Code? Open in Web Editor NEW๐ A statutory article retrieval dataset in French. (ACL 2022)
Home Page: https://aclanthology.org/2022.acl-long.468
License: MIT License
๐ A statutory article retrieval dataset in French. (ACL 2022)
Home Page: https://aclanthology.org/2022.acl-long.468
License: MIT License
Hi,
As specified in the documentation, I made the environment from the yml file:
time conda env create -n bsard -f environment.yml
However, I run into an error when doing the grid search:
Traceback (most recent call last):
File "scripts/search_hyperparameters.py", line 11, in <module>
from retriever import Word2vecRetriever, FasttextRetriever, BERTRetriever
File "/u/salaunol/Documents/_2021_automne/bsard/scripts/retriever.py", line 16, in <module>
from transformers import (CamembertModel, CamembertTokenizer,
ImportError: cannot import name 'CamembertModel' from 'transformers' (/u/salaunol/anaconda3/envs/bsard/lib/python3.8/site-packages/transformers/__init__.py)
The transformers version was the following:
transformers 2.1.1 pyhd3eb1b0_0
I fixed it with pip install transformers==2.5.0
but it would be preferable to specify the version for each library in environment.yml
Edit: issue submitted too fast
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.