munish0838 commited on
Commit
1a7a0c1
1 Parent(s): a774c62

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +48 -0
README.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama3
3
+ library_name: transformers
4
+ datasets:
5
+ - Locutusque/hercules-v5.0
6
+ pipeline_tag: text-generation
7
+ base_model: Locutusque/Llama-3-Hercules-5.0-8B
8
+ ---
9
+ # Llama-3-Hercules-5.0-8B-GGUF
10
+ This is quantized version of [Locutusque/Llama-3-Hercules-5.0-8B](https://huggingface.co/Locutusque/Llama-3-Hercules-5.0-8B) created using llama.cpp
11
+
12
+ # Model Description
13
+
14
+ Llama-3-Hercules-5.0-8B is a fine-tuned language model derived from Llama-3-8B. It is specifically designed to excel in instruction following, function calls, and conversational interactions across various scientific and technical domains. This fine-tuning has hercules-v5.0 with enhanced abilities in:
15
+
16
+ - Complex Instruction Following: Understanding and accurately executing multi-step instructions, even those involving specialized terminology.
17
+ - Function Calling: Seamlessly interpreting and executing function calls, providing appropriate input and output values.
18
+ - Domain-Specific Knowledge: Engaging in informative and educational conversations about Biology, Chemistry, Physics, Mathematics, Medicine, Computer Science, and more.
19
+
20
+
21
+ ## Intended Uses & Potential Bias
22
+
23
+ Llama-3-Hercules-5.0-8B is well-suited to the following applications:
24
+
25
+ - Specialized Chatbots: Creating knowledgeable chatbots and conversational agents in scientific and technical fields.
26
+ - Instructional Assistants: Supporting users with educational and step-by-step guidance in various disciplines.
27
+ - Code Generation and Execution: Facilitating code execution through function calls, aiding in software development and prototyping.
28
+
29
+
30
+ **Important Note: Although Hercules-v5.0 is carefully constructed, it's important to be aware that the underlying data sources may contain biases or reflect harmful stereotypes. Use this model with caution and consider additional measures to mitigate potential biases in its responses.**
31
+
32
+ ## Limitations and Risks
33
+
34
+ - Toxicity: The dataset contains toxic or harmful examples.
35
+ - Hallucinations and Factual Errors: Like other language models, Llama-3-Hercules-5.0-8B may generate incorrect or misleading information, especially in specialized domains where it lacks sufficient expertise.
36
+ - Potential for Misuse: The ability to engage in technical conversations and execute function calls could be misused for malicious purposes.
37
+
38
+ ## Training Procedure
39
+
40
+ - This model was trained on 8 kaggle TPUs, using torch xla SPMD for high MXU efficiency. There was no expense on my end (meaning you can reproduce this too!)
41
+ - A learning rate of 2e-5 with the Adam optimizer. A linear scheduler was used, with an end factor of 0.005.
42
+ - No mixed precision was used, with the default dtype being bfloat16.
43
+ - A total batch size of 128 was used.
44
+ - Trained on all examples of Hercules-v5.0 for 2 epochs
45
+ - No model parameters were frozen and no quantization was used.
46
+ - This model was trained on OpenAI's ChatML prompt format. Because this model has function calling capabilities, the prompt format is slightly different, here's what it would look like: ```<|im_start|>system\n{message}<|im_end|>\n<|im_start|>user\n{user message}<|im_end|>\n<|im_start|>call\n{function call message}<|im_end|>\n<|im_start|>function\n{function response message}<|im_end|>\n<|im_start|>assistant\n{assistant message}</s>```
47
+
48
+ This model was fine-tuned using my TPU-Alignment repository. https://github.com/Locutusque/TPU-Alignment