Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

very long inference time with Mistral-7b-sft-beta #7

Open
skepsun opened this issue Sep 3, 2024 · 0 comments
Open

very long inference time with Mistral-7b-sft-beta #7

skepsun opened this issue Sep 3, 2024 · 0 comments

Comments

@skepsun
Copy link

skepsun commented Sep 3, 2024

Thanks for your great work. I want to apply RAIN to Mistral ([https://huggingface.co/HuggingFaceH4/mistral-7b-sft-beta]) on HH test set. I only changed scripts of loading dataset in main.py (I want inference on entire test set, thus I just set ds1 = ds):

ds = load_dataset("Anthropic/hh-rlhf", split="test")
ds = ds.shuffle(seed=42)
ds1 = ds
# ds1 = ds.select(range(args.start, args.end))

Then I run this command:

python allocation.py --modelname path_to_mistral --nump 8 --outdir mistral --s 0 --e 1

The task lasts for 17 hours, but in res_x.json(x=0,1,2,3,4,5,6,7) there is still only the same first question with answers. I think --s and --e will not work, no matter how I set them. But multiple processes seem to inference on the same data? And the inference is very very very slow ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant