Comments (4)
The brackets are required. This issue has been fixed internally and we are going to push an update to this codebase soon (In Jan). Since this public version acts as a mirror, we have not sync-ed for awhile now.
from long-range-arena.
Thanks for clarifying!
So the correct way to go would be to tokenize according to this vocabulary
( ']', '1', '4', '7', '9', '8', '2', '5', '3', '0', '6', '[MIN', '[SM', '[MAX', '[MED'])
?
from long-range-arena.
I suppose the fix would be to pass something like reserved_tokens=['[', ']']
to tfds.deprecated.text.Tokenizer
to prevent it from ignoring these?
from long-range-arena.
If you address the issue this way it gives rise to the following vocabulary
('MED', '5', '8', '4', '0', ']', '1', '3', '6', '7', '2', 'MIN', '9', '[', 'MAX', 'SM')
which differs from this
( ']', '1', '4', '7', '9', '8', '2', '5', '3', '0', '6', '[MIN', '[SM', '[MAX', '[MED')
in the sense that [
is encoded as a token itself rather than being part of '[MIN', '[SM', '[MAX', '[MED'
.
@vanzytay could you please clarify which is the right way to go?
from long-range-arena.
Related Issues (20)
- bug in Pathfinder-128 dataset HOT 9
- Error in matching task
- Perceiver on LRA
- Pathfinder not learning three times in a row. HOT 1
- Error when run document retrival HOT 3
- Request about cuda version when using GPUs HOT 4
- Quadratic Longformer suspicion HOT 1
- Dataset for the matching task HOT 1
- Are encoder and decoder both implemented with sparse attention for bigbird? How long is the verified output length for the decoder?
- Current code doesn't work with latest flax version and run on CPU only HOT 15
- The best checkpoint of Transformer
- AAN dataset unavailable HOT 1
- AAN dataset crashing when loading .tsv file HOT 4
- ModuleNotFoundError: No module named 'flax.deprecated' HOT 3
- How to use the pathfinder.py code to generate the dataset? HOT 1
- Pretrained models
- Is there a pytorch equivalent of this implementation? HOT 2
- Question regarding model checkpoint
- Question regarding Pathfinder and Listops performance HOT 2
- Is it really byte-level?
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 long-range-arena.