3v324v23 commited on
Commit
413c34f
·
1 Parent(s): b31e409

Nexusflow_Athene-V2-Chat_493f1bbd561a5a7e3d27c4081d4ee47508bf6831.logits-and-weights

Browse files
Nexusflow_Athene-V2-Chat_493f1bbd561a5a7e3d27c4081d4ee47508bf6831.logits-and-weights CHANGED
@@ -1 +1 @@
1
- Subproject commit bec50508fb4682d40835fe26828564852df28a08
 
1
+ Subproject commit 5d3f813e0f08b8d9117890baf8a9215505fdf157
scripts/lfs_add.bash CHANGED
@@ -1,13 +1,14 @@
1
  # manually add a passed list of files to the local LFS store in a parallel manner bypassing filter-process
 
2
 
3
  export GIT_DIR=$(git rev-parse --git-dir)
4
  [ -d "$GIT_DIR" ] || exit -1
5
 
6
- parallel -j1 -i bash -vx -c '\
7
  sha=$(pv -c "{}" 2>/dev/tty | sha256sum | cut -d \ -f 1);\
8
  size=$(($(stat -c %s "{}")));\
9
  if (( size > 1024 )); then\
10
- dir="$GITDIR"/lfs/objects${sha:0:2}/${sha:2:2}/;\
11
  mkdir -p "$dir";\
12
  mv "{}" "$dir"/${sha} && {\
13
  echo version https://git-lfs.github.com/spec/v1;\
 
1
  # manually add a passed list of files to the local LFS store in a parallel manner bypassing filter-process
2
+ # original final revision of this script was lost. huggingface-cli also has functionality for bypassing git-lfs.
3
 
4
  export GIT_DIR=$(git rev-parse --git-dir)
5
  [ -d "$GIT_DIR" ] || exit -1
6
 
7
+ parallel -i bash -vx -c '\
8
  sha=$(pv -c "{}" 2>/dev/tty | sha256sum | cut -d \ -f 1);\
9
  size=$(($(stat -c %s "{}")));\
10
  if (( size > 1024 )); then\
11
+ dir="$GIT_DIR"/lfs/objects/${sha:0:2}/${sha:2:2}/;\
12
  mkdir -p "$dir";\
13
  mv "{}" "$dir"/${sha} && {\
14
  echo version https://git-lfs.github.com/spec/v1;\