Comments (6)
@matt-gardner what do you mean exactly by evaluate
? allennlp/run evaluate
or a particular method? Why do you need the ability to override here?
from allennlp.
Yeah, I meant the command. See #246 for the original motivation for this. Not really sure how necessary this is anymore... (The whole _sanitize_config()
method can probably be removed at this point, actually.) I haven't recently run into a situation where I really wished I had this. I know @OyvindTafjord ran into it a lot more frequently, though.
from allennlp.
My WIP change #402 support overriding fields, but does not support removing fields.
from allennlp.
But that parameter was removed a long time ago, so that particular use case is no longer present. You could also override it with None
to effectively remove it (which means you should probably do something like our replace_none
method in your override code).
from allennlp.
The original motivation for this issue is moot.
from allennlp.
I just talked with Oyvind, and he brought up a few cases where being able to change test-time configuration is helpful, and is currently a huge pain.
- Changing the batch size, because, e.g., the test data has some really long sentences
- Trying hacks with padding, like what Oyvind did to the character CNN in BiDAF
These cases are pretty rare, though. We may want to open this issue again at some point in the future, but for now there's not enough motivation for it.
from allennlp.
Related Issues (20)
- The DataLoader Needs to Handle Dirty Examples. HOT 8
- error message occuied โzipfile.BadZipFile: File is not a zip fileโ HOT 3
- AllenNLP biased towards BERT HOT 12
- will update to support latest pytorch? HOT 9
- Rich 12.1.0 has been yanked, but has been pinned in `requirements.txt` HOT 1
- Incompatibile packages HOT 2
- Unclear how to use text2sql model HOT 5
- Can't load models with .zip extension HOT 2
- AllenNLP-Light! ๐ ๐ HOT 2
- Is it possible to load my own quantized model from local HOT 3
- Questions about start training from checkpoint using --recover HOT 1
- Is it possible to load my own quantized model from local HOT 9
- SRL BERT performing poorly for german dataset HOT 1
- Remove upper bounds for requirements HOT 1
- Alternative semantic role labeling model HOT 3
- AutoTokenizer config error when load clipmodel HOT 2
- When 'instances_per_epoch' is set up in the class MultiTaskDataLoader, the function __len__ in it will return a wrong answer. HOT 1
- New version with upper bounds on dependencies removed HOT 2
- Incomplete model_state_epoch files HOT 1
- allennlp.common.checks.ConfigurationError: key "token_embedders" is required at location "model.text_field_embedder." HOT 3
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 allennlp.