Comments (3)
Hi,
It might be due to different versions of transformers. Can you check your installed tranformers
version? The current code is designed for 3.4.0
transformers.
from lm-bff.
In this case --evaluation_strategy epoch would seem to be the correct replacement. I would agree that this would work with transformers 3.4.0. In the quick start section, it reads "but it should work with other versions". I think this part should be deleted and the assertion should read this requires transformers 3.4. As it is, when I replace --evaluate_during_training, there are other errors waiting behind which also result from mismatched version.
from lm-bff.
Good point, I'll edit the README.
from lm-bff.
Related Issues (20)
- ImportError: cannot import name 'BertOnlyMLMHead' from 'transformers' HOT 3
- Testing: New Data for GLUE Tasks HOT 6
- Error while calling dataset.py: ValueError: 50264 is not in list HOT 2
- Using trained models in a separate process for inference HOT 1
- What is difference between --type prompt & --type prompt-demo? HOT 1
- Question about prompt-based finetuning and automatic selection of label words HOT 3
- Negative CoLA MCC - Prompt-Based Finetuning error? HOT 2
- Bug in dataloader ? HOT 3
- Table 3 uses manual label words or generated label words? HOT 2
- Average the logits of 16 demonstrations HOT 1
- label generation problem HOT 2
- num_k parameter is not used HOT 4
- Bug in tools/ensemble.py/get_labels HOT 2
- A little question about the evaluation HOT 1
- lm_bff.json文件中相互关联的参数:"inspired_templates", "replace_token_map_list"如何设置? HOT 1
- Bug in get_sbert_embedding.py? HOT 2
- The issue for the loss of regression tasks HOT 1
- question about label words which consist of more than 2 sub tokens HOT 1
- Weird SST2 dataset size HOT 4
- Hyperparameter selection for Finetuning Full setting. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lm-bff.