Text Generation
Transformers
bloom
Eval Results
manestay commited on
Commit
58b8106
1 Parent(s): feb866a

Update README.md

Browse files

`glob.glob` may return the split files in the wrong order. Adding `sorted` to ensure concatenation is in `a,b,c` order.

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -785,7 +785,7 @@ Now join the three `split` files, which can be done with the following Python co
785
  import glob
786
 
787
  # Get the list of all files matching the pattern
788
- files = glob.glob('gptq_model-4bit--1g.JOINBEFOREUSE.split-*.safetensors')
789
 
790
  # Open the output file in binary write mode
791
  with open('gptq_model-4bit--1g.safetensors', 'wb') as outfile:
 
785
  import glob
786
 
787
  # Get the list of all files matching the pattern
788
+ files = sorted(glob.glob('gptq_model-4bit--1g.JOINBEFOREUSE.split-*.safetensors'))
789
 
790
  # Open the output file in binary write mode
791
  with open('gptq_model-4bit--1g.safetensors', 'wb') as outfile: