special_tokens:
bos_token: "<s>"
eos_token: "</s>"
unk_token: "<unk>"
tokens:
You'll need:
- 600GB disk space (the model itself is ~280, then you'll convert it to HF which will double it)
- High bandwidth
First, download the Mixtral model using a torrent client:
magnet:?xt=urn:btih:9238b09245d0d8cd915be09927769d5f7584c1c9&dn=mixtral-8x22b&tr=udp%3A%2F%http://2Fopen.demonii.com%3A1337%2Fannounce&tr=http%3A%2F%http://2Ftracker.opentrackr.org%3A1337%2Fannounce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# License: MPL 2.0 (Mozilla Public License, version 2.0) | |
# Copyright: Copyright (c) 2023 mrfakename <mrfake.name>. All rights reserved, except as licensed under the Mozilla Public License, version 2.0 | |
$ptext = "Progress: | |"; | |
echo $ptext; | |
for ($percent = 0 ; $percent <= 100 ; $percent++) { | |
echo "\033[" . strlen($ptext) . "D"; | |
$x = round(($percent / 10) * 2); | |
echo "Progress: | " . str_repeat("•", $x) . str_repeat(" ", 20 - $x) . " |"; | |
usleep(50000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FILE_CONTENTS = 'File Contents' | |
REPO_TYPE = 'dataset' | |
REPO_ID = 'username/repo' | |
HF_TOKEN = 'hf_***' | |
import requests | |
import json | |
import base64 | |
x = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# License: Unlicense, attribution optional but appreciated | |
# Copyright: Copyright (c) 2023 mrfakename. All rights reserved. Distributed under the Unlicense license. | |
# Author: mrfakename | |
# Date created: Dec 23, 2023 | |
# Published on: GitHub Gist | |
import torch | |
def get_device(): | |
if torch.cuda.is_available(): |
Ready to ditch MacPorts? Here's how to (really) do it:
If you follow the MacPorts Uninstallation Guide, which I really recommend you try first, you may encounter the following error:
zsh: no matches found: ...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Must be done on Desktop) | |
Find two coordinates on Google Maps. | |
Right click the first point, click the coordinates. Paste them into the code. | |
Right click on the second point, click the coordinates. Paste them into the code. | |
Right click the first point again, click Measure Distance. Then click the second point. Then run the code. |
NewerOlder