Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -47,6 +47,7 @@ MODEL_DIR="models/Midnight-Miqu-70B-v1.5"
|
|
47 |
OUTPUT_DIR="exl2_midnightv15-70b"
|
48 |
MEASUREMENT_FILE="measurements/midnight70b-v15.json"
|
49 |
TEMPLATE_FILE="models/Midnight-Miqu-70B-v1.5/README-TEMPLATE.md"
|
|
|
50 |
|
51 |
BIT_PRECISIONS=(6.0 5.0 4.5 4.0 3.5 3.0 2.75 2.5 2.25)
|
52 |
|
@@ -68,5 +69,9 @@ do
|
|
68 |
|
69 |
cp "$TEMPLATE_FILE" "$CONVERTED_FOLDER/README.md"
|
70 |
sed -i "s/X.XX/$BIT_PRECISION/g" "$CONVERTED_FOLDER/README.md"
|
|
|
|
|
|
|
|
|
71 |
done
|
72 |
```
|
|
|
47 |
OUTPUT_DIR="exl2_midnightv15-70b"
|
48 |
MEASUREMENT_FILE="measurements/midnight70b-v15.json"
|
49 |
TEMPLATE_FILE="models/Midnight-Miqu-70B-v1.5/README-TEMPLATE.md"
|
50 |
+
CARD_FILE="models/Midnight-Miqu-70B-v1.5/Elrondel.card.png"
|
51 |
|
52 |
BIT_PRECISIONS=(6.0 5.0 4.5 4.0 3.5 3.0 2.75 2.5 2.25)
|
53 |
|
|
|
69 |
|
70 |
cp "$TEMPLATE_FILE" "$CONVERTED_FOLDER/README.md"
|
71 |
sed -i "s/X.XX/$BIT_PRECISION/g" "$CONVERTED_FOLDER/README.md"
|
72 |
+
cp "$CARD_FILE" "$CONVERTED_FOLDER"
|
73 |
+
|
74 |
+
/home/mmealman/miniconda3/bin/huggingface-cli upload "$UPLOAD_FOLDER" "$CONVERTED_FOLDER" .
|
75 |
+
|
76 |
done
|
77 |
```
|