Comments (3)
Hi @dumitrescustefan ,
-
Could I ask you what do you mean electra implementation ? Do you mean the model architectures, hosted pretrained model, or the electra trainer that in a pr for a long time ?
-
Also I am wondering did you "get less than desired results" with this implementation so you want to try with different data ? If so, there's might be something I should do or could help.
-
I am glad that you like this. But this project is actually for my personal research, and I spent unexpectedly too much time on it. So currently there is no plan to add data for other language or improve the user interface.
You can try explore datasets first : https://huggingface.co/datasets
Or try to use your own dataset in hf/nlp: https://huggingface.co/nlp/loading_datasets.html#from-local-files
If you have problems applying your hf/nlp datasets to this implementation, you can open a issue and I try to help you.
from electra_pytorch.
Thanks for the quick response. By electra implementation from HF I mean the electra-trainer branch from HF (the only trainer I managed to get to work) that's in the PR for a long time. What I am trying to do is to pretrain electra (small for now) on a different dataset (and other language). By less than desired results I mean that I am getting a rather poor performance (more than 20 points below a pretrained bert on the same dataset, though this was on an electra checkpoint with only 150K steps - imho the difference should be much smaller, even for only 150K steps with batchsize 128).
So, given the facts that you identified that bug in the code, plus that it is pretty cumbersome to use electra-trainer, I was wondering if you plan to edit your code such as to allow an external txt file to serve as the training corpus. (basically what HF's transformer classes LineByLineDataset and the DataCollator are doing now to allow to train on any text).
I will try your suggestion with the HF/nlp to load a local dataset, and I'll come back with a status update. That should skip the need of the LineByLineDataset and others. Thanks!
from electra_pytorch.
Best wishes for you !
from electra_pytorch.
Related Issues (20)
- How do I extract and save the discriminator from the checkpoint? HOT 3
- GPU utilization falls back to 0% when training with multiple GPUs HOT 5
- Sequence length too long for `ELECTRADataProcessor`. HOT 3
- Small typo in the README.md HOT 1
- How do I continue language model training? HOT 3
- How can I pretrain ELECTRA starting from weights from google ? HOT 9
- Is multi_task.py in a working state and if so how should one use it? HOT 1
- Is it possible to perform the fine-tuning within the HuggingFace library? HOT 3
- How to load the cached data from ELECTRAProcessor? HOT 1
- 如何多卡并行训练模型(How to train multi-card models in parallel?) HOT 1
- Training time and ++ version HOT 1
- Pyarrow dataloading issue HOT 2
- Use different tokenizer (and specify special tokens) HOT 1
- SST-2 accuracy is 50% after finetuning HOT 10
- Relative importance of different "tricks" in README HOT 1
- NameError: name 'sort_by_run' is not defined HOT 2
- Custom Dataset
- License info is required
- Python version
- Restarting from previous checkpoint
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 electra_pytorch.