Comments (4)
With only two sentences in your data set there isn't enough for a train/valid/test set, so you need to add more data or change the --split argument to something like 99,1,0
or something? You'll want to look at the " > dataset split:" part of the output, make sure there is data in the training and eval set.
from megatron-lm.
With only two sentences in your data set there isn't enough for a train/valid/test set, so you need to add more data or change the --split argument to something like
99,1,0
or something? You'll want to look at the " > dataset split:" part of the output, make sure there is data in the training and eval set.
I tried with a dataset with ~900 samples, but still encountered the error. Here's my output
dataset split:
train:
document indices in [0, 726) total of 726 documents
sentence indices in [0, 726) total of 726 sentences
validation:
document indices in [726, 817) total of 91 documents
sentence indices in [726, 817) total of 91 sentences
test:
document indices in [817, 908) total of 91 documents
sentence indices in [817, 908) total of 91 sentences
loading indexed mapping from my-bert_text_sentence_train_indexmap_160mns_509msl_0.10ssp_1234s.npy
loaded indexed file in 0.001 seconds
total number of samples: 0
loading indexed mapping from my-bert_text_sentence_valid_indexmap_240mns_509msl_0.10ssp_1234s.npy
loaded indexed file in 0.001 seconds
total number of samples: 0
loading indexed mapping from my-bert_text_sentence_test_indexmap_80mns_509msl_0.10ssp_1234s.npy
loaded indexed file in 0.000 seconds
total number of samples: 0
finished creating BERT datasets ...
from megatron-lm.
Marking as stale. No activity in 60 days. Remove stale label or comment or this will be closed in 7 days.
from megatron-lm.
Marking as stale. No activity in 60 days.
from megatron-lm.
Related Issues (20)
- [QUESTION] Loss increased by 10 times at second step (after one step of backward). HOT 17
- [QUESTION]Mamba-2-hybrid Weights HOT 4
- [QUESTION] why the _p2p_ops functions has the condition branches for get_pipeline_model_parallel_rank()
- [BUG] the argument of parser.add_argument is wrong in tools/checkpoint/convert.py
- [ENHANCEMENT]Can we pass a tuple that includs all the tensors I'd like to pass between pipeline's different stages?
- [QUESTION] Using segformer segmentation models
- [QUESTION] Question about Mixtral compatibility with Megatron-LM core0.7.0
- [BUG] megatron.training not found HOT 3
- [QUESTION] How to time the code
- [BUG] pipeline_paralle is not available when pp_size > 2
- [BUG] RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead. HOT 1
- [QUESTION]when pretraining bert,meet bug:cuBLAS Error: the requested functionality is not supported HOT 3
- [QUESTION] Gloo connectFullMesh failed when the number of nodes setting "export GLOO_SOCKET_IFNAME=bond4" exceeds 60
- [QUESTION] OSError: [Errno 28] No space left on device HOT 4
- [QUESTION] --overlap-grad-allreduce failing as gradients coming through as None in param hook HOT 2
- [BUG] @jit_fuser fails with Unknown type constructor Sequence HOT 6
- [BUGS] Pipeline Parallelism fails/hangs with Megatron Core example HOT 1
- [QUESTION] What's the internal difference for training when setting only "fp8-format" or setting "fp8-format"+"bf16" HOT 1
- [QUESTION] Why is TELayerNormColumnParallelLinear used instead of TEColumnParallelLinear in gpt_layer_specs HOT 2
- [QUESTION] Why does the tokenizer of mamba-2-hybrid have two ids for the token 'Yes'? id 24639 and id 7298 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 megatron-lm.