Download config.py from Tarush-AI/AureliusGPT: direct link, hf CLI and curl.
- Browser
- Download file 1.29 kB
-
https://huggingface.co/Tarush-AI/AureliusGPT/resolve/main/config.py
- Command line
-
hf download hf://Tarush-AI/AureliusGPT/config.py
-
curl -L -o config.py https://huggingface.co/Tarush-AI/AureliusGPT/resolve/main/config.py
1.29 kB
| import os | |
| PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__)) | |
| #preprocessing | |
| greekwords = {'ἔμφρων': 'emphron', 'σύμφρων': 'sumphron', 'ὑπέρφρων': 'huperphron', 'Νόμος': 'nomos', 'νέμων': 'nemon', 'ἀξιοπίστως': 'axiopistos', 'θεοφόρητος': 'theophoretos', 'οἰκονομίαν': 'oikonomian', 'τοῦτο': 'touto', 'ἔφερεν': 'eferen', 'αὐτῷ': 'auto', 'εὔμοιρος': 'eumoiros', 'εὐδαιμονία': 'eudaimonia', 'εὐπατρίδαι': 'eupatridai', 'καθότι': 'kathoti', 'κατορθώσεως': 'katorthoseos', 'κόσμος': 'kosmos', 'μέλος': 'melos', 'μέρος': 'meros', 'παρειλήφαμεν': 'pareilephamen', 'συμβαίνειν': 'symbainein', 'τάσις': 'tasis', 'ἀγαθός': 'agathos', 'ἀκτῖνες': 'aktines', 'ἐκτείνεσθαι': 'ekteinesthai', 'δαίμων': 'daimon', 'κατορθώσεις': 'katorthoseis', 'ἀγαθὸς': 'agathos', 'ἀυτῷ': 'auto'} | |
| #tokenization | |
| vocab_size = 4000 | |
| #model | |
| num_blocks = 6 | |
| d_model = 64 | |
| h = 4 | |
| d_head = d_model // h | |
| d_ff = 4 * d_model | |
| #training time | |
| batch_size = 512 | |
| num_epochs = 50 | |
| max_seq_length = 512 | |
| lr = 1e-3 | |
| #runtime | |
| max_tokens = 200 | |
| temperature = 0.8 | |
| justification_model = "gpt-4" | |
| argmax = False |